XMLReader::getAttributeNs

(PHP 5 >= 5.1.0, PHP 7) Get the value of an attribute by localname and URI public string XMLReader::getAttributeNs ( string $localName, string $namespaceURI ) Returns the value of an attribute by name and namespace URI or an empty string if attribute does not exist or not positioned on an element node. Parameters: localName The local name. namesp

SVM::train

(PECL svm >= 0.1.0) Create a SVMModel based on training data public SVMModel svm::train ( array $problem [, array $weights ] ) Train a support vector machine based on the supplied training data. Parameters: problem The problem can be provided in three different ways. An array, where the data should start with the class label (usually 1 or -1) then followed by a sparse

trader_sar

(PECL trader >= 0.2.0) Parabolic SAR array trader_sar ( array $high, array $low [, float $acceleration [, float $maximum ]] ) Parameters: high High price, array of real values. low Low price, array of real values. acceleration Acceleration Factor used up to the Maximum value. Valid range from 0 to TR

HaruPage::setRGBStroke

(PECL haru >= 0.0.1) Set stroking color for the page bool HaruPage::setRGBStroke ( float $r, float $g, float $b ) Defines stroking color for the page. All values must be between 0 and 1. Parameters: r Defines stroking color for the page. All values must be between 0 and 1. g Defines stroking color for the page. All values must be bet

PharData::buildFromDirectory

(PHP >= 5.3.0, PECL phar >= 2.0.0) Construct a tar/zip archive from the files within a directory. public array Phar::buildFromDirectory ( string $base_dir [, string $regex ] ) Populate a tar/zip archive from directory contents. The optional second parameter is a regular expression (pcre) that is used to exclude files. Any filename that matches the regular expression will be included, all others will be excluded. For mo

gettype

(PHP 4, PHP 5, PHP 7) Get the type of a variable string gettype ( mixed $var ) Returns the type of the PHP variable var. For type checking, use is_* functions. Parameters: var The variable being type checked. Returns: Possible values for the returned string are: "boolean" "integer" "double" (for historical reasons "double" is returned

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 

maxdb_next_result

(PECL maxdb >= 1.0) Prepare next result from multi_query bool maxdb_next_result ( resource $link ) Since multiple queries are not yet supported, maxdb_next_result() returns always FALSE. Returns: Returns FALSE. See also: maxdb_multi_query() - maxdb_more_results() -

Imagick::adaptiveResizeImage

(PECL imagick 2.0.0) Adaptively resize image with data dependent triangulation bool Imagick::adaptiveResizeImage ( int $columns, int $rows [, bool $bestfit = false ] ) Adaptively resize image with data-dependent triangulation. Avoids blurring across sharp color changes. Most useful when used to shrink images slightly to a slightly smaller "web size"; may not look good when a full-sized image is adaptively resized to a thumb

Imagick::sampleImage

(PECL imagick 2.0.0) Scales an image with pixel sampling bool Imagick::sampleImage ( int $columns, int $rows ) Scales an image to the desired dimensions with pixel sampling. Unlike other scaling methods, this method does not introduce any additional color into the scaled image. Parameters: columns Scales an image to the desired dimensions with pixel sampling. Unlike other