(PECL event >= 1.2.6-beta) Returns string describing the last failed DNS lookup attempt public string EventBufferEvent::getDnsErrorString ( void ) Returns string describing the last failed DNS lookup attempt made by EventBufferEvent::connectHost() , or an empty string, if there is no DNS error detected. Returns: Returns a string describing DNS lookup error, or an empty string for no error.
(PECL gmagick >= Unknown) Returns the format of a particular image in a sequence public string Gmagick::getimageformat ( void ) Returns the format of a particular image in a sequence. Returns: Returns a string containing the image format on success. Exception: Throws an GmagickException on error.
(PHP 4, PHP 5, PHP 7) Return ASCII value of character int ord ( string $string ) Returns the ASCII value of the first character of string. This function complements chr(). Parameters: string A character. Returns: Returns the ASCII value as an integer. Examples: ord() example
(PHP 5 >= 5.1.0, PHP 7) Checks validity of the current element public bool AppendIterator::valid ( void ) Checks validity of the current element. Returns: Returns TRUE if the current iteration is valid, FALSE otherwise. See also: AppendIterator::current() - AppendIterator::key() -
(PECL cairo >= 0.1.0) Description array cairo_ps_get_levels ( void ) The function description goes here. Returns: What is returned on success and failure This function is currently not documented; only its argument list is available. Exception: When does this function issue E_* level errors, and/or throw exceptions.
(PECL fann >= 1.0.0) Sets the cascade candidate change fraction bool fann_set_cascade_candidate_change_fraction ( resource $ann, float $cascade_candidate_change_fraction ) Sets the cascade candidate change fraction. Parameters: ann Neural network resource. cascade_candidate_change_fraction The cascade candidate change fraction.
(PECL apcu >= 4.0.0) Updates an old value with a new value bool apcu_cas ( string $key, int $old, int $new ) apcu_cas() updates an already existing integer value if the old parameter matches the currently stored value with the value of the new parameter. Parameters: key The key of the value being updated. old The old value (the value
(PECL event >= 1.5.0) Retreives the current address to which the listener's socket is bound. public static bool EventListener::getSocketName ( string &$address [, mixed &$port ] ) Retreives the current address to which the listener's socket is bound. Parameters: address Output parameter. IP-address depending on the socket address family.
(PHP 4 >= 4.2.0, PHP 5 < 5.3.0, PECL ncurses >= 1.0.0) Move position and add attributed string with specified length int ncurses_mvaddchnstr ( int $y, int $x, string $s, int $n ) Parameters: y x s n This function is EXPER
(PECL mongo >= 1.6.0; PHP > 5.3.4) Returns a DateTime object representing this date public DateTime MongoDate::toDateTime ( void ) Returns a DateTime object representation of this date. Returns: This date as a DateTime object. Examples: MongoDate::toDateTime() example This example demonstrates creating a DateTime obje
Page 846 of 930