Locale::getPrimaryLanguage

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Gets the primary language for the input locale public static string Locale::getPrimaryLanguage ( string $locale ) Object oriented style Procedural style string locale_get_primary_language ( string $locale ) Gets the primary language for the input locale Parameters: locale The locale to extract the primary language cod

setthreadtitle

(PECL proctitle >= 0.1.2) Set the thread title bool setthreadtitle ( string $title ) Sets the thread title. Parameters: title The title to use as the thread title. Returns: Returns TRUE on success or FALSE on failure. Examples: setthreadtitle() example Running the exam

hw_api_object::assign

(PHP 4, PHP 5 < 5.2.0, PECL hwapi SVN) Clones object bool hw_api_object::assign ( array $parameter ) Clones the attributes of an object. Parameters: parameter Clones the attributes of an object. Returns: Returns TRUE on success or FALSE on failure.

gupnp_control_point_new

(PECL gupnp >= 0.1.0) Create a new control point resource gupnp_control_point_new ( resource $context, string $target ) Create a new control point with the specified target. Parameters: context A context identifier, returned by gupnp_context_new(). target The search target. target should be a service or device name, such as urn:schem

DirectoryIterator::getSize

(PHP 5, PHP 7) Get size of current DirectoryIterator item public int DirectoryIterator::getSize ( void ) Get the file size for the current DirectoryIterator item. Returns: Returns the size of the file, in bytes. Examples: DirectoryIterator::getSize() example <?php $iterator = new DirectoryIterator(dirname(__FILE__)); f

mcrypt_get_key_size

(PHP 4, PHP 5, PHP 7) Gets the key size of the specified cipher int mcrypt_get_key_size ( int $cipher ) int mcrypt_get_key_size ( string $cipher , string $mode ) The first prototype is when linked against libmcrypt 2.2.x, the second when linked against libmcrypt 2.4.x or 2.5.x. mcrypt_get_key_size() is used to get the size of a key of the specified cipher (in combination with an encryption mode). It is more useful to us

runkit_constant_add

(PECL runkit >= 0.7.0) Similar to define(), but allows defining in class definitions as well bool runkit_constant_add ( string $constname, mixed $value ) Parameters: constname Name of constant to declare. Either a string to indicate a global constant, or classname::constname to indicate a class constant. value NULL, Bool, Long, Doubl

stats_cdf_poisson

(PECL stats >= 1.0.0) Calculates any one parameter of the Poisson distribution given values for the others. float stats_cdf_poisson ( float $par1, float $par2, int $which ) Parameters: par1 par2 which Returns: This function is currently not docum

odbc_tables

(PHP 4, PHP 5, PHP 7) Get the list of table names stored in a specific data source resource odbc_tables ( resource $connection_id [, string $qualifier [, string $owner [, string $name [, string $types ]]]] ) Lists all tables in the requested range. To support enumeration of qualifiers, owners, and table types, the following special semantics for the qualifier, owner, name, and table_type are available: If qualifier is a

ftp_put

(PHP 4, PHP 5, PHP 7) Uploads a file to the FTP server bool ftp_put ( resource $ftp_stream, string $remote_file, string $local_file, int $mode [, int $startpos = 0 ] ) ftp_put() stores a local file on the FTP server. Parameters: ftp_stream The link identifier of the FTP connection. remote_file The remote file path.