SAMConnection::rollback

(PECL sam >= 0.1.0) Cancels (rolls back) an in-flight unit of work. bool SAMConnection::rollback ( void ) Rolls back an in-flight unit of work. Returns: This method returns FALSE if an error occurs. Examples: Cancelling an in-flight unit of work <?php if (!$conn->rollback()) {   // The rollback failed!   echo "

ReflectionParameter::getDefaultValue

(PHP 5 >= 5.0.3, PHP 7) Gets default parameter value public mixed ReflectionParameter::getDefaultValue ( void ) Gets the default value of the parameter for a user-defined function or method. If the parameter is not optional a ReflectionException will be thrown. Returns: The parameters default value. Notes: Due to implementation details, it

Gmagick::quantizeimage

(PECL gmagick >= Unknown) Analyzes the colors within a reference image public void Gmagick::quantizeimage ( int $numColors, int $colorspace, int $treeDepth, bool $dither, bool $measureError ) Analyzes the colors within a reference image and chooses a fixed number of colors to represent the image. The goal of the algorithm is to minimize the color difference between the input and output image while minimizing the processi

openssl_x509_checkpurpose

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Verifies if a certificate can be used for a particular purpose int openssl_x509_checkpurpose ( mixed $x509cert, int $purpose [, array $cainfo = array() [, string $untrustedfile ]] ) openssl_x509_checkpurpose() examines a certificate to see if it can be used for the specified purpose. Parameters: x509cert The examined certificate.

PDOStatement::errorInfo

(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0) Fetch extended error information associated with the last operation on the statement handle public array PDOStatement::errorInfo ( void ) Returns: PDOStatement::errorInfo() returns an array of error information about the last operation performed by this statement handle. The array consists of the following fields: Element Information 0 SQLSTATE err

Gmagick::modulateimage

(PECL gmagick >= Unknown) Control the brightness, saturation, and hue public void Gmagick::modulateimage ( float $brightness, float $saturation, float $hue ) Lets you control the brightness, saturation, and hue of an image. Hue is the percentage of absolute rotation from the current position. For example 50 results in a counter-clockwise rotation of 90 degrees, 150 results in a clockwise rotation of 90 degrees, with 0 an

Threaded::isTerminated

(PECL pthreads >= 2.0.0) State Detection public boolean Threaded::isTerminated ( void ) Tell if the referenced object was terminated during execution; suffered fatal errors, or threw uncaught exceptions Returns: A boolean indication of state Examples: Detect the state of the referenced object <?php class My extends 

Imagick::getImageSignature

(PECL imagick 2.0.0) Generates an SHA-256 message digest string Imagick::getImageSignature ( void ) Generates an SHA-256 message digest for the image pixel stream. Returns: Returns a string containing the SHA-256 hash of the file. Exception: Throws ImagickException on error.

is_link

(PHP 4, PHP 5, PHP 7) Tells whether the filename is a symbolic link bool is_link ( string $filename ) Tells whether the given file is a symbolic link. Parameters: filename Path to the file. Returns: Returns TRUE if the filename exists and is a symbolic link, FALSE otherwise. Exception: Upon failure, an E_WARNING

Imagick::getPackageName

(PECL imagick 2.0.0) Returns the ImageMagick package name string Imagick::getPackageName ( void ) Returns the ImageMagick package name. Returns: Returns the ImageMagick package name as a string. Exception: Throws ImagickException on error.