Memcached::getMulti

(PECL memcached >= 0.1.0) Retrieve multiple items public mixed Memcached::getMulti ( array $keys [, array &$cas_tokens [, int $flags ]] ) Memcached::getMulti() is similar to Memcached::get(), but instead of a single key item, it retrieves multiple items the keys of which are specified in the keys array. If cas_tokens variable is provided, it is filled with the CAS token values for the found items. Note: Unlike Mem

PDF_open_image

(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0) Use image data [deprecated] int PDF_open_image ( resource $p, string $imagetype, string $source, string $data, int $length, int $width, int $height, int $components, int $bpc, string $params ) Uses image data from a variety of data sources. This function is deprecated since PDFlib version 5, use virtual files and PDF_load_image() instead.

Objects and references

Examples: References and Objects One of the key-points of PHP 5 OOP that is often mentioned is that "objects are passed by references by default". This is not completely true. This section rectifies that general thought using some examples. A PHP reference is an alias, which allows two different variables to write to the same value. As of PHP 5, an object variable doesn't contain the object itself as value anymore. It only contains an object identifier which allows o

Method Modifiers

Examples: protected method example: protected methods can only be executed by one Thread at a time. pthreads overrides the functionality of the protected and private method modifiers in order to provide functionality more suited to multi-threaded objects. pthreads applies this functionality to all Threaded objects from creation. <?php class ExampleThread extends Thread {     public function run() {         /* thread code */         if ($this->synchronized()) {

EventDnsBase::parseResolvConf

(PECL event >= 1.2.6-beta) Scans the resolv.conf-formatted file public bool EventDnsBase::parseResolvConf ( int $flags , string $filename ) Scans the resolv.conf-formatted file stored in filename, and read in all the options from it that are listed in flags Parameters: flags Determines what information is parsed from the resolv.conf file. See the man page for resolv.c

SolrQuery::getMltBoost

(PECL solr >= 0.9.2) Returns whether or not the query will be boosted by the interesting term relevance public bool SolrQuery::getMltBoost ( void ) Returns whether or not the query will be boosted by the interesting term relevance Returns: Returns a boolean on success and NULL if not set.

ReflectionClass::export

(PHP 5, PHP 7) Exports a class public static string ReflectionClass::export ( mixed $argument [, bool $return = false ] ) Exports a reflected class. Parameters: argument The reflection to export. return Setting to TRUE will return the export, as opposed to emitting it. Setting to FALSE (the default) will do the opposite.

Gmagick::embossimage

(PECL gmagick >= Unknown) Returns a grayscale image with a three-dimensional effect public Gmagick Gmagick::embossimage ( float $radius, float $sigma ) Returns a grayscale image with a three-dimensional effect. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and it will choose a suitable radius

APCIterator::getTotalCount

(PECL apc >= 3.1.1) Get total count public int APCIterator::getTotalCount ( void ) Get the total count. Returns: The total count. This function is currently not documented; only its argument list is available. See also: APCIterator::getTotalHits() -

Imagick::getSamplingFactors

(PECL imagick 2.0.0) Gets the horizontal and vertical sampling factor array Imagick::getSamplingFactors ( void ) Gets the horizontal and vertical sampling factor. Returns: Returns an associative array with the horizontal and vertical sampling factors of the image. Exception: Throws ImagickException on error.