PharData::compressFiles

(PHP >= 5.3.0, PECL phar >= 2.0.0) Compresses all files in the current tar/zip archive bool PharData::compressFiles ( int $compression ) For tar-based archives, this method throws a BadMethodCallException, as compression of individual files within a tar archive is not supported by the file format. Use PharData::compress() to compress an entire tar-based archive. For Zip-based archives, this method compresses all file

mailparse_stream_encode

(PECL mailparse >= 0.9.0) Streams data from source file pointer, apply encoding and write to destfp bool mailparse_stream_encode ( resource $sourcefp, resource $destfp, string $encoding ) Streams data from the source file pointer, apply encoding and write to the destination file pointer. Parameters: sourcefp A valid file handle. The file is streamed through the parse

DirectoryIterator::getPerms

(PHP 5, PHP 7) Get the permissions of current DirectoryIterator item public int DirectoryIterator::getPerms ( void ) Get the permissions of the current DirectoryIterator item. Returns: Returns the permissions of the file, as a decimal integer. Examples: DirectoryIterator::getPerms() example <?php $iterator = new Direct

SVMModel::load

(PECL svm >= 0.1.00.1.0) Load a saved SVM Model public bool SVMModel::load ( string $filename ) Load a model file ready for classification or regression. Parameters: filename The filename of the model. Returns: Throws SVMException on error. Returns true on success. See also:

EvLoop::child

(PECL ev >= 0.2.0) Creates EvChild object associated with the current event loop final public EvChild EvLoop::child ( string $pid , string $trace , string $callback [, string $data [, string $priority ]] ) Creates EvChild object associated with the current event loop. Returns: Returns EvChild object on success. See also:

SolrQuery::setHighlightAlternateField

(PECL solr >= 0.9.2) Specifies the backup field to use public SolrQuery SolrQuery::setHighlightAlternateField ( string $field [, string $field_override ] ) If a snippet cannot be generated because there were no matching terms, one can specify a field to use as the backup or default summary Parameters: field The name of the backup field field_over

date_default_timezone_set

(PHP 5 >= 5.1.0, PHP 7) Sets the default timezone used by all date/time functions in a script bool date_default_timezone_set ( string $timezone_identifier ) date_default_timezone_set() sets the default timezone used by all date/time functions. Note: Since PHP 5.1.0 (when the date/time functions were rewritten), every call to a date/time function will generate a E_NOTICE if the timezone isn't valid, and/or a E_WARNIN

ncurses_typeahead

(PHP 4 >= 4.0.7, PHP 5 < 5.3.0, PECL ncurses >= 1.0.0) Specify different filedescriptor for typeahead checking int ncurses_typeahead ( int $fd ) Parameters: fd This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This f

SolrDisMaxQuery::useDisMaxQueryParser

(No version information available, might only be in Git) Switch QueryParser to be DisMax Query Parser public SolrDisMaxQuery SolrDisMaxQuery::useDisMaxQueryParser ( void ) Switch QueryParser to be DisMax Query Parser Returns: SolrDisMaxQuery Examples: SolrDisMaxQuery::useDisMaxQueryParser() example <?php $dismaxQuery 

xattr_get

(PECL xattr >= 0.9.0) Get an extended attribute string xattr_get ( string $filename, string $name [, int $flags = 0 ] ) This function gets the value of an extended attribute of a file. Extended attributes have two different namespaces: user and root. The user namespace is available to all users, while the root namespace is available only to users with root privileges. xattr operates on the user namespace by default, b