fann_set_callback

(PECL fann >= 1.0.0) Sets the callback function for use during training bool fann_set_callback ( resource $ann, collable $callback ) Sets the callback function for use during training. It means that it is called from fann_train_on_data() or fann_train_on_file(). Parameters: ann Neural network resource. callback The supplied callback f

gzclose

(PHP 4, PHP 5, PHP 7) Close an open gz-file pointer bool gzclose ( resource $zp ) Closes the given gz-file pointer. Parameters: zp The gz-file pointer. It must be valid, and must point to a file successfully opened by gzopen(). Returns: Returns TRUE on success or FALSE on failure. Examples:

RegexIterator::setPregFlags

(PHP 5 >= 5.2.0, PHP 7) Sets the regular expression flags. public void RegexIterator::setPregFlags ( int $preg_flags ) Sets the regular expression flags. Parameters: preg_flags The regular expression flags. See RegexIterator::__construct() for an overview of available flags. Returns: No value is returned.

imap_setflag_full

(PHP 4, PHP 5, PHP 7) Sets flags on messages bool imap_setflag_full ( resource $imap_stream, string $sequence, string $flag [, int $options = NIL ] ) Causes a store to add the specified flag to the flags set for the messages in the specified sequence. Parameters: imap_stream An IMAP stream returned by imap_open(). sequence A sequence of

ftp_nb_fput

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Stores a file from an open file to the FTP server (non-blocking) int ftp_nb_fput ( resource $ftp_stream, string $remote_file, resource $handle, int $mode [, int $startpos = 0 ] ) ftp_nb_fput() uploads the data from a file pointer to a remote file on the FTP server. The difference between this function and the ftp_fput() is that this function uploads the file asynchronously, so your progra

CairoContext::appendPath

(PECL cairo >= 0.1.0) Appends a path to current path public void CairoContext::appendPath ( CairoPath $path ) Object oriented style (method): Procedural style: void cairo_append_path ( CairoContext $context , CairoPath $path ) Appends the path onto the current path. The path may be either the return value from one of CairoContext::copyPath() or CairoContext::copyPathFlat(); if path is not a valid CairoPath instance a

SphinxClient::open

(PECL sphinx >= 1.0.3) Opens persistent connection to the server public bool SphinxClient::open ( void ) Opens persistent connection to the server. Returns: Returns TRUE on success or FALSE on failure. Changelog: 1.0.3 Added SphinxClient::open(), available only if compiled with libsphinxclient >= 0.9.9.

trader_adx

(PECL trader >= 0.2.0) Average Directional Movement Index array trader_adx ( array $high, array $low, array $close [, integer $timePeriod ] ) Parameters: high High price, array of real values. low Low price, array of real values. close Closing price, array of real values. timeP

PharData::delMetadata

(PHP >= 5.3.0, PECL phar >= 2.0.0) Deletes the global metadata of a zip archive bool PharData::delMetadata ( void ) Note: This method requires the php.ini setting phar.readonly to be set to 0 in order to work for Phar objects. Otherwise, a PharException will be thrown. Deletes the global metadata of the zip archive Returns: returns TRUE on success, but it is better to check for thrown exc

Booleans

Examples: To specify a boolean literal, use the constants TRUE or FALSE. Both are case-insensitive. <?php $foo = True; // assign the value TRUE to $foo ?> Typically, the result of an operator which returns a boolean value is passed on to a control structure. <?php // == is an operator which tests // equality and returns a boolean if ($action == "show_version") {     echo "The version is 1.23"; } // this is not necessary... i