Imagick::sampleImage

(PECL imagick 2.0.0) Scales an image with pixel sampling bool Imagick::sampleImage ( int $columns, int $rows ) Scales an image to the desired dimensions with pixel sampling. Unlike other scaling methods, this method does not introduce any additional color into the scaled image. Parameters: columns Scales an image to the desired dimensions with pixel sampling. Unlike other

IntlCalendar::clear

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Clear a field or all fields public bool IntlCalendar::clear ([ int $field = NULL ] ) Object oriented style Procedural style bool intlcal_clear ( IntlCalendar $cal [, int $field = NULL ] ) Clears either all of the fields or a specific field. A cleared field is marked as unset, giving it the lowest priority against overlapping fields or even default values when calculating the time.

Phar::createDefaultStub

(Unknown) Create a phar-file format specific stub final public static string Phar::createDefaultStub ([ string $indexfile [, string $webindexfile ]] ) This method is intended for creation of phar-file format-specific stubs, and is not intended for use with tar- or zip-based phar archives. Phar archives contain a bootstrap loader, or stub written in PHP that is executed when the archive is executed in PHP either via include

MongoLog::getLevel

(PECL mongo >= 1.2.3) Gets the level(s) currently being logged public static int MongoLog::getLevel ( void ) This function can be used to see which log levels are currently enabled. The returned integer may be compared with the MongoLog level constants using bitwise operators to check for specific log levels. <?php if (MongoLog::getLevel() & MongoLog::FINE) {     echo "lots of logs\n"; } if (MongoLog::getLevel

pg_connection_reset

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Reset connection (reconnect) bool pg_connection_reset ( resource $connection ) pg_connection_reset() resets the connection. It is useful for error recovery. Parameters: connection PostgreSQL database connection resource. Returns: Returns TRUE on success or FALSE on failure.

curl_errno

(PHP 4 >= 4.0.3, PHP 5, PHP 7) Return the last error number int curl_errno ( resource $ch ) Returns the error number for the last cURL operation. Parameters: ch A cURL handle returned by curl_init(). Returns: Returns the error number or 0 (zero) if no error occurred. Examples: curl_e

Gmagick::getreleasedate

(PECL gmagick >= Unknown) Returns the GraphicsMagick release date as a string. public string Gmagick::getreleasedate ( void ) Returns the GraphicsMagick release date as a string. Returns: Returns the GraphicsMagick release date as a string. Exception: Throws an GmagickException on error.

base_convert

(PHP 4, PHP 5, PHP 7) Convert a number between arbitrary bases string base_convert ( string $number, int $frombase, int $tobase ) Returns a string containing number represented in base tobase. The base in which number is given is specified in frombase. Both frombase and tobase have to be between 2 and 36, inclusive. Digits in numbers with a base higher than 10 will be represented with the letters a-z, with a meaning 10, b me

ps_setlinejoin

(PECL ps >= 1.1.0) Sets how contected lines are joined bool ps_setlinejoin ( resource $psdoc, int $type ) Sets how lines are joined. Parameters: psdoc Resource identifier of the postscript file as returned by ps_new(). type The way lines are joined. Possible values are PS_LINEJOIN_MITER, PS_LINEJOIN_ROUND, or PS_LINEJOIN_BEVEL.

MongoCollection::__toString

(PECL mongo >=0.9.0) String representation of this collection public string MongoCollection::__toString ( void ) Returns: Returns the full name of this collection. Examples: MongoCollection::__toString() example <?php $m = new MongoClient(); $c1 = $m->foo->bar->baz; echo "Working with collection $c1."; $c2