EventDnsBase::loadHosts

(PECL event >= 1.2.6-beta) Loads a hosts file (in the same format as /etc/hosts) from hosts file public bool EventDnsBase::loadHosts ( string $hosts ) Loads a hosts file (in the same format as /etc/hosts ) from hosts file. Parameters: hosts Path to the hosts' file. Returns: Returns TRUE on success. Otherwise FALSE.

eio_fallocate

(PECL eio >= 0.0.1dev) Allows the caller to directly manipulate the allocated disk space for a file resource eio_fallocate ( mixed $fd, int $mode, int $offset, int $length [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL ]]] ) eio_fallocate() allows the caller to directly manipulate the allocated disk space for the file specified by fd file descriptor for the byte range starting at offse

maxdb_disable_reads_from_master

(PECL maxdb >= 1.0) Disable reads from master bool maxdb_disable_reads_from_master ( resource $link ) Procedural style Object oriented style void maxdb::disable_reads_from_master ( void ) This function is currently not documented; only its argument list is available.

Method Modifiers

Examples: protected method example: protected methods can only be executed by one Thread at a time. pthreads overrides the functionality of the protected and private method modifiers in order to provide functionality more suited to multi-threaded objects. pthreads applies this functionality to all Threaded objects from creation. <?php class ExampleThread extends Thread {     public function run() {         /* thread code */         if ($this->synchronized()) {

mcrypt_enc_get_supported_key_sizes

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Returns an array with the supported keysizes of the opened algorithm array mcrypt_enc_get_supported_key_sizes ( resource $td ) Gets the supported key sizes of the opened algorithm. Parameters: td The encryption descriptor. Returns: Returns an array with the key sizes supported by the algorithm specified by the en

SolrIllegalOperationException::getInternalInfo

(PECL solr >= 0.9.2) Returns internal information where the Exception was thrown public array SolrIllegalOperationException::getInternalInfo ( void ) Returns internal information where the Exception was thrown. Returns: Returns an array containing internal information where the error was thrown. Used only for debugging by extension developers. This function

fann_scale_input

(PECL fann >= 1.0.0) Scale data in input vector before feed it to ann based on previously calculated parameters bool fann_scale_input ( resource $ann, array $input_vector ) Scale data in input vector before feed it to ann based on previously calculated parameters. Parameters: ann Neural network resource. input_vector Input vector that

fann_create_sparse_array

(PECL fann >= 1.0.0) Creates a standard backpropagation neural network, which is not fully connected using an array of layer sizes ReturnType fann_create_sparse_array ( float $connection_rate, int $num_layers, array $layers ) Creates a standard backpropagation neural network, which is not fully connected using an array of layer sizes. Parameters: connection_rate The c

SolrParams::get

(PECL solr >= 0.9.2) This is an alias for SolrParams::getParam final public mixed SolrParams::get ( string $param_name ) This is an alias for SolrParams::getParam Parameters: param_name Then name of the parameter Returns: Returns an array or string depending on the type of parameter

tidy::parseFile

(PHP 5, PHP 7, PECL tidy >= 0.5.2) Parse markup in file or URI bool tidy::parseFile ( string $filename [, mixed $config [, string $encoding [, bool $use_include_path = false ]]] ) Object oriented style Procedural style tidy tidy_parse_file ( string $filename [, mixed $config [, string $encoding [, bool $use_include_path = false ]]] ) Parses the given file. Parameters: filename