SyncSemaphore::unlock

(PECL sync >= 1.0.0) Increases the count of the semaphore public bool SyncSemaphore::unlock ([ integer &$prevcount ] ) Increases the count of a SyncSemaphore object. Parameters: prevcount Returns the previous count of the semaphore. Returns: A boolean of TRUE if the unlock operation was successful, FALSE otherwise.

ReflectionFunctionAbstract::isDeprecated

(PHP 5, PHP 7) Checks if deprecated public bool ReflectionFunctionAbstract::isDeprecated ( void ) Checks whether the function is deprecated. Returns: TRUE if it's deprecated, otherwise FALSE Examples: ReflectionFunctionAbstract::isDeprecated() example <?php $rf = new ReflectionFunction('ereg'); var_dump($rf->isDepre

readline_add_history

(PHP 4, PHP 5, PHP 7) Adds a line to the history bool readline_add_history ( string $line ) This function adds a line to the command line history. Parameters: line The line to be added in the history. Returns: Returns TRUE on success or FALSE on failure.

SplFixedArray::toArray

(PHP 5 >= 5.3.0, PHP 7) Returns a PHP array from the fixed array public array SplFixedArray::toArray ( void ) Returns a PHP array from the fixed array. Returns: Returns a PHP array, similar to the fixed array. Examples: SplFixedArray::toArray() example <?php $fa = new SplFixedArray(3); $fa[0] = 0; $fa[2] = 2; var_du

sem_release

(PHP 4, PHP 5, PHP 7) Release a semaphore bool sem_release ( resource $sem_identifier ) sem_release() releases the semaphore if it is currently acquired by the calling process, otherwise a warning is generated. After releasing the semaphore, sem_acquire() may be called to re-acquire it. Parameters: sem_identifier A Semaphore resource handle as returned by sem_get().

IntlCalendar::setFirstDayOfWeek

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Set the day on which the week is deemed to start public bool IntlCalendar::setFirstDayOfWeek ( int $dayOfWeek ) Object oriented style Procedural style bool intlcal_set_first_day_of_week ( IntlCalendar $cal , int $dayOfWeek ) Defines the day of week deemed to start the week. This affects the behavior of fields that depend on the concept of week start and end such as IntlCalendar::FI

PDO::errorCode

(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0) Fetch the SQLSTATE associated with the last operation on the database handle public mixed PDO::errorCode ( void ) Returns: Returns an SQLSTATE, a five characters alphanumeric identifier defined in the ANSI SQL-92 standard. Briefly, an SQLSTATE consists of a two characters class value followed by a three characters subclass value. A class value of 01

fbsql_read_blob

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Read a BLOB from the database string fbsql_read_blob ( string $blob_handle [, resource $link_identifier ] ) Reads BLOB data from the database. If a select statement contains BLOB and/or CLOB columns FrontBase will return the data directly when data is fetched. This default behavior can be changed with fbsql_set_lob_mode() so the fetch functions will return handles to BLOB and CLOB data. If

mysqli::get_client_info

(PHP 5, PHP 7) Get MySQL client info string mysqli::get_client_info ( void ) Object oriented style Procedural style string mysqli_get_client_info ( mysqli $link ) Returns a string that represents the MySQL client library version. Returns: A string that represents the MySQL client library version Examples: mysqli_get_client_info

finfo_file

(PHP >= 5.3.0, PECL fileinfo >= 0.1.0) Return information about a file string finfo_file ( resource $finfo, string $file_name = NULL [, int $options = FILEINFO_NONE [, resource $context = NULL ]] ) Procedural style Object oriented style public string finfo::file ( string $file_name = NULL [, int $options = FILEINFO_NONE [, resource $context = NULL ]] ) This function is used to get information about a file.