OCI-Collection::free

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) Frees the resources associated with the collection object bool OCI-Collection::free ( void ) Frees the resources associated with the collection object. Returns: Returns TRUE on success or FALSE on failure. See also: oci_new_collection -

geoip_db_avail

(PECL geoip >= 1.0.1) Determine if GeoIP Database is available bool geoip_db_avail ( int $database ) The geoip_db_avail() function returns if the corresponding GeoIP Database is available and can be opened on disk. It does not indicate if the file is a proper database, only if it is readable. Parameters: database The database type as an integer. You can use the vario

Namespaces and dynamic language features

(PHP 5 >= 5.3.0, PHP 7) Examples: Dynamically accessing elements PHP's implementation of namespaces is influenced by its dynamic nature as a programming language. Thus, to convert code like the following example into namespaced code: example1.php: <?php class classname {     function __construct()     {         echo __METHOD__,"\n";     } } function funcname() {     echo __FUNCTIO

XMLReader::moveToAttribute

(PHP 5 >= 5.1.0, PHP 7) Move cursor to a named attribute public bool XMLReader::moveToAttribute ( string $name ) Positions cursor on the named attribute. Parameters: name The name of the attribute. Returns: Returns TRUE on success or FALSE on failure. See also:

pg_num_rows

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Returns the number of rows in a result int pg_num_rows ( resource $result ) pg_num_rows() will return the number of rows in a PostgreSQL result resource. Note: This function used to be called pg_numrows(). Parameters: result PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).

ZipArchive::unchangeAll

(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.1.0) Undo all changes done in the archive bool ZipArchive::unchangeAll ( void ) Undo all changes done in the archive. Returns: Returns TRUE on success or FALSE on failure.

SplObjectStorage::getInfo

(PHP 5 >= 5.3.0, PHP 7) Returns the data associated with the current iterator entry public mixed SplObjectStorage::getInfo ( void ) Returns the data, or info, associated with the object pointed by the current iterator position. Returns: The data associated with the current iterator position. Examples: SplObjectStorage::getInfo() exa

EvIo::set

(PECL ev >= 0.2.0) Configures the watcher public void EvIo::set ( mixed $fd , int $events ) Configures the EvIo watcher Parameters: fd The same as for EvIo::__construct() events The same as for EvIo::__construct() Returns: No value is returned.

pspell_save_wordlist

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Save the personal wordlist to a file bool pspell_save_wordlist ( int $dictionary_link ) pspell_save_wordlist() saves the personal wordlist from the current session. The location of files to be saved specified with pspell_config_personal() and (optionally) pspell_config_repl(). Parameters: dictionary_link A dictionary link identifier opene

time_sleep_until

(PHP 5 >= 5.1.0, PHP 7) Make the script sleep until the specified time bool time_sleep_until ( float $timestamp ) Makes the script sleep until the specified timestamp. Parameters: timestamp The timestamp when the script should wake. Returns: Returns TRUE on success or FALSE on failure. Exception: If the spec