imagesavealpha

(PHP 4 >= 4.3.2, PHP 5, PHP 7) Set the flag to save full alpha channel information (as opposed to single-color transparency) when saving PNG images bool imagesavealpha ( resource $image, bool $saveflag ) imagesavealpha() sets the flag to attempt to save full alpha channel information (as opposed to single-color transparency) when saving PNG images. You have to unset alphablending (imagealphablending($im, false)), to use

GearmanWorker::addServers

(PECL gearman >= 0.5.0) Add job servers public bool GearmanWorker::addServers ( string $servers = 127.0.0.1:4730 ) Adds one or more job servers to this worker. These go into a list of servers that can be used to run jobs. No socket I/O happens here. Parameters: servers A comma separated list of job servers in the format host:port. If no port is specified, it defaults

PDO::getAvailableDrivers

(PHP 5 >= 5.1.3, PHP 7, PECL pdo >= 1.0.3) Return an array of available PDO drivers public static array PDO::getAvailableDrivers ( void ) array pdo_drivers ( void ) This function returns all currently available PDO drivers which can be used in DSN parameter of PDO::__construct(). Returns: PDO::getAvailableDrivers() returns an array of PDO driver names. If no drivers are available, it retu

IntlChar::foldCase

(PHP 7) Perform case folding on a code point public static mixed IntlChar::foldCase ( mixed $codepoint [, int $options = IntlChar::FOLD_CASE_DEFAULT ] ) The given character is mapped to its case folding equivalent; if the character has no case folding equivalent, the character itself is returned. Parameters: codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SN

DirectoryIterator::getGroup

(PHP 5, PHP 7) Get group for the current DirectoryIterator item public int DirectoryIterator::getGroup ( void ) Get the group id of the file. Returns: Returns the group id of the current DirectoryIterator item in numerical format. Examples: DirectoryIterator::getGroup() example <?php $iterator = new DirectoryIterator(d

HaruPage::getWidth

(PECL haru >= 0.0.1) Get the width of the page float HaruPage::getWidth ( void ) Get the width of the page. Returns: Returns the width of the page. Exception: Throws a HaruException on error. See also: HaruPage::setWidth() -

EventHttp::setDefaultCallback

(PECL event >= 1.4.0-beta) Sets default callback to handle requests that are not caught by specific callbacks public void EventHttp::setDefaultCallback ( string $cb [, string $arg ] ) Sets default callback to handle requests that are not caught by specific callbacks Parameters: cb The callback callable . It should match the following prototype: void callback ([ E

TokyoTyrantQuery::addCond

(PECL tokyo_tyrant >= 0.1.0) Adds a condition to the query public mixed TokyoTyrantQuery::addCond ( string $name, int $op, string $expr ) Adds a condition to the query. Condition can be something like: get all keys which value matches expr. Parameters: name Name of the column in the condition op The operator. One of the TokyoTyrant::

stats_rand_gen_noncentral_f

(PECL stats >= 1.0.0) Generates a random deviate from the noncentral F (variance ratio) distribution with "dfn" degrees of freedom in the numerator, and "dfd" degrees of freedom in the denominator, and noncentrality parameter "xnonc". Method : directly generates ratio of noncentral numerator chisquare variate to central denominator chisquare variate. float stats_rand_gen_noncentral_f ( float $dfn, float $dfd, float $xnonc )

MongoClient::selectCollection

(PECL mongo >=1.3.0) Gets a database collection public MongoCollection MongoClient::selectCollection ( string $db, string $collection ) Parameters: db The database name. collection The collection name. Returns: Returns a new collection object. Exception: Throws Exception if th