Imagick::trimImage

(PECL imagick 2.0.0) Remove edges from the image bool Imagick::trimImage ( float $fuzz ) Remove edges that are the background color from the image. This method is available if Imagick has been compiled against ImageMagick version 6.2.9 or newer. Parameters: fuzz By default target must match a particular pixel color exactly. However, in many cases two colors may differ by

imap_reopen

(PHP 4, PHP 5, PHP 7) Reopen IMAP stream to new mailbox bool imap_reopen ( resource $imap_stream, string $mailbox [, int $options = 0 [, int $n_retries = 0 ]] ) Reopens the specified stream to a new mailbox on an IMAP or NNTP server. Parameters: imap_stream An IMAP stream returned by imap_open(). mailbox The mailbox name, see imap_open(

NumberFormatter::setAttribute

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Set an attribute public bool NumberFormatter::setAttribute ( int $attr, int $value ) Object oriented style Procedural style bool numfmt_set_attribute ( NumberFormatter $fmt , int $attr , int $value ) Set a numeric attribute associated with the formatter. An example of a numeric attribute is the number of integer digits the formatter will produce. Paramet

TokyoTyrant::tune

(PECL tokyo_tyrant >= 0.2.0) Tunes connection values public TokyoTyrant TokyoTyrant::tune ( float $timeout [, int $options = TokyoTyrant::RDBT_RECON ] ) Tunes database connection options. Parameters: timeout The objects timeout value (default: 5.0) options Bitmask of options to tune. This can be either 0 or TokyoTyrant::RDBT_RECON.

EventBase::priorityInit

(PECL event >= 1.2.6-beta) Sets number of priorities per event base public bool EventBase::priorityInit ( int $n_priorities ) Sets number of priorities per event base. Parameters: n_priorities The number of priorities per event base. Returns: Returns TRUE on success, otherwise FALSE.

Context parameters

Context parameter listing These parameters can be set on a context using the stream_context_set_params() function.

SimpleXMLIterator::current

(PHP 5 >= 5.1.0, PHP 7) Returns the current element public mixed SimpleXMLIterator::current ( void ) This method returns the current element as a SimpleXMLIterator object or NULL. Returns: Returns the current element as a SimpleXMLIterator object or NULL on failure. Examples: Return the current element <?php $xmlIte

DOMNode::cloneNode

(PHP 5, PHP 7) Clones a node public DOMNode DOMNode::cloneNode ([ bool $deep ] ) Creates a copy of the node. Parameters: deep Indicates whether to copy all descendant nodes. This parameter is defaulted to FALSE. Returns: The cloned node.

cyrus_query

(PHP 4 >= 4.1.0, PECL cyrus 1.0) Send a query to a Cyrus IMAP server array cyrus_query ( resource $connection, string $query ) Sends a query to a Cyrus IMAP server. Parameters: connection The connection handle. query The query string. Returns: Returns an associative array with the following keys: text, msgno

utf8_encode

(PHP 4, PHP 5, PHP 7) Encodes an ISO-8859-1 string to UTF-8 string utf8_encode ( string $data ) This function encodes the string data to UTF-8, and returns the encoded version. UTF-8 is a standard mechanism used by Unicode for encoding wide character values into a byte stream. UTF-8 is transparent to plain ASCII characters, is self-synchronized (meaning it is possible for a program to figure out where in the bytestream chara