streamWrapper::stream_truncate

(PHP 5 >= 5.4.0, PHP 7) Truncate stream public bool streamWrapper::stream_truncate ( int $new_size ) Will respond to truncation, e.g., through ftruncate(). Parameters: new_size The new size. Returns: Returns TRUE on success or FALSE on failure. See also: ftr

eio_open

(PECL eio >= 0.0.1dev) Opens a file resource eio_open ( string $path, int $flags, int $mode, int $pri, callable $callback [, mixed $data = NULL ] ) eio_open() opens file specified by path in access mode mode with Parameters: path Path of the file to be opened. Warning In some SAPIs(e.g. PHP-FPM) it could fail, if you don't specify full path.

array_filter

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Filters elements of an array using a callback function array array_filter ( array $array [, callable $callback [, int $flag = 0 ]] ) Iterates over each value in the array passing them to the callback function. If the callback function returns true, the current value from array is returned into the result array. Array keys are preserved. Parameters: a

EventBufferEvent::sslGetCipherInfo

(PECL event >= 1.10.0) Returns a textual description of the cipher. public string EventBufferEvent::sslGetCipherInfo ( void ) Retrieves description of the current cipher by means of the SSL_CIPHER_description SSL API function (see SSL_CIPHER_get_name(3) man page). Note: This function is available only if Event is compiled with OpenSSL support. Returns: Returns a textual description of the

XMLReader::open

(PHP 5 >= 5.1.0, PHP 7) Set the URI containing the XML to parse public bool XMLReader::open ( string $URI [, string $encoding [, int $options = 0 ]] ) Set the URI containing the XML document to be parsed. Parameters: URI URI pointing to the document. encoding The document encoding or NULL. options

DOMDocument::saveHTMLFile

(PHP 5, PHP 7) Dumps the internal document into a file using HTML formatting public int DOMDocument::saveHTMLFile ( string $filename ) Creates an HTML document from the DOM representation. This function is usually called after building a new dom document from scratch as in the example below. Parameters: filename The path to the saved HTML document. R

ReflectionZendExtension::getName

(PHP >= 5.4.0) Gets name public string ReflectionZendExtension::getName ( void ) Returns: This function is currently not documented; only its argument list is available.

trader_atan

(PECL trader >= 0.2.0) Vector Trigonometric ATan array trader_atan ( array $real ) Calculates the arc tangent for each value in real and returns the resulting array. Parameters: real Array of real values. Returns: Returns an array with calculated data or false on failure.

Class Abstraction

Examples: Abstract class example PHP 5 introduces abstract classes and methods. Classes defined as abstract may not be instantiated, and any class that contains at least one abstract method must also be abstract. Methods defined as abstract simply declare the method's signature - they cannot define the implementation. When inheriting from an abstract class, all methods marked abstract in the parent's class declaration must be defined by the child; additionally, these

Ev::verify

(PECL ev >= 0.2.0) Performs internal consistency checks(for debugging) final public static void Ev::verify ( void ) Performs internal consistency checks(for debugging libev ) and abort the program if any data structures were found to be corrupted. Returns: No value is returned.