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

ncurses_mvaddch

(PHP 4 >= 4.2.0, PHP 5 < 5.3.0, PECL ncurses >= 1.0.0) Move current position and add character int ncurses_mvaddch ( int $y, int $x, int $c ) Parameters: y x c This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding docume

sybase_num_fields

(PHP 4, PHP 5, PHP 7) Gets the number of fields in a result set int sybase_num_fields ( resource $result ) sybase_num_fields() returns the number of fields in a result set. Parameters: result sybase_num_fields() returns the number of fields in a result set. Returns: Returns the number of fields as an integer.

DateTimeImmutable::add

(PHP 5 >= 5.5.0, PHP 7) Adds an amount of days, months, years, hours, minutes and seconds public DateTimeImmutable DateTimeImmutable::add ( DateInterval $interval ) Like DateTime::add() but works with DateTimeImmutable.

Gmagick::chopimage

(PECL gmagick >= Unknown) Removes a region of an image and trims public Gmagick Gmagick::chopimage ( int $width, int $height, int $x, int $y ) Removes a region of an image and collapses the image to occupy the removed portion. Parameters: width Width of the chopped area height Height of the chopped area x

mysqli::$sqlstate

(PHP 5, PHP 7) Returns the SQLSTATE error from previous MySQL operation string mysqli_sqlstate ( mysqli $link ) Object oriented style string $mysqli->sqlstate; Procedural style Returns a string containing the SQLSTATE error code for the last error. The error code consists of five characters. '00000' means no error. The values are specified by ANSI SQL and ODBC. For a list of possible values, see » http://dev.mysql.com/do