MessageFormatter::parseMessage

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Quick parse input string public static array MessageFormatter::parseMessage ( string $locale, string $pattern, string $source ) Object oriented style Procedural style array msgfmt_parse_message ( string $locale , string $pattern , string $value ) Parses input string without explicitly creating the formatter object. Use this function when the format operation is done only

ssh2_sftp_rmdir

(PECL ssh2 >= 0.9.0) Remove a directory bool ssh2_sftp_rmdir ( resource $sftp, string $dirname ) Removes a directory from the remote file server. This function is similar to using rmdir() with the ssh2.sftp:// wrapper. Parameters: sftp An SSH2 SFTP resource opened by ssh2_sftp(). dirname An SSH2 SFTP resource opened by ssh2_sftp().

HaruDoc::setPageMode

(PECL haru >= 0.0.1) Set how the document should be displayed bool HaruDoc::setPageMode ( int $mode ) Defines how the document should be displayed. Parameters: mode The following values are accepted: HaruDoc::PAGE_MODE_USE_NONE - display the document with neither outline nor thumbnail. HaruDoc::PAGE_MODE_USE_OUTLINE - display the document with outline pane. HaruD

gupnp_context_new

(PECL gupnp >= 0.1.0) Create a new context resource gupnp_context_new ([ string $host_ip [, int $port = 0 ]] ) Create a new context with the specified host_ip and port. Parameters: host_ip The local host's IP address, or NULL to use the IP address of the first non-loopback network interface. port Port to run on, or 0 if you don't ca

Phar::apiVersion

(PHP >= 5.3.0, PECL phar >= 1.0.0) Returns the api version final public static string Phar::apiVersion ( void ) Return the API version of the phar file format that will be used when creating phars. The Phar extension supports reading API version 1.0.0 or newer. API version 1.1.0 is required for SHA-256 and SHA-512 hash, and API version 1.1.1 is required to store empty directories. Returns: T

libxml_get_errors

(PHP 5 >= 5.1.0, PHP 7) Retrieve array of errors array libxml_get_errors ( void ) Retrieve array of errors. Returns: Returns an array with LibXMLError objects if there are any errors in the buffer, or an empty array otherwise. Examples: A libxml_get_errors() example This example demonstrates how to build a simple libx

Threaded::isRunning

(PECL pthreads >= 2.0.0) State Detection public boolean Threaded::isRunning ( void ) Tell if the referenced object is executing Returns: A boolean indication of state Note: A object is considered running while executing the run method Examples: Detect the state of the referenced object <?php class My extends Th

fclose

(PHP 4, PHP 5, PHP 7) Closes an open file pointer bool fclose ( resource $handle ) The file pointed to by handle is closed. Parameters: handle The file pointer must be valid, and must point to a file successfully opened by fopen() or fsockopen(). Returns: Returns TRUE on success or FALSE on failure.

DOMCdataSection::__construct

(PHP 5, PHP 7) Constructs a new DOMCdataSection object public DOMCdataSection::__construct ( string $value ) Constructs a new CDATA node. This works like the DOMText class. Parameters: value The value of the CDATA node. If not supplied, an empty CDATA node is created. Examples: Creating a new DOMCdataSection object

DOMDocument::save

(PHP 5, PHP 7) Dumps the internal XML tree back into a file public int DOMDocument::save ( string $filename [, int $options ] ) Creates an XML 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 XML document. options