Imagick::getImageGreenPrimary

(PECL imagick 2.0.0) Returns the chromaticy green primary point array Imagick::getImageGreenPrimary ( void ) Returns the chromaticity green primary point. Returns an array with the keys "x" and "y". Returns: Returns an array with the keys "x" and "y" on success, throws an ImagickException on failure. Exception: Throws ImagickException on error.

trigger_error

(PHP 4 >= 4.0.1, PHP 5, PHP 7) Generates a user-level error/warning/notice message bool trigger_error ( string $error_msg [, int $error_type = E_USER_NOTICE ] ) Used to trigger a user error condition, it can be used in conjunction with the built-in error handler, or with a user defined function that has been set as the new error handler (set_error_handler()). This function is useful when you need to generate a particul

NumberFormatter::parseCurrency

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Parse a currency number public float NumberFormatter::parseCurrency ( string $value, string &$currency [, int &$position ] ) Object oriented style Procedural style float numfmt_parse_currency ( NumberFormatter $fmt , string $value , string &$currency [, int &$position ] ) Parse a string into a double and a currency using the current formatter.

Event::addSignal

(PECL event >= 1.2.6-beta) Makes signal event pending public bool Event::addSignal ([ double $timeout ] ) Event::addSignal() is an alias of Event::add() Examples: Event::addSignal() example <?php /* Launch it in a terminal window: $ php examples/signal.php In another terminal window find out the pid and send SIGTERM, e.g.: $ ps a

Locale::getDefault

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Gets the default locale value from the INTL global 'default_locale' public static string Locale::getDefault ( void ) Object oriented style Procedural style string locale_get_default ( void ) Gets the default locale value. At the PHP initialization this value is set to 'intl.default_locale' value from php.ini if that value exists or from ICU's function uloc_getDefault().

pg_tty

(PHP 4, PHP 5, PHP 7) Return the TTY name associated with the connection string pg_tty ([ resource $connection ] ) pg_tty() returns the TTY name that server side debugging output is sent to on the given PostgreSQL connection resource. Note: pg_tty() is obsolete, since the server no longer pays attention to the TTY setting, but the function remains for backwards compatibility. Parameters:

MongoDB::getDBRef

(PECL mongo >=0.9.0) Fetches the document pointed to by a database reference public array MongoDB::getDBRef ( array $ref ) Parameters: ref A database reference. Returns: Returns the document pointed to by the reference. Examples: MongoDB::getDBRef() example Example demon

ifx_nullformat

(PHP 4, PHP <=5.2.0) Sets the default return value on a fetch row bool ifx_nullformat ( int $mode ) Sets the default return value of a NULL-value on a fetch row. Parameters: mode Mode "0" returns "", and mode "1" returns "NULL". Returns: Returns TRUE on success or FALSE on failure.

db2_conn_errormsg

(PECL ibm_db2 >= 1.0.0) Returns the last connection error message and SQLCODE value string db2_conn_errormsg ([ resource $connection ] ) db2_conn_errormsg() returns an error message and SQLCODE value representing the reason the last database connection attempt failed. As db2_connect() returns FALSE in the event of a failed connection attempt, do not pass any parameters to db2_conn_errormsg() to retrieve the associated e

sybase_num_rows

(PHP 4, PHP 5, PHP 7) Get number of rows in a result set int sybase_num_rows ( resource $result ) sybase_num_rows() returns the number of rows in a result set. Parameters: result sybase_num_rows() returns the number of rows in a result set. Returns: Returns the number of rows as an integer.