SplFileInfo::getFilename

(PHP 5 >= 5.1.2, PHP 7) Gets the filename public string SplFileInfo::getFilename ( void ) Gets the filename without any path information. Returns: The filename. Examples: SplFileInfo::getFilename() example <?php $info = new SplFileInfo('foo.txt'); var_dump($info->getFilename()); $info = new SplFileInfo('/path/to

PDOStatement::fetchColumn

(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.9.0) Returns a single column from the next row of a result set public mixed PDOStatement::fetchColumn ([ int $column_number = 0 ] ) Returns a single column from the next row of a result set or FALSE if there are no more rows. Note: PDOStatement::fetchColumn() should not be used to retrieve boolean columns, as it is impossible to distinguish a value of FALSE from there being

Locale::getDisplayScript

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Returns an appropriately localized display name for script of the input locale public static string Locale::getDisplayScript ( string $locale [, string $in_locale ] ) Object oriented style Procedural style string locale_get_display_script ( string $locale [, string $in_locale ] ) Returns an appropriately localized display name for script of the input locale. If is NULL t

SQLite3::createAggregate

(PHP 5 >= 5.3.0, PHP 7) Registers a PHP function for use as an SQL aggregate function public bool SQLite3::createAggregate ( string $name, mixed $step_callback, mixed $final_callback [, int $argument_count = -1 ] ) Registers a PHP function or user-defined function for use as an SQL aggregate function for use within SQL statements. Parameters: name Name of the SQL aggr

Collator::getErrorMessage

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Get text for collator's last error code public string Collator::getErrorMessage ( void ) Object oriented style Procedural style string collator_get_error_message ( Collator $coll ) Retrieves the message for the last error. Parameters: coll Collator object. Returns: Description of an error occ

Yaf_Dispatcher::setView

(Yaf >=1.0.0) Set a custom view engine public Yaf_Dispatcher Yaf_Dispatcher::setView ( Yaf_View_Interface $view ) This method proviods a solution for that if you want use a custom view engine instead of Yaf_View_Simple Parameters: view A Yaf_View_Interface instance Returns: Examples:

DOMXPath::query

(PHP 5, PHP 7) Evaluates the given XPath expression public DOMNodeList DOMXPath::query ( string $expression [, DOMNode $contextnode [, bool $registerNodeNS = true ]] ) Executes the given XPath expression. Parameters: expression The XPath expression to execute. contextnode The optional contextnode can be specified for doing relative X

ssh2_auth_none

(PECL ssh2 >= 0.9.0) Authenticate as "none" mixed ssh2_auth_none ( resource $session, string $username ) Attempt "none" authentication which usually will (and should) fail. As part of the failure, this function will return an array of accepted authentication methods. Parameters: session An SSH connection link identifier, obtained from a call to ssh2_connect().

mt_rand

(PHP 4, PHP 5, PHP 7) Generate a better random value int mt_rand ( void ) int mt_rand ( int $min , int $max ) Many random number generators of older libcs have dubious or unknown characteristics and are slow. By default, PHP uses the libc random number generator with the rand() function. The mt_rand() function is a drop-in replacement for this. It uses a random number generator with known characteristics using the » Mersenn

GearmanWorker::setOptions

(PECL gearman >= 0.5.0) Set worker options public bool GearmanWorker::setOptions ( int $option ) Sets one or more options to the supplied value. Parameters: option The options to be set Returns: Always returns TRUE. See also: GearmanWorker::options() -