MongoDB::getReadPreference

(PECL mongo >=1.3.0) Get the read preference for this database public array MongoDB::getReadPreference ( void ) Returns: This function returns an array describing the read preference. The array contains the values type for the string read preference mode (corresponding to the MongoClient constants), and tagsets containing a list of all tag set criteria. If no tag sets were specified, tagsets will

DateTime::__wakeup

(PHP 5 >= 5.2.0, PHP 7) The __wakeup handler public DateTime::__wakeup ( void ) public DateTimeImmutable::__wakeup ( void ) public DateTimeInterface::__wakeup ( void ) The __wakeup() handler. Returns: Initializes a DateTime object.

trader_cdllongline

(PECL trader >= 0.2.0) Long Line Candle array trader_cdllongline ( array $open, array $high, array $low, array $close ) Parameters: open Opening price, array of real values. high High price, array of real values. low Low price, array of real values. close Closing p

SolrQuery::addStatsField

(PECL solr >= 0.9.2) Maps to stats.field parameter public SolrQuery SolrQuery::addStatsField ( string $field ) Maps to stats.field parameter This methods adds another stats.field parameter. Parameters: field The name of the field Returns: Returns the current SolrQuery object, if the return value is used.

SphinxClient::buildExcerpts

(PECL sphinx >= 0.1.0) Build text snippets public array SphinxClient::buildExcerpts ( array $docs, string $index, string $words [, array $opts ] ) Connects to searchd, requests it to generate excerpts (snippets) from the given documents, and returns the results. Parameters: docs Array of strings with documents' contents. index Index

cubrid_lock_read

(PECL CUBRID >= 8.3.0) Set a read lock on the given OID bool cubrid_lock_read ( resource $conn_identifier, string $oid ) The cubrid_lock_read() function is used to put read lock on the instance pointed by given oid. Parameters: conn_identifier Connection identifier. oid OID of the instance that you want to put read lock on.

gzseek

(PHP 4, PHP 5, PHP 7) Seek on a gz-file pointer int gzseek ( resource $zp, int $offset [, int $whence = SEEK_SET ] ) Sets the file position indicator for the given file pointer to the given offset byte into the file stream. Equivalent to calling (in C) gzseek(zp, offset, SEEK_SET). If the file is opened for reading, this function is emulated but can be extremely slow. If the file is opened for writing, only forward seeks

Imagick::resizeImage

(PECL imagick 2.0.0) Scales an image bool Imagick::resizeImage ( int $columns, int $rows, int $filter, float $blur [, bool $bestfit = false ] ) Scales an image to the desired dimensions with a filter. Note: The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled

TokyoTyrantQuery::out

(PECL tokyo_tyrant >= 0.1.0) Removes records based on query public TokyoTyrantQuery TokyoTyrantQuery::out ( void ) Removes all records that match the query. Works exactly like search but removes the records instead of returning them. Returns: This method returns the current object and throws TokyoTyrantException on failure. Examples:

dio_open

(PHP 4 >= 4.2.0, PHP 5 <= 5.0.5, PHP 7) Opens a file (creating it if necessary) at a lower level than the C library input/ouput stream functions allow. resource dio_open ( string $filename, int $flags [, int $mode = 0 ] ) dio_open() opens a file and returns a new file descriptor for it. Parameters: filename The pathname of the file to open.