Memcached::quit

(PECL memcached >= 2.0.0) Close any open connections public bool Memcached::quit ( void ) Memcached::quit() closes any open connections to the memcache servers. Returns: Returns TRUE on success or FALSE on failure.

m_initengine

(PHP 4 >= 4.3.9, PHP 5 <= 5.0.5, PECL mcve >= 1.0.0) Ready the client for IP/SSL Communication int m_initengine ( string $location ) Parameters: location Returns: This function is currently not documented; only its argument list is available.

RRDGraph::__construct

(PECL rrd >= 0.9.0) Creates new RRDGraph instance public RRDGraph::__construct ( string $path ) Creates new RRDGraph instance. This instance is responsible for rendering the result of RRD database query into image. Parameters: path Full path for the newly created image. Returns: No value is returned.

trader_willr

(PECL trader >= 0.2.0) Williams' %R array trader_willr ( array $high, array $low, array $close [, integer $timePeriod ] ) Parameters: high High price, array of real values. low Low price, array of real values. close Closing price, array of real values. timePeriod N

Phar::convertToExecutable

(PHP >= 5.3.0, PECL phar >= 2.0.0) Convert a phar archive to another executable phar archive file format public Phar Phar::convertToExecutable ([ int $format = 9021976 [, int $compression = 9021976 [, string $extension ]]] ) Note: This method requires the php.ini setting phar.readonly to be set to 0 in order to work for Phar objects. Otherwise, a PharException will be thrown. This method is used to convert a phar

SphinxClient::setFilter

(PECL sphinx >= 0.1.0) Add new integer values set filter public bool SphinxClient::setFilter ( string $attribute, array $values [, bool $exclude = false ] ) Adds new integer values set filter to the existing list of filters. Parameters: attribute An attribute name. values Plain array of integer values. exclude

Yaf_Loader::isLocalName

(Yaf >=1.0.0) The isLocalName purpose public void Yaf_Loader::isLocalName ( void ) Returns: This function is currently not documented; only its argument list is available.

Pool::__construct

(PECL pthreads >= 2.0.0) Creates a new Pool of Workers public Pool Pool::__construct ( integer $size, string $class [, array $ctor ] ) Construct a new Pool of Workers Parameters: size The maximum number of Workers this Pool can create class The class for new Workers ctor An array of arguments to be

Generator syntax

Examples: A simple example of yielding values The heart of a generator function is the yield keyword. In its simplest form, a yield statement looks much like a return statement, except that instead of stopping execution of the function and returning, yield instead provides a value to the code looping over the generator and pauses execution of the generator function. <?php function gen_one_to_three() {     for ($i = 1; $i <= 3; $i++) {         // Note that $i i

GearmanClient::error

(PECL gearman >= 0.5.0) Returns an error string for the last error encountered. public string GearmanClient::error ( void ) Returns an error string for the last error encountered. Returns: A human readable error string. See also: GearmanClient::getErrno() -