Imagick::shearImage

(PECL imagick 2.0.0) Creating a parallelogram bool Imagick::shearImage ( mixed $background, float $x_shear, float $y_shear ) Slides one edge of an image along the X or Y axis, creating a parallelogram. An X direction shear slides an edge along the X axis, while a Y direction shear slides an edge along the Y axis. The amount of the shear is controlled by a shear angle. For X direction shears, x_shear is measured relative to t

trader_div

(PECL trader >= 0.2.0) Vector Arithmetic Div array trader_div ( array $real0, array $real1 ) Divides each value from real0 by the corresponding value from real1 and returns the resulting array. Parameters: real0 Array of real values. real1 Array of real values. Returns: Returns an array with calculated data o

gupnp_service_action_return_error

(PECL gupnp >= 0.1.0) Return error code bool gupnp_service_action_return_error ( resource $action, int $error_code [, string $error_description ] ) Return error code. Parameters: action A service action identifier. error_code The error code. Signal can be one of the following values or user defined: error_descr

SolrDocument::fieldExists

(PECL solr >= 0.9.2) Checks if a field exists in the document public bool SolrDocument::fieldExists ( string $fieldName ) Checks if the requested field as a valid fieldname in the document. Parameters: fieldName The name of the field. Returns: Returns TRUE if the field is present and FALSE if it does not.

XMLReader::moveToFirstAttribute

(PHP 5 >= 5.1.0, PHP 7) Position cursor on the first Attribute public bool XMLReader::moveToFirstAttribute ( void ) Moves cursor to the first Attribute. Returns: Returns TRUE on success or FALSE on failure. See also: XMLReader::moveToElement() - XMLReader::moveToAttribute() -

RegexIterator::getMode

(PHP 5 >= 5.2.0, PHP 7) Returns operation mode. public int RegexIterator::getMode ( void ) Returns the operation mode, see RegexIterator::setMode() for the list of operation modes. Returns: Returns the operation mode. Examples: RegexIterator::getMode() example <?php $test = array ('str1' => 'test 1', 'teststr2' 

preg_split

(PHP 4, PHP 5, PHP 7) Split string by a regular expression array preg_split ( string $pattern, string $subject [, int $limit = -1 [, int $flags = 0 ]] ) Split the given string by a regular expression. Parameters: pattern The pattern to search for, as a string. subject The input string. limit If spec

TokyoTyrantTable::put

(PECL tokyo_tyrant >= 0.1.0) Store a row public int TokyoTyrantTable::put ( string $key, array $columns ) Puts a new row into the database. This method parameters are key which is the primary key of the row, passing NULL will generate a new unique id. value is an array containing the row contents which is usually key value pairs. Parameters: key The primary key of the

deg2rad

(PHP 4, PHP 5, PHP 7) Converts the number in degrees to the radian equivalent float deg2rad ( float $number ) This function converts number from degrees to the radian equivalent. Parameters: number Angular value in degrees Returns: The radian equivalent of number Examples: deg2rad()

SessionHandler::write

(PHP 5 >= 5.4.0, PHP 7) Write session data public bool SessionHandler::write ( string $session_id, string $session_data ) Writes the session data to the session storage. Called by normal PHP shutdown, by session_write_close(), or when session_register_shutdown() fails. PHP will call SessionHandler::close() immediately after this method returns. This method wraps the internal PHP save handler defined in the session.save_