Imagick::getImageDistortion

(PECL imagick 2.0.0) Compares an image to a reconstructed image float Imagick::getImageDistortion ( MagickWand $reference, int $metric ) Compares an image to a reconstructed image and returns the specified distortion metric. Parameters: reference Imagick object to compare to. metric One of the metric type constants.

Gmagick::readimageblob

(PECL gmagick >= Unknown) Reads image from a binary string public void Gmagick::readimageblob ( string $imageContents [, string $filename ] ) Reads image from a binary string. Parameters: imageContents Content of image filename The image filename. Returns: The Gmagick object on success

setrawcookie

(PHP 5, PHP 7) Send a cookie without urlencoding the cookie value bool setrawcookie ( string $name [, string $value [, int $expire = 0 [, string $path [, string $domain [, bool $secure = false [, bool $httponly = false ]]]]]] ) setrawcookie() is exactly the same as setcookie() except that the cookie value will not be automatically urlencoded when sent to the browser. Returns: Returns TRUE on su

class_alias

(PHP 5 >= 5.3.0, PHP 7) Creates an alias for a class bool class_alias ( string $original, string $alias [, bool $autoload = TRUE ] ) Creates an alias named alias based on the user defined class original. The aliased class is exactly the same as the original class. Parameters: original The original class. alias The alias name for the

ImagickDraw::pathMoveToAbsolute

(PECL imagick 2.0.0) Starts a new sub-path bool ImagickDraw::pathMoveToAbsolute ( float $x, float $y ) Starts a new sub-path at the given coordinate using absolute coordinates. The current point then becomes the specified coordinate. Parameters: x x coordinate of the starting point y y coordinate of the starting point

is_bool

(PHP 4, PHP 5, PHP 7) Finds out whether a variable is a boolean bool is_bool ( mixed $var ) Finds whether the given variable is a boolean. Parameters: var The variable being evaluated. Returns: Returns TRUE if var is a boolean, FALSE otherwise. Examples: is_bool() examples

Yar_Server::__construct

(PECL yar >= 1.0.0) Register a server final public Yar_Server::__construct ( Object $obj ) Set up a Yar HTTP RPC Server, All the public methods of $obj will be register as a RPC service. Parameters: obj An Object, all public methods of its will be registered as RPC services. Returns: An instance of Yar_Server.

maxdb_multi_query

(PECL maxdb >= 1.0) Performs a query on the database bool maxdb_multi_query ( resource $link, string $query ) Procedural style Object oriented style bool maxdb::multi_query ( string $query ) The maxdb_multi_query() works like the function maxdb_query(). Multiple queries are not yet supported. Returns: Returns TRUE on success or FALSE on failure.

DirectoryIterator::key

(PHP 5, PHP 7) Return the key for the current DirectoryIterator item public string DirectoryIterator::key ( void ) Get the key for the current DirectoryIterator item. Returns: The key for the current DirectoryIterator item. Examples: A DirectoryIterator::key() example <?php $dir = new DirectoryIterator(dirname(__FILE__

SVM::train

(PECL svm >= 0.1.0) Create a SVMModel based on training data public SVMModel svm::train ( array $problem [, array $weights ] ) Train a support vector machine based on the supplied training data. Parameters: problem The problem can be provided in three different ways. An array, where the data should start with the class label (usually 1 or -1) then followed by a sparse