Incrementing/Decrementing Operators

Examples: Here's a simple example script: <?php echo "<h3>Postincrement</h3>"; $a = 5; echo "Should be 5: " . $a++ . "<br />\n"; echo "Should be 6: " . $a . "<br />\n"; echo "<h3>Preincrement</h3>"; $a = 5; echo "Should be 6: " . ++$a . "<br />\n"; echo "Should be 6: " . $a . "<br />\n"; echo "<h3>Postdecrement</h3>"; $a = 5; echo "Should be 5: " . $a-- . "<br />\n"; echo "Should be 4: " . $a . 

SolrQuery::setFacetMethod

(PECL solr >= 0.9.2) Specifies the type of algorithm to use when faceting a field public SolrQuery SolrQuery::setFacetMethod ( string $method [, string $field_override ] ) Specifies the type of algorithm to use when faceting a field. This method accepts optional field override. Parameters: method The method to use. field_override The

SolrQuery::setQuery

(PECL solr >= 0.9.2) Sets the search query public SolrQuery SolrQuery::setQuery ( string $query ) Sets the search query. Parameters: query The search query Returns: Returns the current SolrQuery object

IntlDateFormatter::localtime

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Parse string to a field-based time value public array IntlDateFormatter::localtime ( string $value [, int &$position ] ) Object oriented style Procedural style array datefmt_localtime ( IntlDateFormatter $fmt , string $value [, int &$position ] ) Converts string $value to a field-based time value ( an array of various fields), starting at $parse_pos and consuming

$_SESSION

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Session variables An associative array containing session variables available to the current script. See the Session functions documentation for more information on how this is used. $HTTP_SESSION_VARS contains the same initial information, but is not a superglobal. (Note that $HTTP_SESSION_VARS and $_SESSION are different variables and that PHP handles them as such)

SolrQuery::setFacetPrefix

(PECL solr >= 0.9.2) Specifies a string prefix with which to limits the terms on which to facet public SolrQuery SolrQuery::setFacetPrefix ( string $prefix [, string $field_override ] ) Specifies a string prefix with which to limits the terms on which to facet. Parameters: prefix The prefix string field_override The name of the field

SolrQuery::setTimeAllowed

(PECL solr >= 0.9.2) The time allowed for search to finish public SolrQuery SolrQuery::setTimeAllowed ( int $timeAllowed ) The time allowed for a search to finish. This value only applies to the search and not to requests in general. Time is in milliseconds. Values less than or equal to zero implies no time restriction. Partial results may be returned, if there are any. Parameters:

ps_add_pdflink

(PECL ps >= 1.1.0) Adds link to a page in a second pdf document bool ps_add_pdflink ( resource $psdoc, float $llx, float $lly, float $urx, float $ury, string $filename, int $page, string $dest ) Places a hyperlink at the given position pointing to a second pdf document. Clicking on the link will branch to the document at the given page. The first page in a document has number 1. The hyperlink's source position is a rect

MongoId::__set_state

(PECL mongo >= 1.0.8) Create a dummy MongoId public static MongoId MongoId::__set_state ( array $props ) This function is only used by PHP internally, it shouldn't need to ever be called by the user. It is identical to the function: <?php public static function __set_state($props) {     return new MongoId("000000000000000000000000"); } ?> Parameters: props

EvTimer::__construct

(PECL ev >= 0.2.0) Constructs an EvTimer watcher object public EvTimer::__construct ( double $after , double $repeat , callable $callback [, mixed $data = NULL [, int $priority = 0 ]] ) Constructs an EvTimer watcher object. Parameters: after Configures the timer to trigger after after seconds. repeat If repeat is 0.0 , then it wil