hash_update_stream

(PHP 5 >= 5.1.2, PHP 7, PECL hash >= 1.1) Pump data into an active hashing context from an open stream int hash_update_stream ( resource $context, resource $handle [, int $length = -1 ] ) Parameters: context Hashing context returned by hash_init(). handle Open file handle as returned by any stream creation function.

Memcached::getVersion

(PECL memcached >= 0.1.5) Get server pool version info public array Memcached::getVersion ( void ) Memcached::getVersion() returns an array containing the version info for all available memcache servers. Returns: Array of server versions, one entry per server. Examples: Memcached::getVersion() example <?php $m = new

RarEntry::__toString

(PECL rar >= 2.0.0) Get text representation of entry public string RarEntry::__toString ( void ) RarEntry::__toString() returns a textual representation for this entry. It includes whether the entry is a file or a directory (symbolic links and other special objects will be treated as files), the UTF-8 name of the entry and its CRC. The form and content of this representation may be changed in the future, so they cannot be

random_bytes

(PHP 7) Generates cryptographically secure pseudo-random bytes string random_bytes ( int $length ) Generates an arbitrary length string of cryptographic random bytes that are suitable for cryptographic use, such as when generating salts, keys or initialization vectors. The sources of randomness used for this function are as follows: On Windows, » CryptGenRandom() will always be used. On Linux, the » getrandom(2) sys

ImagickDraw::setTextAntialias

(PECL imagick 2.0.0) Controls whether text is antialiased bool ImagickDraw::setTextAntialias ( bool $antiAlias ) Controls whether text is antialiased. Text is antialiased by default. Parameters: antiAlias Controls whether text is antialiased. Text is antialiased by default. Returns: No value is returned. This

SyncEvent::reset

(PECL sync >= 1.0.0) Resets a manual event public bool SyncEvent::reset ( void ) Resets a SyncEvent object that has been fired/set. Only valid for manual event objects. Returns: A boolean value of TRUE if the object was successfully reset, FALSE otherwise. Examples: SyncEvent::reset() example <?php // In a web appli

SDO_DAS_DataFactory::addPropertyToType

(^) Adds a property to a type void SDO_DAS_DataFactory::addPropertyToType ( string $parent_type_namespace_uri, string $parent_type_name, string $property_name, string $type_namespace_uri, string $type_name [, array $options ] ) Adds a property to a type. The type must already be known to the SDO_DAS_DataFactory (i.e. have been added using addType()). The property becomes a property of the type. This is how the graph model

SphinxClient::setFieldWeights

(PECL sphinx >= 0.1.0) Set field weights public bool SphinxClient::setFieldWeights ( array $weights ) Binds per-field weights by name. Match ranking can be affected by per-field weights. See » Sphinx documentation for an explanation on how phrase proximity ranking is affected. This call lets you specify non-default weights for full-text fields. The weights must be positive 32-bit integers, so be careful not to hit 32-

TokyoTyrant::restore

(PECL tokyo_tyrant >= 0.1.0) Restore the database public mixed TokyoTyrant::restore ( string $log_dir, int $timestamp [, bool $check_consistency = true ] ) Restore the database from the update log. Parameters: log_dir Directory where the log is timestamp Beginning timestamp with microseconds check_consistency

SplFileInfo::getMTime

(PHP 5 >= 5.1.2, PHP 7) Gets the last modified time public int SplFileInfo::getMTime ( void ) Returns the time when the contents of the file were changed. The time returned is a Unix timestamp. Returns: Returns the last modified time for the file, in a Unix timestamp. See also: filemtime() -