use "&" for references

+ fix some return types
+ normalize the param phpdocs
+ normalize the "php.net" links (language "en" as default)
This commit is contained in:
Lars Moelleken 2020-08-23 01:03:37 +02:00
parent 77c26a56ec
commit 99c598ca53
89 changed files with 1051 additions and 1089 deletions

View File

@ -152,7 +152,7 @@ function str_contains(string $haystack, string $needle) : bool {}
/**
* Return the current key and value pair from an array and advance the array cursor
* @link https://php.net/manual/en/function.each.php
* @param array|ArrayObject $array <p>
* @param array|ArrayObject &$array <p>
* The input array.
* </p>
* @return array the current key and value pair from the array
@ -420,7 +420,7 @@ function trait_exists($traitname, $autoload ) {}
* The class name. The name is matched in a case-insensitive manner.
* </p>
* @param bool $autoload [optional] <p>
* Whether or not to call &link.autoload; by default.
* Whether or not to call autoload by default.
* </p>
* @return bool true if <i>class_name</i> is a defined class,
* false otherwise.
@ -434,7 +434,7 @@ function class_exists ($class_name, $autoload = true) {}
* The interface name
* </p>
* @param bool $autoload [optional] <p>
* Whether to call &link.autoload; or not by default.
* Whether to call autoload or not by default.
* </p>
* @return bool true if the interface given by
* <i>interface_name</i> has been defined, false otherwise.

View File

@ -569,7 +569,7 @@ final class Closure {
/**
* This is for consistency with other classes that implement calling magic,
* as this method is not used for calling the function.
* @param mixed $_ [optional]
* @param mixed ...$_ [optional]
* @return mixed
* @link https://secure.php.net/manual/en/class.closure.php
*/
@ -744,7 +744,7 @@ final class WeakMap implements \ArrayAccess, \Countable, \IteratorAggregate {
*/
interface Stringable {
/**
* Magic method {@see https://www.php.net/manual/ru/language.oop5.magic.php}
* Magic method {@see https://www.php.net/manual/en/language.oop5.magic.php}
* called during serialization to string.
*
* @return string Returns string representation of the object that

View File

@ -179,7 +179,7 @@ namespace {
/**
* Returns size of C data type of the given FFI\CData or FFI\CType.
*
* @param CData|CType $pointer
* @param CData|CType &$pointer
* @return int
*/
public static function sizeof(&$pointer): int {}
@ -187,7 +187,7 @@ namespace {
/**
* Returns size of C data type of the given FFI\CData or FFI\CType.
*
* @param CData|CType $pointer
* @param CData|CType &$pointer
* @return int
*/
public static function alignof(&$pointer): int {}
@ -197,7 +197,7 @@ namespace {
* $source may be any native data structure (FFI\CData) or PHP string.
*
* @param CData $target
* @param mixed $source
* @param mixed &$source
* @param int $size
*/
public static function memcpy(CData $target, &$source, int $size): void {}
@ -205,8 +205,8 @@ namespace {
/**
* Compares $size bytes from memory area $a and $b.
*
* @param CData|string $a
* @param CData|string $b
* @param CData|string &$a
* @param CData|string &$b
* @param int $size
* @return int
*/

View File

@ -1253,7 +1253,7 @@ class PDOStatement implements IteratorAggregate
* question mark placeholders, this will be the 1-indexed position of
* the parameter.
* </p>
* @param mixed $variable <p>
* @param mixed &$variable <p>
* Name of the PHP variable to bind to the SQL statement parameter.
* </p>
* @param int $data_type [optional] <p>
@ -1283,7 +1283,7 @@ class PDOStatement implements IteratorAggregate
* If using the column name, be aware that the name should match the
* case of the column, as returned by the driver.
* </p>
* @param mixed $param <p>
* @param mixed &$param <p>
* Name of the PHP variable to which the column will be bound.
* </p>
* @param int $type [optional] <p>

View File

@ -5,7 +5,7 @@
*
* Note: Unlike the description in the documentation, the class itself is not final.
*
* @link https://www.php.net/manual/ru/class.reflectionreference.php
* @link https://www.php.net/manual/en/class.reflectionreference.php
* @since 7.4
*/
class ReflectionReference

View File

@ -996,7 +996,7 @@ class AppendIterator extends IteratorIterator {
/**
* Gets the current value
* @link https://php.net/manual/en/appenditerator.current.php
* @return mixed The current value if it is valid or &null; otherwise.
* @return mixed The current value if it is valid or null otherwise.
*/
public function current() { }

View File

@ -678,7 +678,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt
* @param int $operation <p>
* <i>operation</i> is one of the following:
* <b>LOCK_SH</b> to acquire a shared lock (reader).
* @param int $wouldblock [optional] <p>
* @param int &$wouldblock [optional] <p>
* Set to true if the lock would block (EWOULDBLOCK errno condition).
* </p>
* @return bool true on success or false on failure.
@ -755,7 +755,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt
* @param string $format <p>
* The specified format as described in the <b>sprintf</b> documentation.
* </p>
* @param mixed $_ [optional] <p>
* @param mixed &$_ [optional] <p>
* The optional assigned values.
* </p>
* @return array|int If only one parameter is passed to this method, the values parsed will be
@ -1111,7 +1111,7 @@ class SplDoublyLinkedList implements Iterator, Countable, ArrayAccess, Serializa
/**
* Unserializes the storage
* @link https://php.net/manual/ru/spldoublylinkedlist.serialize.php
* @link https://php.net/manual/en/spldoublylinkedlist.serialize.php
* @param string $serialized The serialized string.
* @return void
* @since 5.4
@ -1120,7 +1120,7 @@ class SplDoublyLinkedList implements Iterator, Countable, ArrayAccess, Serializa
/**
* Serializes the storage
* @link https://php.net/manual/ru/spldoublylinkedlist.unserialize.php
* @link https://php.net/manual/en/spldoublylinkedlist.unserialize.php
* @return string The serialized string.
* @since 5.4
*/
@ -1458,7 +1458,7 @@ class SplPriorityQueue implements Iterator, Countable {
/**
* Construct a new SplPriorityQueue object
* @link https://www.php.net/manual/ru/splpriorityqueue.construct.php
* @link https://www.php.net/manual/en/splpriorityqueue.construct.php
*/
public function __construct () {}

View File

@ -10,24 +10,24 @@ class SQLiteDatabase {
/**
* (PHP 5 &lt; 5.4.0, PECL sqlite &gt;= 1.0.0)
* @link https://php.net/manual/en/function.sqlite-open.php
* @param $filename <p>The filename of the SQLite database. If the file does not exist, SQLite will attempt to create it. PHP must have write permissions to the file if data is inserted, the database schema is modified or to create the database if it does not exist.</p>
* @param $mode [optional] <p>The mode of the file. Intended to be used to open the database in read-only mode. Presently, this parameter is ignored by the sqlite library. The default value for mode is the octal value 0666 and this is the recommended value.</p>
* @param $error_message [optional] <p>Passed by reference and is set to hold a descriptive error message explaining why the database could not be opened if there was an error.</p>
* @param string $filename <p>The filename of the SQLite database. If the file does not exist, SQLite will attempt to create it. PHP must have write permissions to the file if data is inserted, the database schema is modified or to create the database if it does not exist.</p>
* @param int $mode [optional] <p>The mode of the file. Intended to be used to open the database in read-only mode. Presently, this parameter is ignored by the sqlite library. The default value for mode is the octal value 0666 and this is the recommended value.</p>
* @param string &$error_message [optional] <p>Passed by reference and is set to hold a descriptive error message explaining why the database could not be opened if there was an error.</p>
*/
final public function __construct ($filename, $mode = 0666, &$error_message) {}
/**
* (PHP 5 &lt; 5.4.0, PECL sqlite &gt;= 1.0.0)
* @link https://php.net/manual/en/function.sqlite-query.php
* @param $query <p>
* @param string $query <p>
* The query to be executed.
* </p>
* <p>
* Data inside the query should be {@link https://php.net/manual/en/function.sqlite-escape-string.php properly escaped}.
* </p>
* @param $result_type [optional]
* @param int $result_type [optional]
* <p>The optional <i>result_type</i> parameter accepts a constant and determines how the returned array will be indexed. Using <b>SQLITE_ASSOC</b> will return only associative indices (named fields) while <b>SQLITE_NUM</b> will return only numerical indices (ordinal field numbers). <b>SQLITE_BOTH</b> will return both associative and numerical indices. <b>SQLITE_BOTH</b> is the default for this function.</p>
* @param $error_message [optional] <p>The specified variable will be filled if an error occurs. This is specially important because SQL syntax errors can't be fetched using the {@see sqlite_last_error()} function.</p>
* @param string &$error_message [optional] <p>The specified variable will be filled if an error occurs. This is specially important because SQL syntax errors can't be fetched using the {@see sqlite_last_error()} function.</p>
* @return resource|false <p>
* This function will return a result handle or <b>FALSE</b> on failure.
* For queries that return rows, the result handle can then be used with
@ -59,7 +59,7 @@ class SQLiteDatabase {
* <p>
* Data inside the query should be {@link https://php.net/manual/en/function.sqlite-escape-string.php properly escaped}.
* </p>
* @param string $error_message [optional] <p>The specified variable will be filled if an error occurs. This is specially important because SQL syntax errors can't be fetched using the
* @param string &$error_message [optional] <p>The specified variable will be filled if an error occurs. This is specially important because SQL syntax errors can't be fetched using the
* {@see sqlite_last_error()} function.</p>
* @return bool <p>
* This function will return a boolean result; <b>TRUE</b> for success or <b>FALSE</b> for failure.
@ -122,20 +122,20 @@ class SQLiteDatabase {
* (PHP 5 &lt; 5.4.0, PECL sqlite &gt;= 1.0.0)
* Execute a query that does not prefetch and buffer all data
* @link https://php.net/manual/en/function.sqlite-unbuffered-query.php
* @param $query <p>
* @param string $query <p>
* The query to be executed.
* </p>
* <p>
* Data inside the query should be {@link https://php.net/manual/en/function.sqlite-escape-string.php properly escaped}.
* </p>
* @param $result_type [optional] <p>The optional <i>result_type</i> parameter accepts a constant and determines how the returned array will be indexed.
* @param int $result_type [optional] <p>The optional <i>result_type</i> parameter accepts a constant and determines how the returned array will be indexed.
* Using <b>SQLITE_ASSOC</b> will return only associative indices (named fields) while <b>SQLITE_NUM</b> will return only numerical indices (ordinal field numbers).
* <b>SQLITE_BOTH</b> will return both associative and numerical indices. <b>SQLITE_BOTH</b> is the default for this function.
* @param $error_message [optional]
* @param string &$error_message [optional]
* @return resource Returns a result handle or <b>FALSE</b> on failure.
* {@see sqlite_unbuffered_query()} returns a sequential forward-only result set that can only be used to read each row, one after the other.
*/
public function unbufferedQuery ($query, $result_type = SQLITE_BOTH, &$error_message) {}
public function unbufferedQuery ($query, $result_type = SQLITE_BOTH, &$error_message = null) {}
/**
* (PHP 5 &lt; 5.4.0, PECL sqlite &gt;= 1.0.0)
@ -558,7 +558,7 @@ final class SQLiteException extends RuntimeException {
* library. The default value for mode is the octal value
* 0666 and this is the recommended value.
* </p>
* @param string $error_message [optional] <p>
* @param string &$error_message [optional] <p>
* Passed by reference and is set to hold a descriptive error message
* explaining why the database could not be opened if there was an error.
* </p>
@ -582,7 +582,7 @@ function sqlite_open ($filename, $mode = null, &$error_message = null) {}
* library. The default value for mode is the octal value
* 0666 and this is the recommended value.
* </p>
* @param string $error_message [optional] <p>
* @param string &$error_message [optional] <p>
* Passed by reference and is set to hold a descriptive error message
* explaining why the database could not be opened if there was an error.
* </p>
@ -621,7 +621,7 @@ function sqlite_close ($dbhandle) {}
* only numerical indices (ordinal field numbers). <b>SQLITE_BOTH</b>
* will return both associative and numerical indices.
* <b>SQLITE_BOTH</b> is the default for this function.</p>
* @param mixed $error_msg [optional] <p>
* @param string &$error_msg [optional] <p>
* The specified variable will be filled if an error occurs. This is
* specially important because SQL syntax errors can't be fetched using
* the
@ -646,7 +646,7 @@ function sqlite_close ($dbhandle) {}
* recommended that you use the much higher performance
* {@see sqlite_unbuffered_query} instead.
*/
function sqlite_query ($query, $dbhandle, $result_type = null, &$error_msg = SQLITE_BOTH) {}
function sqlite_query ($query, $dbhandle, $result_type = SQLITE_BOTH, &$error_msg = null) {}
/**
* (PHP 5, PECL sqlite &gt;= 1.0.3)<br/>
@ -663,7 +663,7 @@ function sqlite_query ($query, $dbhandle, $result_type = null, &$error_msg = SQL
* {@see sqlite_open()} when used procedurally. This parameter
* is not required when using the object-oriented method.
* </p>
* @param string $error_msg [optional] <p>
* @param string &$error_msg [optional] <p>
* The specified variable will be filled if an error occurs. This is
* specially important because SQL syntax errors can't be fetched using
* the
@ -1072,7 +1072,7 @@ function sqlite_error_string ($error_code) {}
* Data inside the query should be properly escaped.
* </p>
* @param int $result_type [optional] &sqlite.result-type;
* @param string $error_msg [optional] <p>
* @param string &$error_msg [optional] <p>
* The specified variable will be filled if an error occurs. This is
* specially important because SQL syntax errors can't be fetched using
* the sqlite_last_error function.
@ -1145,11 +1145,11 @@ function sqlite_create_function ($dbhandle, $function_name, $callback, $num_args
* library. The default value for mode is the octal value
* 0666 and this is the recommended value.
* </p>
* @param string $error_message [optional] <p>
* @param string &$error_message [optional] <p>
* Passed by reference and is set to hold a descriptive error message
* explaining why the database could not be opened if there was an error.
* </p>
* @return SQLiteDatabase a SQLiteDatabase object on success, &null; on error.
* @return SQLiteDatabase|null a SQLiteDatabase object on success, null on error.
*/
function sqlite_factory ($filename, $mode = null, &$error_message = null) {}

View File

@ -19,7 +19,7 @@ function zend_shm_cache_store($key, $value, $ttl = 0) {}
*
* @param string $key the data's key. Possibly prefixed with namespace
*
* @return null|mixed NULL when no data matching the key is found, else it returns the stored data
* @return mixed|null NULL when no data matching the key is found, else it returns the stored data
*/
function zend_shm_cache_fetch($key) {}
@ -28,7 +28,7 @@ function zend_shm_cache_fetch($key) {}
*
* @param string $key the data's key. Possibly prefixed with namespace
*
* @return null|mixed when no data matching the key is found, else it returns the stored data
* @return mixed|null when no data matching the key is found, else it returns the stored data
*/
function zend_shm_cache_delete($key) {}
@ -57,7 +57,7 @@ function zend_disk_cache_store($key, $value, $ttl = 0) {}
*
* @param string $key the data's key. Possibly prefixed with namespace
*
* @return null|mixed NULL when no data matching the key is found, else it returns the stored data
* @return mixed|null NULL when no data matching the key is found, else it returns the stored data
*/
function zend_disk_cache_fetch($key) {}
@ -66,7 +66,7 @@ function zend_disk_cache_fetch($key) {}
*
* @param string $key the data's key. Possibly prefixed with namespace
*
* @return null|mixed when no data matching the key is found, else it returns the stored data
* @return mixed|null when no data matching the key is found, else it returns the stored data
*/
function zend_disk_cache_delete($key) {}

View File

@ -627,7 +627,7 @@ class Aerospike {
* @link https://www.aerospike.com/docs/guide/kvs.html Key-Value Store
* @link https://www.aerospike.com/docs/guide/glossary.html Glossary
* @param array $key The key identifying the record. An array with keys `['ns','set','key']` or `['ns','set','digest']`
* @param array $record a reference to a variable which will contain the retrieved record of `['key', metadata', 'bins]` with the structure:
* @param array &$record a reference to a variable which will contain the retrieved record of `['key', metadata', 'bins]` with the structure:
* ```
* Array:
* key => Array
@ -697,7 +697,7 @@ class Aerospike {
* ```
* @link https://www.aerospike.com/docs/guide/glossary.html Glossary
* @param array $key The key identifying the record. An array with keys `['ns','set','key']` or `['ns','set','digest']`
* @param array $metadata a reference to a variable which will be filled with an array of `['ttl', 'generation']` values
* @param array &$metadata a reference to a variable which will be filled with an array of `['ttl', 'generation']` values
* @param array $options an optional array of read policy options, whose keys include
* * Aerospike::OPT_READ_TIMEOUT
* * Aerospike::OPT_DESERIALIZE
@ -1386,7 +1386,7 @@ class Aerospike {
*
* ```
*
* @param array $returned a pass-by-reference array of bins retrieved by read operations. If multiple operations exist for a specific bin name, the last operation will be the one placed as the value
* @param array &$returned a pass-by-reference array of bins retrieved by read operations. If multiple operations exist for a specific bin name, the last operation will be the one placed as the value
* @param array $options an optional array of policy options, whose keys include
* * Aerospike::OPT_WRITE_TIMEOUT
* * Aerospike::OPT_TTL
@ -1765,7 +1765,7 @@ class Aerospike {
*
* ```
*
* @param array $returned a pass-by-reference array of bins retrieved by read operations. If multiple operations exist for a specific bin name, the last operation will be the one placed as the value
* @param array &$returned a pass-by-reference array of bins retrieved by read operations. If multiple operations exist for a specific bin name, the last operation will be the one placed as the value
* @param array $options an optional array of policy options, whose keys include
* * Aerospike::OPT_WRITE_TIMEOUT
* * Aerospike::OPT_TTL
@ -1809,7 +1809,7 @@ class Aerospike {
* @version 3.7 Requires server >= 3.7
* @param array $key The key identifying the record. An array with keys `['ns','set','key']` or `['ns','set','digest']`
* @param string $bin
* @param int $count pass-by-reference param
* @param int &$count pass-by-reference param
* @param array $options an optional array of policy options, whose keys include
* * Aerospike::OPT_READ_TIMEOUT
* * Aerospike::OPT_POLICY_KEY
@ -1978,7 +1978,7 @@ class Aerospike {
* @param array $key The key identifying the record. An array with keys `['ns','set','key']` or `['ns','set','digest']`
* @param string $bin
* @param int $index
* @param mixed $element pass-by-reference param
* @param mixed &$element pass-by-reference param
* @param array $options an optional array of policy options, whose keys include
* * Aerospike::OPT_WRITE_TIMEOUT
* * Aerospike::OPT_TTL
@ -2016,7 +2016,7 @@ class Aerospike {
* @param string $bin
* @param int $index
* @param int $count
* @param array $elements pass-by-reference param. After the method call it will be an array holding the popped elements.
* @param array &$elements pass-by-reference param. After the method call it will be an array holding the popped elements.
* @param array $options an optional array of policy options, whose keys include
* * Aerospike::OPT_WRITE_TIMEOUT
* * Aerospike::OPT_TTL
@ -2226,7 +2226,7 @@ class Aerospike {
* @param array $key The key identifying the record. An array with keys `['ns','set','key']` or `['ns','set','digest']`
* @param string $bin
* @param int $index
* @param $element pass-by-reference param which will hold the returned element.
* @param mixed &$element pass-by-reference param which will hold the returned element.
* @param array $options an optional array of policy options, whose keys include
* * Aerospike::OPT_READ_TIMEOUT
* * Aerospike::OPT_POLICY_KEY
@ -2261,7 +2261,7 @@ class Aerospike {
* @param string $bin
* @param int $index
* @param int $count
* @param $elements pass-by-reference param which will hold an array of returned elements from the specified list bin.
* @param array &$elements pass-by-reference param which will hold an array of returned elements from the specified list bin.
* @param array $options an optional array of policy options, whose keys include
* * Aerospike::OPT_READ_TIMEOUT
* * Aerospike::OPT_POLICY_KEY
@ -2482,7 +2482,7 @@ class Aerospike {
* }
* ```
* @param array $keys an array of initialized keys, each key an array with keys `['ns','set','key']` or `['ns','set','digest']`
* @param array $records a pass-by-reference variable which will hold an array of record values, each record an array of `['key', 'metadata', 'bins']`
* @param array &$records a pass-by-reference variable which will hold an array of record values, each record an array of `['key', 'metadata', 'bins']`
* @param array $select only these bins out of the record (optional)
* @param array $options an optional array of read policy options, whose keys include
* * Aerospike::OPT_READ_TIMEOUT
@ -2607,7 +2607,7 @@ class Aerospike {
* }
* ```
* @param array $keys an array of initialized keys, each key an array with keys `['ns','set','key']` or `['ns','set','digest']`
* @param array $metadata a pass-by-reference array of metadata values, each an array of `['key', 'metadata']`
* @param array &$metadata a pass-by-reference array of metadata values, each an array of `['key', 'metadata']`
* @param array $options an optional array of read policy options, whose keys include
* * Aerospike::OPT_READ_TIMEOUT
* * Aerospike::USE_BATCH_DIRECT
@ -2922,7 +2922,7 @@ class Aerospike {
*
* @param int $job_id The Job ID
* @param int $job_type The type of the job, either Aerospike::JOB_QUERY, or Aerospike::JOB_SCAN
* @param array $info The status of the background job filled (by reference) as an array of
* @param array &$info The status of the background job filled (by reference) as an array of
* ```
* [
* 'progress_pct' => progress percentage for the job
@ -3025,9 +3025,9 @@ class Aerospike {
* }
* }
* ```
* @param array $modules pass-by-reference param
* @param int $language
* @param array $options an optional array of policy options, whose keys include
* @param array &$modules pass-by-reference param
* @param int $language
* @param array $options an optional array of policy options, whose keys include
* * Aerospike::OPT_READ_TIMEOUT
* @see Aerospike::OPT_READ_TIMEOUT Aerospike::OPT_READ_TIMEOUT
* @see Aerospike::OK Aerospike::OK and error status codes
@ -3072,8 +3072,8 @@ class Aerospike {
* "
* ```
* @param string $module the name of the UDF module registered with the cluster
* @param string $code pass-by-reference param
* @param int $language
* @param string &$code pass-by-reference param
* @param string $language
* @param array $options an optional array of policy options, whose keys include
* * Aerospike::OPT_READ_TIMEOUT
* @see Aerospike::OPT_READ_TIMEOUT Aerospike::OPT_READ_TIMEOUT
@ -3114,7 +3114,7 @@ class Aerospike {
* @param string $module the name of the UDF module registered with the cluster
* @param string $function the name of the UDF
* @param array $args optional arguments for the UDF
* @param mixed $returned pass-by-reference param
* @param mixed &$returned pass-by-reference param
* @param array $options an optional array of policy options, whose keys include
* * Aerospike::OPT_WRITE_TIMEOUT
* * Aerospike::OPT_POLICY_KEY
@ -3165,7 +3165,7 @@ class Aerospike {
* @param string $module the name of the UDF module registered with the cluster
* @param string $function the name of the UDF
* @param array $args optional arguments for the UDF
* @param int $job_id pass-by-reference filled by the job ID of the scan
* @param int &$job_id pass-by-reference filled by the job ID of the scan
* @param array $options an optional array of policy options, whose keys include
* * Aerospike::OPT_WRITE_TIMEOUT
* * Aerospike::OPT_POLICY_DURABLE_DELETE
@ -3232,7 +3232,7 @@ class Aerospike {
* @param string $module the name of the UDF module registered with the cluster
* @param string $function the name of the UDF
* @param array $args optional arguments for the UDF
* @param int $job_id pass-by-reference filled by the job ID of the scan
* @param int &$job_id pass-by-reference filled by the job ID of the scan
* @param array $options an optional array of policy options, whose keys include
* * Aerospike::OPT_WRITE_TIMEOUT
* * Aerospike::OPT_POLICY_DURABLE_DELETE
@ -3370,7 +3370,7 @@ class Aerospike {
* @param string $module the name of the UDF module registered with the cluster
* @param string $function the name of the UDF
* @param array $args optional arguments for the UDF
* @param mixed $returned pass-by-reference param
* @param mixed &$returned pass-by-reference param
* @param array $options an optional array of policy options, whose keys include
* * Aerospike::OPT_READ_TIMEOUT
* * Aerospike::OPT_READ_TIMEOUT
@ -3471,7 +3471,7 @@ class Aerospike {
* ```
* @link https://www.aerospike.com/docs/reference/info Info Command Reference
* @param string $request a formatted info command
* @param string $response a formatted response from the server, filled by reference
* @param string &$response a formatted response from the server, filled by reference
* @param array $host an array holding the cluster node connection information cluster
* and manage its connections to them. ```[ 'addr' => $addr , 'port' => $port ]```
* @param array $options an optional array of policy options, whose keys include

View File

@ -65,7 +65,7 @@ function apc_store($key, $var, $ttl = 0){}
* @link https://php.net/manual/en/function.apc-fetch.php
* @param string|string[] $key The key used to store the value (with apc_store()).
* If an array is passed then each element is fetched and returned.
* @param bool $success Set to TRUE in success and FALSE in failure.
* @param bool &$success Set to TRUE in success and FALSE in failure.
* @return mixed The stored variable or array of variables on success; FALSE on failure.
*/
function apc_fetch($key, &$success = null){}
@ -163,7 +163,7 @@ function apc_delete_file($keys){}
* @link https://php.net/manual/en/function.apc-inc.php
* @param string $key The key of the value being increased.
* @param int $step The step, or value to increase.
* @param bool $success Optionally pass the success or fail boolean value to this referenced variable.
* @param bool &$success Optionally pass the success or fail boolean value to this referenced variable.
* @return int|bool Returns the current value of key's value on success, or FALSE on failure.
*/
function apc_inc($key, $step = 1, &$success = null){}
@ -173,7 +173,7 @@ function apc_inc($key, $step = 1, &$success = null){}
* @link https://php.net/manual/en/function.apc-dec.php
* @param string $key The key of the value being decreased.
* @param int $step The step, or value to decrease.
* @param bool $success Optionally pass the success or fail boolean value to this referenced variable.
* @param bool &$success Optionally pass the success or fail boolean value to this referenced variable.
* @return int|bool Returns the current value of key's value on success, or FALSE on failure.
*/
function apc_dec($key, $step = 1, &$success = null){}
@ -438,7 +438,7 @@ function apcu_store($key, $var, $ttl = 0){}
* @link https://php.net/manual/en/function.apcu-fetch.php
* @param string|string[] $key The key used to store the value (with apcu_store()).
* If an array is passed then each element is fetched and returned.
* @param bool $success Set to TRUE in success and FALSE in failure.
* @param bool &$success Set to TRUE in success and FALSE in failure.
* @return mixed The stored variable or array of variables on success; FALSE on failure.
*/
function apcu_fetch($key, &$success = null){}
@ -488,7 +488,7 @@ function apcu_exists($keys){}
* the stored variable will be expunged from the cache (on the next request). If no ttl is supplied
* (or if the ttl is 0), the value will persist until it is removed from the cache manually,
* or otherwise fails to exist in the cache (clear, restart, etc.).
* @param bool $success Optionally pass the success or fail boolean value to this referenced variable.
* @param bool &$success Optionally pass the success or fail boolean value to this referenced variable.
* @return int|false Returns the current value of key's value on success, or FALSE on failure.
*/
function apcu_inc($key, $step = 1, &$success = null, $ttl = 0){}
@ -502,7 +502,7 @@ function apcu_inc($key, $step = 1, &$success = null, $ttl = 0){}
* the stored variable will be expunged from the cache (on the next request). If no ttl is supplied
* (or if the ttl is 0), the value will persist until it is removed from the cache manually,
* or otherwise fails to exist in the cache (clear, restart, etc.).
* @param bool $success Optionally pass the success or fail boolean value to this referenced variable.
* @param bool &$success Optionally pass the success or fail boolean value to this referenced variable.
* @return int|false Returns the current value of key's value on success, or FALSE on failure.
*/
function apcu_dec($key, $step = 1, &$success = null, $ttl = 0){}

View File

@ -126,7 +126,7 @@ function bcpow ($base, $exponent, $scale = 0) {}
* The operand, as a string.
* </p>
* @param int $scale [optional]
* @return string the square root as a string, or <b>NULL</b> if
* @return string|null the square root as a string, or <b>NULL</b> if
* <i>operand</i> is negative.
*/
function bcsqrt ($operand, $scale = null) {}

View File

@ -713,7 +713,7 @@ class Rand {
* Generates pseudo random bytes
* @param int $num
* @param bool $must_be_strong
* @param bool $returned_strong_result
* @param bool &$returned_strong_result
* @return string
*/
public static function generate($num, $must_be_strong = true, &$returned_strong_result = true) {}

View File

@ -2472,7 +2472,7 @@ function curl_reset ($ch) {}
* Run the sub-connections of the current cURL handle
* @link https://php.net/manual/en/function.curl-multi-exec.php
* @param resource $mh
* @param int $still_running <p>
* @param int &$still_running <p>
* A reference to a flag to tell whether the operations are still running.
* </p>
* @return int A cURL code defined in the cURL Predefined Constants.
@ -2496,7 +2496,7 @@ function curl_multi_getcontent ($ch) {}
* Get information about the current transfers
* @link https://php.net/manual/en/function.curl-multi-info-read.php
* @param resource $mh
* @param int $msgs_in_queue [optional] <p>
* @param int &$msgs_in_queue [optional] <p>
* Number of messages that are still in the queue
* </p>
* @return array On success, returns an associative array for the message, false on failure.

View File

@ -116,10 +116,10 @@
* all optional parameters given to <b>dba_open</b> and
* can act on behalf of them.
* </p>
* @param mixed $_ [optional]
* @param mixed ...$_ [optional]
* @return resource|false a positive handle on success or <b>FALSE</b> on failure.
*/
function dba_open ($path, $mode, $handler = null, $_ = null) {}
function dba_open ($path, $mode, $handler = null, ...$_ = null) {}
/**
* Open database persistently
@ -139,10 +139,10 @@ function dba_open ($path, $mode, $handler = null, $_ = null) {}
* all optional parameters given to <b>dba_popen</b> and
* can act on behalf of them.
* </p>
* @param mixed $_ [optional]
* @param mixed ...$_ [optional]
* @return resource|false a positive handle on success or <b>FALSE</b> on failure.
*/
function dba_popen ($path, $mode, $handler = null, $_ = null) {}
function dba_popen ($path, $mode, $handler = null, ...$_ = null) {}
/**
* Close a DBA database

View File

@ -453,7 +453,7 @@ class DOMImplementation {
* The external subset system identifier.
* </p>
* @return DOMDocumentType A new DOMDocumentType node with its
* ownerDocument set to &null;.
* ownerDocument set to null.
*/
public function createDocumentType ($qualifiedName = null, $publicId = null, $systemId = null) {}
@ -466,8 +466,8 @@ class DOMImplementation {
* @param string $qualifiedName [optional] <p>
* The qualified name of the document element to create.
* </p>
* @param DOMDocumentType $doctype [optional] <p>
* The type of document to create or &null;.
* @param DOMDocumentType|null $doctype [optional] <p>
* The type of document to create or null.
* </p>
* @return DOMDocument A new DOMDocument object. If
* namespaceURI, qualifiedName,
@ -514,14 +514,14 @@ class DOMDocumentFragment extends DOMNode implements DOMParentNode {
/**
* The DOMDocument class represents an entire HTML or XML
* document; serves as the root of the document tree.
* @link https://php.net/manual/class.domdocument.php
* @link https://php.net/manual/en/class.domdocument.php
*/
class DOMDocument extends DOMNode implements DOMParentNode {
/**
* @var string
* Deprecated. Actual encoding of the document, is a readonly equivalent to encoding.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.actualencoding
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.actualencoding
* @deprecated
*/
public $actualEncoding;
@ -529,7 +529,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* @var DOMConfiguration
* Deprecated. Configuration used when {@link DOMDocument::normalizeDocument()} is invoked.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.config
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.config
* @deprecated
*/
public $config;
@ -537,7 +537,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* @var DOMDocumentType
* The Document Type Declaration associated with this document.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.doctype
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.doctype
*/
public $doctype;
@ -545,14 +545,14 @@ class DOMDocument extends DOMNode implements DOMParentNode {
* @var DOMElement
* This is a convenience attribute that allows direct access to the child node
* that is the document element of the document.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.documentelement
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.documentelement
*/
public $documentElement;
/**
* @var string|null
* The location of the document or NULL if undefined.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.documenturi
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.documenturi
*/
public $documentURI;
@ -561,28 +561,28 @@ class DOMDocument extends DOMNode implements DOMParentNode {
* Encoding of the document, as specified by the XML declaration. This attribute is not present
* in the final DOM Level 3 specification, but is the only way of manipulating XML document
* encoding in this implementation.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.encoding
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.encoding
*/
public $encoding ;
/**
* @var bool
* Nicely formats output with indentation and extra space.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.formatoutput
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.formatoutput
*/
public $formatOutput ;
/**
* @var DOMImplementation
* The <classname>DOMImplementation</classname> object that handles this document.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.implementation
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.implementation
*/
public $implementation ;
/**
* @var bool
* Do not remove redundant white space. Default to TRUE.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.preservewhitespace
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.preservewhitespace
*/
public $preserveWhiteSpace = true ;
@ -590,7 +590,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
* @var bool
* Proprietary. Enables recovery mode, i.e. trying to parse non-well formed documents.
* This attribute is not part of the DOM specification and is specific to libxml.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.recover
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.recover
*/
public $recover ;
@ -598,7 +598,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
* @var bool
* Set it to TRUE to load external entities from a doctype declaration. This is useful for
* including character entities in your XML document.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.resolveexternals
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.resolveexternals
*/
public $resolveExternals ;
@ -606,7 +606,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
* @var bool
* Deprecated. Whether or not the document is standalone, as specified by the XML declaration,
* corresponds to xmlStandalone.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.standalone
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.standalone
* @deprecated
*/
public $standalone ;
@ -614,7 +614,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* @var bool
* Throws <classname>DOMException</classname> on errors. Default to TRUE.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.stricterrorchecking
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.stricterrorchecking
*/
public $strictErrorChecking = true ;
@ -622,21 +622,21 @@ class DOMDocument extends DOMNode implements DOMParentNode {
* @var bool
* Proprietary. Whether or not to substitute entities. This attribute is not part of the DOM
* specification and is specific to libxml.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.substituteentities
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.substituteentities
*/
public $substituteEntities ;
/**
* @var bool
* Loads and validates against the DTD. Default to FALSE.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.validateonparse
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.validateonparse
*/
public $validateOnParse = false ;
/**
* @var string
* Deprecated. Version of XML, corresponds to xmlVersion
* @link https://php.net/manual/class.domdocument.php#domdocument.props.version
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.version
*/
public $version ;
@ -644,7 +644,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
* @var string
* An attribute specifying, as part of the XML declaration, the encoding of this document. This is NULL when
* unspecified or when it is not known, such as when the Document was created in memory.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.xmlencoding
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.xmlencoding
*/
public $xmlEncoding ;
@ -652,7 +652,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
* @var bool
* An attribute specifying, as part of the XML declaration, whether this document is standalone.
* This is FALSE when unspecified.
* @link https://php.net/manual/class.domdocument.php#domdocument.props.xmlstandalone
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.xmlstandalone
*/
public $xmlStandalone ;
@ -660,13 +660,13 @@ class DOMDocument extends DOMNode implements DOMParentNode {
* @var string
* An attribute specifying, as part of the XML declaration, the version number of this document. If there is no
* declaration and if this document supports the "XML" feature, the value is "1.0".
* @link https://php.net/manual/class.domdocument.php#domdocument.props.xmlversion
* @link https://php.net/manual/en/class.domdocument.php#domdocument.props.xmlversion
*/
public $xmlVersion ;
/**
* Create new element node
* @link https://php.net/manual/domdocument.createelement.php
* @link https://php.net/manual/en/domdocument.createelement.php
* @param string $name <p>
* The tag name of the element.
* </p>
@ -681,14 +681,14 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Create new document fragment
* @link https://php.net/manual/domdocument.createdocumentfragment.php
* @link https://php.net/manual/en/domdocument.createdocumentfragment.php
* @return DOMDocumentFragment|false The new DOMDocumentFragment or false if an error occurred.
*/
public function createDocumentFragment () {}
/**
* Create new text node
* @link https://php.net/manual/domdocument.createtextnode.php
* @link https://php.net/manual/en/domdocument.createtextnode.php
* @param string $content <p>
* The content of the text.
* </p>
@ -698,7 +698,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Create new comment node
* @link https://php.net/manual/domdocument.createcomment.php
* @link https://php.net/manual/en/domdocument.createcomment.php
* @param string $data <p>
* The content of the comment.
* </p>
@ -708,7 +708,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Create new cdata node
* @link https://php.net/manual/domdocument.createcdatasection.php
* @link https://php.net/manual/en/domdocument.createcdatasection.php
* @param string $data <p>
* The content of the cdata.
* </p>
@ -718,7 +718,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Creates new PI node
* @link https://php.net/manual/domdocument.createprocessinginstruction.php
* @link https://php.net/manual/en/domdocument.createprocessinginstruction.php
* @param string $target <p>
* The target of the processing instruction.
* </p>
@ -731,7 +731,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Create new attribute
* @link https://php.net/manual/domdocument.createattribute.php
* @link https://php.net/manual/en/domdocument.createattribute.php
* @param string $name <p>
* The name of the attribute.
* </p>
@ -741,7 +741,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Create new entity reference node
* @link https://php.net/manual/domdocument.createentityreference.php
* @link https://php.net/manual/en/domdocument.createentityreference.php
* @param string $name <p>
* The content of the entity reference, e.g. the entity reference minus
* the leading &amp; and the trailing
@ -754,7 +754,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Searches for all elements with given tag name
* @link https://php.net/manual/domdocument.getelementsbytagname.php
* @link https://php.net/manual/en/domdocument.getelementsbytagname.php
* @param string $name <p>
* The name of the tag to match on. The special value *
* matches all tags.
@ -766,7 +766,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Import node into current document
* @link https://php.net/manual/domdocument.importnode.php
* @link https://php.net/manual/en/domdocument.importnode.php
* @param DOMNode $importedNode <p>
* The node to import.
* </p>
@ -783,7 +783,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Create new element node with an associated namespace
* @link https://php.net/manual/domdocument.createelementns.php
* @link https://php.net/manual/en/domdocument.createelementns.php
* @param string $namespaceURI <p>
* The URI of the namespace.
* </p>
@ -800,7 +800,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Create new attribute node with an associated namespace
* @link https://php.net/manual/domdocument.createattributens.php
* @link https://php.net/manual/en/domdocument.createattributens.php
* @param string $namespaceURI <p>
* The URI of the namespace.
* </p>
@ -813,7 +813,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Searches for all elements with given tag name in specified namespace
* @link https://php.net/manual/domdocument.getelementsbytagnamens.php
* @link https://php.net/manual/en/domdocument.getelementsbytagnamens.php
* @param string $namespaceURI <p>
* The namespace URI of the elements to match on.
* The special value * matches all namespaces.
@ -829,11 +829,11 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Searches for an element with a certain id
* @link https://php.net/manual/domdocument.getelementbyid.php
* @link https://php.net/manual/en/domdocument.getelementbyid.php
* @param string $elementId <p>
* The unique id value for an element.
* </p>
* @return DOMElement|null The DOMElement or &null; if the element is
* @return DOMElement|null The DOMElement or null if the element is
* not found.
*/
public function getElementById ($elementId) {}
@ -855,7 +855,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Normalizes the document
* @link https://php.net/manual/domdocument.normalizedocument.php
* @link https://php.net/manual/en/domdocument.normalizedocument.php
* @return void
*/
public function normalizeDocument () {}
@ -869,7 +869,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Load XML from a file
* @link https://php.net/manual/domdocument.load.php
* @link https://php.net/manual/en/domdocument.load.php
* @param string $filename <p>
* The path to the XML document.
* </p>
@ -885,7 +885,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Dumps the internal XML tree back into a file
* @link https://php.net/manual/domdocument.save.php
* @link https://php.net/manual/en/domdocument.save.php
* @param string $filename <p>
* The path to the saved XML document.
* </p>
@ -898,7 +898,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Load XML from a string
* @link https://php.net/manual/domdocument.loadxml.php
* @link https://php.net/manual/en/domdocument.loadxml.php
* @param string $source <p>
* The string containing the XML.
* </p>
@ -914,7 +914,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Dumps the internal XML tree back into a string
* @link https://php.net/manual/domdocument.savexml.php
* @link https://php.net/manual/en/domdocument.savexml.php
* @param DOMNode $node [optional] <p>
* Use this parameter to output only a specific node without XML declaration
* rather than the entire document.
@ -928,7 +928,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Creates a new DOMDocument object
* @link https://php.net/manual/domdocument.construct.php
* @link https://php.net/manual/en/domdocument.construct.php
* @param string $version [optional] The version number of the document as part of the XML declaration.
* @param string $encoding [optional] The encoding of the document as part of the XML declaration.
*/
@ -936,7 +936,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Validates the document based on its DTD
* @link https://php.net/manual/domdocument.validate.php
* @link https://php.net/manual/en/domdocument.validate.php
* @return bool true on success or false on failure.
* If the document have no DTD attached, this method will return false.
*/
@ -944,7 +944,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Substitutes XIncludes in a DOMDocument Object
* @link https://php.net/manual/domdocument.xinclude.php
* @link https://php.net/manual/en/domdocument.xinclude.php
* @param int $options [optional] <p>
* libxml parameters. Available
* since PHP 5.1.0 and Libxml 2.6.7.
@ -955,7 +955,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Load HTML from a string
* @link https://php.net/manual/domdocument.loadhtml.php
* @link https://php.net/manual/en/domdocument.loadhtml.php
* @param string $source <p>
* The HTML string.
* </p>
@ -971,7 +971,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Load HTML from a file
* @link https://php.net/manual/domdocument.loadhtmlfile.php
* @link https://php.net/manual/en/domdocument.loadhtmlfile.php
* @param string $filename <p>
* The path to the HTML file.
* </p>
@ -987,7 +987,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Dumps the internal document into a string using HTML formatting
* @link https://php.net/manual/domdocument.savehtml.php
* @link https://php.net/manual/en/domdocument.savehtml.php
* @param DOMNode $node [optional] parameter to output a subset of the document.
* @return string|false The HTML, or false if an error occurred.
*/
@ -995,7 +995,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Dumps the internal document into a file using HTML formatting
* @link https://php.net/manual/domdocument.savehtmlfile.php
* @link https://php.net/manual/en/domdocument.savehtmlfile.php
* @param string $filename <p>
* The path to the saved HTML document.
* </p>
@ -1005,7 +1005,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Validates a document based on a schema
* @link https://php.net/manual/domdocument.schemavalidate.php
* @link https://php.net/manual/en/domdocument.schemavalidate.php
* @param string $filename <p>
* The path to the schema.
* </p>
@ -1019,7 +1019,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Validates a document based on a schema
* @link https://php.net/manual/domdocument.schemavalidatesource.php
* @link https://php.net/manual/en/domdocument.schemavalidatesource.php
* @param string $source <p>
* A string containing the schema.
* </p>
@ -1031,7 +1031,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Performs relaxNG validation on the document
* @link https://php.net/manual/domdocument.relaxngvalidate.php
* @link https://php.net/manual/en/domdocument.relaxngvalidate.php
* @param string $filename <p>
* The RNG file.
* </p>
@ -1041,7 +1041,7 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Performs relaxNG validation on the document
* @link https://php.net/manual/domdocument.relaxngvalidatesource.php
* @link https://php.net/manual/en/domdocument.relaxngvalidatesource.php
* @param string $source <p>
* A string containing the RNG schema.
* </p>
@ -1051,13 +1051,13 @@ class DOMDocument extends DOMNode implements DOMParentNode {
/**
* Register extended class used to create base node type
* @link https://php.net/manual/domdocument.registernodeclass.php
* @link https://php.net/manual/en/domdocument.registernodeclass.php
* @param string $baseclass <p>
* The DOM class that you want to extend. You can find a list of these
* classes in the chapter introduction.
* </p>
* @param string $extendedclass <p>
* Your extended class name. If &null; is provided, any previously
* Your extended class name. If null is provided, any previously
* registered class extending baseclass will
* be removed.
* </p>
@ -1088,7 +1088,7 @@ class DOMNodeList implements IteratorAggregate, Countable {
* The range of valid child node indices is 0 to length - 1 inclusive.
* </p>
* @return DOMNode|null The node at the indexth position in the
* DOMNodeList, or &null; if that is not a valid
* DOMNodeList, or null if that is not a valid
* index.
*/
public function item ($index) {}
@ -1118,7 +1118,7 @@ class DOMNamedNodeMap implements IteratorAggregate, Countable {
* The nodeName of the node to retrieve.
* </p>
* @return DOMNode|null A node (of any type) with the specified nodeName, or
* &null; if no node is found.
* null if no node is found.
*/
public function getNamedItem ($name) {}
@ -1138,7 +1138,7 @@ class DOMNamedNodeMap implements IteratorAggregate, Countable {
* @param int $index <p>
* Index into this map.
* </p>
* @return DOMNode|null The node at the indexth position in the map, or &null;
* @return DOMNode|null The node at the indexth position in the map, or null
* if that is not a valid index (greater than or equal to the number of nodes
* in this map).
*/
@ -1154,7 +1154,7 @@ class DOMNamedNodeMap implements IteratorAggregate, Countable {
* The local name of the node to retrieve.
* </p>
* @return DOMNode|null A node (of any type) with the specified local name and namespace URI, or
* &null; if no node is found.
* null if no node is found.
*/
public function getNamedItemNS ($namespaceURI, $localName) {}
@ -1463,7 +1463,7 @@ class DOMElement extends DOMNode implements DOMParentNode, DOMChildNode {
* @param DOMAttr $attr <p>
* The attribute node.
* </p>
* @return DOMAttr|null Old node if the attribute has been replaced or &null;.
* @return DOMAttr|null Old node if the attribute has been replaced or null.
*/
public function setAttributeNode (DOMAttr $attr) {}
@ -1954,7 +1954,7 @@ class DOMEntityReference extends DOMNode {
/**
* Creates a new DOMEntityReference object
* @link https://php.net/manual/en/domentityreference.construct.php
* @param $name string The name of the entity reference.
* @param string $name The name of the entity reference.
*/
public function __construct ($name) {}
@ -1981,8 +1981,8 @@ class DOMProcessingInstruction extends DOMNode {
/**
* Creates a new <classname>DOMProcessingInstruction</classname> object
* @link https://php.net/manual/en/domprocessinginstruction.construct.php
* @param $name string The tag name of the processing instruction.
* @param $value string [optional] The value of the processing instruction.
* @param string $name The tag name of the processing instruction.
* @param string $value [optional] The value of the processing instruction.
*/
public function __construct ($name, $value) {}

View File

@ -264,7 +264,7 @@ function enchant_dict_describe ($dict) {}
* @param string $word <p>
* The word to check
* </p>
* @param array $suggestions [optional] <p>
* @param array &$suggestions [optional] <p>
* If the word is not correctly spelled, this variable will
* contain an array of suggestions.
* </p>

View File

@ -109,13 +109,13 @@ function exif_tagname ($index) {}
* Since 7.2.0 this can either be a path to the file (stream wrappers are also supported as usual)
* or a stream resource.
* </p>
* @param int $width [optional] <p>
* @param int &$width [optional] <p>
* The return width of the returned thumbnail.
* </p>
* @param int $height [optional] <p>
* @param int &$height [optional] <p>
* The returned height of the returned thumbnail.
* </p>
* @param int $imagetype [optional] <p>
* @param int &$imagetype [optional] <p>
* The returned image type of the returned thumbnail. This is either
* TIFF or JPEG.
* </p>

View File

@ -85,7 +85,7 @@ function expect_popen(string $command)
* <td><b>EXP_GLOB</b></td>
* </tr>
* </p>
* @param array $match
* @param array &$match
*
* @return int Returns value associated with the pattern that was matched.
* On failure this function returns: <b>EXP_EOF</b>, <b>EXP_TIMEOUT</b> or <b>EXP_FULLBUFFER</b>

View File

@ -148,11 +148,11 @@ function fann_create_shortcut_array($num_layers, $layers)
* @param int $num_layers
* @param int $num_neurons1
* @param int $num_neurons2
* @param int $_
* @param int ...$_
*
* @return resource|false Returns a neural network resource on success, or false on error.
*/
function fann_create_shortcut($num_layers, $num_neurons1, $num_neurons2, $_ = null)
function fann_create_shortcut($num_layers, $num_neurons1, $num_neurons2, ...$_ = null)
{
}
@ -178,11 +178,11 @@ function fann_create_sparse_array($connection_rate, $num_layers, $layers)
* @param int $num_layers
* @param int $num_neurons1
* @param int $num_neurons2
* @param int $_
* @param int ...$_
*
* @return resource|false Returns a neural network resource on success, or false on error.
*/
function fann_create_sparse($connection_rate, $num_layers, $num_neurons1, $num_neurons2, $_ = null)
function fann_create_sparse($connection_rate, $num_layers, $num_neurons1, $num_neurons2, ...$_ = null)
{
}
@ -206,11 +206,11 @@ function fann_create_standard_array($num_layers, $layers)
* @param int $num_layers
* @param int $num_neurons1
* @param int $num_neurons2
* @param int $_
* @param int ...$_
*
* @return resource|false Returns a neural network resource on success, or false on error.
*/
function fann_create_standard($num_layers, $num_neurons1, $num_neurons2, $_ = null)
function fann_create_standard($num_layers, $num_neurons1, $num_neurons2, ...$_ = null)
{
}

View File

@ -194,7 +194,7 @@ function ftp_chmod ($ftp_stream, $mode, $filename) {}
* @param int $filesize <p>
* The number of bytes to allocate.
* </p>
* @param string $result [optional] <p>
* @param string &$result [optional] <p>
* A textual representation of the servers response will be returned by
* reference in <i>result</i> if a variable is provided.
* </p>

View File

@ -934,11 +934,11 @@ function imagecreatefromgd2part ($filename, $srcX, $srcY, $width, $height) {}
* @link https://php.net/manual/en/function.imagepng.php
* @param resource $image
* @param string $filename [optional] <p>
* The path to save the file to. If not set or &null;, the raw image stream
* The path to save the file to. If not set or null, the raw image stream
* will be outputted directly.
* </p>
* <p>
* &null; is invalid if the quality and
* null is invalid if the quality and
* filters arguments are not used.
* </p>
* @param int $quality [optional] <p>
@ -960,7 +960,7 @@ function imagepng ($image, $filename = null, $quality = null, $filters = null) {
* @link https://php.net/manual/en/function.imagewebp.php
* @param resource $image
* @param string $to [optional] <p>
* The path to save the file to. If not set or &null;, the raw image stream
* The path to save the file to. If not set or null, the raw image stream
* will be outputted directly.
* </p>
* @param int $quality [optional] <p>
@ -976,7 +976,7 @@ function imagewebp ($image, $to = null, $quality = 80) {}
* @link https://php.net/manual/en/function.imagegif.php
* @param resource $image
* @param string $filename [optional] <p>
* The path to save the file to. If not set or &null;, the raw image stream
* The path to save the file to. If not set or null, the raw image stream
* will be outputted directly.
* </p>
* @return bool true on success or false on failure.
@ -988,12 +988,12 @@ function imagegif ($image, $filename = null) {}
* @link https://php.net/manual/en/function.imagejpeg.php
* @param resource $image
* @param string $filename [optional] <p>
* The path to save the file to. If not set or &null;, the raw image stream
* The path to save the file to. If not set or null, the raw image stream
* will be outputted directly.
* </p>
* <p>
* To skip this argument in order to provide the
* quality parameter, use &null;.
* quality parameter, use null.
* </p>
* @param int $quality [optional] <p>
* quality is optional, and ranges from 0 (worst
@ -1009,7 +1009,7 @@ function imagejpeg ($image, $filename = null, $quality = null) {}
* @link https://php.net/manual/en/function.imagewbmp.php
* @param resource $image
* @param string $filename [optional] <p>
* The path to save the file to. If not set or &null;, the raw image stream
* The path to save the file to. If not set or null, the raw image stream
* will be outputted directly.
* </p>
* @param int $foreground [optional] <p>
@ -1027,7 +1027,7 @@ function imagewbmp ($image, $filename = null, $foreground = null) {}
* @link https://php.net/manual/en/function.imagegd.php
* @param resource $image
* @param string $filename [optional] <p>
* The path to save the file to. If not set or &null;, the raw image stream
* The path to save the file to. If not set or null, the raw image stream
* will be outputted directly.
* </p>
* @return bool true on success or false on failure.
@ -1039,7 +1039,7 @@ function imagegd ($image, $filename = null) {}
* @link https://php.net/manual/en/function.imagegd2.php
* @param resource $image
* @param string $filename [optional] <p>
* The path to save the file to. If not set or &null;, the raw image stream
* The path to save the file to. If not set or null, the raw image stream
* will be outputted directly.
* </p>
* @param int $chunk_size [optional] <p>
@ -2063,7 +2063,7 @@ function imagecolormatch ($image1, $image2) {}
* @link https://php.net/manual/en/function.imagexbm.php
* @param resource $image
* @param string $filename <p>
* The path to save the file to. If not set or &null;, the raw image stream
* The path to save the file to. If not set or null, the raw image stream
* will be outputted directly.
* </p>
* @param int $foreground [optional] <p>

View File

@ -11,7 +11,7 @@
* various constants defined with
* this extension (ie: GEOIP_*_EDITION).
* </p>
* @return string the corresponding database version, or <b>NULL</b> on error.
* @return string|null the corresponding database version, or <b>NULL</b> on error.
*/
function geoip_database_info ($database = GEOIP_COUNTRY_EDITION) {}
@ -152,7 +152,7 @@ function geoip_db_get_all_info () {}
* various constants defined with
* this extension (ie: GEOIP_*_EDITION).
* </p>
* @return string the filename of the corresponding database, or <b>NULL</b> on error.
* @return string|null the filename of the corresponding database, or <b>NULL</b> on error.
*/
function geoip_db_filename ($database) {}

View File

@ -5,7 +5,7 @@
/**
* Sets the default domain
* @link https://php.net/manual/en/function.textdomain.php
* @param string $text_domain <p>
* @param string|null $text_domain <p>
* The new message domain, or <b>NULL</b> to get the current setting without
* changing it
* </p>

View File

@ -524,7 +524,7 @@ function gmp_xor ($a, $b) {}
/**
* Set bit
* @link https://php.net/manual/en/function.gmp-setbit.php
* @param resource|string|GMP $a <p>
* @param resource|string|GMP &$a <p>
* The number being set to.
* </p>
* It can be either a GMP number resource, or a
@ -543,7 +543,7 @@ function gmp_setbit (&$a, $index, $set_clear = true) {}
/**
* Clear bit
* @link https://php.net/manual/en/function.gmp-clrbit.php
* @param resource|string|GMP $a It can be either a GMP number resource, or a
* @param resource|string|GMP &$a It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>
* @param int $index It can be either a GMP number resource, or a
* numeric string given that it is possible to convert the latter to a number.</p>

View File

@ -54,7 +54,7 @@ class gnupg {
*
* * @param string $signed_text
* @param string $signature
* @param string $plaintext
* @param string &$plaintext
*
* @return array|false On success, this function returns information about the signature.
* On failure, this function returns false.
@ -136,7 +136,7 @@ class gnupg {
* @link https://php.net/manual/en/function.gnupg-decryptverify.php
*
* @param string $text
* @param string $plaintext
* @param string &$plaintext
*
* @return array|false On success, this function returns information about the signature and
* fills the parameter with the decrypted text.

View File

@ -1404,14 +1404,14 @@ class HttpRequest {
/**
* @param $url
* @param $options [optional]
* @param $info [optional]
* @param &$info [optional]
*/
public static function get ($url, $options, &$info) {}
/**
* @param $url
* @param $options [optional]
* @param $info [optional]
* @param &$info [optional]
*/
public static function head ($url, $options, &$info) {}
@ -1419,7 +1419,7 @@ class HttpRequest {
* @param $url
* @param $data
* @param $options [optional]
* @param $info [optional]
* @param &$info [optional]
*/
public static function postData ($url, $data, $options, &$info) {}
@ -1427,7 +1427,7 @@ class HttpRequest {
* @param $url
* @param $data
* @param $options [optional]
* @param $info [optional]
* @param &$info [optional]
*/
public static function postFields ($url, $data, $options, &$info) {}
@ -1435,7 +1435,7 @@ class HttpRequest {
* @param $url
* @param $data
* @param $options [optional]
* @param $info [optional]
* @param &$info [optional]
*/
public static function putData ($url, $data, $options, &$info) {}
@ -1443,7 +1443,7 @@ class HttpRequest {
* @param $url
* @param $file
* @param $options [optional]
* @param $info [optional]
* @param &$info [optional]
*/
public static function putFile ($url, $file, $options, &$info) {}
@ -1451,7 +1451,7 @@ class HttpRequest {
* @param $url
* @param $stream
* @param $options [optional]
* @param $info [optional]
* @param &$info [optional]
*/
public static function putStream ($url, $stream, $options, &$info) {}
@ -2026,7 +2026,7 @@ class HttpUtil {
* @param $url
* @param $parts [optional]
* @param $flags [optional]
* @param $composed [optional]
* @param &$composed [optional]
*/
public static function buildUrl ($url, $parts, $flags, &$composed) {}
@ -2039,19 +2039,19 @@ class HttpUtil {
/**
* @param $supported
* @param $result [optional]
* @param &$result [optional]
*/
public static function negotiateLanguage ($supported, &$result) {}
/**
* @param $supported
* @param $result [optional]
* @param &$result [optional]
*/
public static function negotiateCharset ($supported, &$result) {}
/**
* @param $supported
* @param $result [optional]
* @param &$result [optional]
*/
public static function negotiateContentType ($supported, &$result) {}
@ -2148,7 +2148,7 @@ function http_date ($timestamp = null) {}
* a bitmask of binary or'ed HTTP_URL constants;
* HTTP_URL_REPLACE is the default
* </p>
* @param array $new_url [optional] <p>
* @param array &$new_url [optional] <p>
* if set, it will be filled with the parts of the composed url like parse_url would return
* </p>
* @return string the new URL as string on success or false on failure.
@ -2179,7 +2179,7 @@ function http_build_str (array $query, $prefix = null, $arg_separator = null) {}
* @param array $supported <p>
* array containing the supported languages as values
* </p>
* @param array $result [optional] <p>
* @param array &$result [optional] <p>
* will be filled with an array containing the negotiation results
* </p>
* @return string the negotiated language or the default language (i.e. first array entry) if none match.
@ -2193,7 +2193,7 @@ function http_negotiate_language (array $supported, array &$result = null ) {}
* @param array $supported <p>
* array containing the supported charsets as values
* </p>
* @param array $result [optional] <p>
* @param array &$result [optional] <p>
* will be filled with an array containing the negotiation results
* </p>
* @return string the negotiated charset or the default charset (i.e. first array entry) if none match.
@ -2207,7 +2207,7 @@ function http_negotiate_charset (array $supported, array &$result = null ) {}
* @param array $supported <p>
* array containing the supported content types as values
* </p>
* @param array $result [optional] <p>
* @param array &$result [optional] <p>
* will be filled with an array containing the negotiation results
* </p>
* @return string the negotiated content type or the default content type (i.e. first array entry) if none match.
@ -2537,7 +2537,7 @@ function http_persistent_handles_ident ($ident) {}
* @param array $options [optional] <p>
* &link.http.request.options;
* </p>
* @param array $info [optional] <p>
* @param array &$info [optional] <p>
* Will be filled with request/response information
* </p>
* @return string
@ -2554,7 +2554,7 @@ function http_get ($url, array $options = null , array &$info = null ) {}
* @param array $options [optional] <p>
* &link.http.request.options;
* </p>
* @param array $info [optional] <p>
* @param array &$info [optional] <p>
* &link.http.request.info;
* </p>
* @return string
@ -2574,7 +2574,7 @@ function http_head ($url = null, array $options = null , array &$info = null )
* @param array $options [optional] <p>
* &link.http.request.options;
* </p>
* @param array $info [optional] <p>
* @param array &$info [optional] <p>
* &link.http.request.info;
* </p>
* @return string
@ -2597,7 +2597,7 @@ function http_post_data ($url, $data = null, array $options = null , array &$in
* @param array $options [optional] <p>
* &link.http.request.options;
* </p>
* @param array $info [optional] <p>
* @param array &$info [optional] <p>
* &link.http.request.info;
* </p>
* @return string
@ -2617,7 +2617,7 @@ function http_post_fields ($url, array $data = null , array $files = null , ar
* @param array $options [optional] <p>
* &link.http.request.options;
* </p>
* @param array $info [optional] <p>
* @param array &$info [optional] <p>
* &link.http.request.info;
* </p>
* @return string
@ -2637,7 +2637,7 @@ function http_put_data ($url, $data = null, array $options = null , array &$inf
* @param array $options [optional] <p>
* &link.http.request.options;
* </p>
* @param array $info [optional] <p>
* @param array &$info [optional] <p>
* &link.http.request.info;
* </p>
* @return string
@ -2657,7 +2657,7 @@ function http_put_file ($url, $file = null, array $options = null , array &$inf
* @param array $options [optional] <p>
* &link.http.request.options;
* </p>
* @param array $info [optional] <p>
* @param array &$info [optional] <p>
* &link.http.request.info;
* </p>
* @return string
@ -2680,7 +2680,7 @@ function http_put_stream ($url, $stream = null, array $options = null , array &
* @param array $options [optional] <p>
* &link.http.request.options;
* </p>
* @param array $info [optional] <p>
* @param array &$info [optional] <p>
* &link.http.request.info;
* </p>
* @return string

View File

@ -653,7 +653,7 @@ class Env {
* Retrieve one or all headers of the current HTTP request.
*
* @param string $header_name The key of a header to retrieve.
* @return NULL|string|array NULL if $header_name was not found
* @return string|null|array NULL if $header_name was not found
* or string the compound header when $header_name was found
* or array of all headers if $header_name was not specified
*/
@ -668,7 +668,7 @@ class Env {
* Get one or all HTTP response headers to be sent.
*
* @param string $header_name The name of the response header to retrieve.
* @return string|NULL|array string the compound value of the response header to send
* @return string|array|null string the compound value of the response header to send
* or NULL if the header was not found
* or array of all response headers, if $header_name was not specified
*/
@ -699,8 +699,8 @@ class Env {
* @param string $params HTTP header parameter's value to negotiate.
* @param array $supported List of supported negotiation operands.
* @param string $prim_typ_sep A "primary type separator", i.e. that would be a hyphen for content language negotiation (en-US, de-DE, etc.).
* @param array $result Out parameter recording negotiation results.
* @return NULL|string NULL if negotiation fails.
* @param array &$result Out parameter recording negotiation results.
* @return string|null NULL if negotiation fails.
* or string the closest match negotiated, or the default (first entry of $supported).
*/
function negotiate(string $params, array $supported, string $prim_typ_sep = null, array &$result = null) {}
@ -711,8 +711,8 @@ class Env {
* > The first element of $supported character sets serves as a default if no character set matches.
*
* @param array $supported List of supported content character sets.
* @param array $result Out parameter recording negotiation results.
* @return NULL|string NULL if negotiation fails.
* @param array &$result Out parameter recording negotiation results.
* @return string|null NULL if negotiation fails.
* or string the negotiated character set.
*/
function negotiateCharset(array $supported, array &$result = null) {}
@ -723,8 +723,8 @@ class Env {
* > The first element of $supported content types serves as a default if no content-type matches.
*
* @param array $supported List of supported MIME content types.
* @param array $result Out parameter recording negotiation results.
* @return NULL|string NULL if negotiation fails.
* @param array &$result Out parameter recording negotiation results.
* @return string|null NULL if negotiation fails.
* or string the negotiated content type.
*/
function negotiateContentType(array $supported, array &$result = null) {}
@ -735,8 +735,8 @@ class Env {
* > The first element of $supported encodings serves as a default if no encoding matches.
*
* @param array $supported List of supported content encodings.
* @param array $result Out parameter recording negotiation results.
* @return NULL|string NULL if negotiation fails.
* @param array &$result Out parameter recording negotiation results.
* @return string|null NULL if negotiation fails.
* or string the negotiated encoding.
*/
function negotiateEncoding(array $supported, array &$result = null) {}
@ -747,8 +747,8 @@ class Env {
* > The first element of $supported languages serves as a default if no language matches.
*
* @param array $supported List of supported content languages.
* @param array $result Out parameter recording negotiation results.
* @return NULL|string NULL if negotiation fails.
* @param array &$result Out parameter recording negotiation results.
* @return string|null NULL if negotiation fails.
* or string the negotiated language.
*/
function negotiateLanguage(array $supported, array &$result = null) {}
@ -863,8 +863,8 @@ class Header implements \Serializable {
* > The first element of $supported serves as a default if no operand matches.
*
* @param array $supported The list of supported values to negotiate.
* @param array $result Out parameter recording the negotiation results.
* @return NULL|string NULL if negotiation fails.
* @param array &$result Out parameter recording the negotiation results.
* @return string|null NULL if negotiation fails.
* or string the closest match negotiated, or the default (first entry of $supported).
*/
function negotiate(array $supported, array &$result = null) {}
@ -1132,7 +1132,7 @@ class Message implements \Countable, \Serializable, \Iterator {
*
* See http\Message::splitMultipartBody().
*
* @param string $boundary A reference where the boundary string will be stored.
* @param string &$boundary A reference where the boundary string will be stored.
* @return bool whether this is a message with a multipart "Content-Type".
*/
function isMultipart(string &$boundary = null) {}
@ -1642,7 +1642,7 @@ class QueryString implements \Serializable, \ArrayAccess, \IteratorAggregate {
* Implements ArrayAccess.
*
* @param mixed $offset The offset to look up.
* @return mixed|NULL mixed the value locate at offset $name.
* @return mixed|null mixed the value locate at offset $name.
* or NULL if key $name could not be found.
*/
function offsetGet($offset) {}
@ -2441,7 +2441,7 @@ class Dechunk extends \http\Encoding\Stream {
* Decode chunked encoded data.
*
* @param string $data The data to decode.
* @param int $decoded_len Out parameter with the length of $data that's been decoded.
* @param int &$decoded_len Out parameter with the length of $data that's been decoded.
* Should be ```strlen($data)``` if not truncated.
* @return string|string|string|false string the decoded data.
* or string the unencoded data.
@ -3007,7 +3007,7 @@ class Parser {
*
* @param string $data The (part of the) header to parse.
* @param int $flags Any combination of [parser flags](http/Header/Parser#Parser.flags:).
* @param array $header Successfully parsed headers.
* @param array &$header Successfully parsed headers.
* @throws \http\Exception\InvalidArgumentException
* @return int http\Header\Parser::STATE_* constant.
*/
@ -3017,7 +3017,7 @@ class Parser {
*
* @param resource $stream The header stream to parse from.
* @param int $flags Any combination of [parser flags](http/Header/Parser#Parser.flags:).
* @param array $headers The headers parsed.
* @param array &$headers The headers parsed.
* @throws \http\Exception\InvalidArgumentException
* @throws \http\Exception\UnexpectedValueException
* @return int http\Header\Parser::STATE_* constant.
@ -3264,7 +3264,7 @@ class Parser {
* @throws \http\Exception\InvalidArgumentException
* @return int http\Message\Parser::STATE_* constant.
*/
function parse(string $data, int $flags, \http\Message &$message) {}
function parse(string $data, int $flags, \http\Message $message) {}
/**
* Parse a stream.
*
@ -3275,5 +3275,5 @@ class Parser {
* @throws \http\Exception\UnexpectedValueException
* @return int http\Message\Parser::STATE_* constant.
*/
function stream($stream, int $flags, \http\Message &$message) {}
function stream($stream, int $flags, \http\Message $message) {}
}

View File

@ -23,14 +23,14 @@
* The username with which you are connecting to the database.
* </p>
* <p>
* For uncataloged connections, you must pass a &null; value or empty
* For uncataloged connections, you must pass a null value or empty
* string.
* </p>
* @param string $password <p>
* The password with which you are connecting to the database.
* </p>
* <p>
* For uncataloged connections, you must pass a &null; value or empty
* For uncataloged connections, you must pass a null value or empty
* string.
* </p>
* @param array $options <p>
@ -167,10 +167,10 @@ function db2_close ($connection) {}
* </p>
* @param string $qualifier <p>
* A qualifier for DB2 databases running on OS/390 or z/OS servers. For
* other databases, pass &null; or an empty string.
* other databases, pass null or an empty string.
* </p>
* @param string $schema <p>
* The schema which contains the tables. To match all schemas, pass &null;
* The schema which contains the tables. To match all schemas, pass null
* or an empty string.
* </p>
* @param string $table_name
@ -230,7 +230,7 @@ function db2_columnprivileges () {}
* </p>
* @param string $qualifier <p>
* A qualifier for DB2 databases running on OS/390 or z/OS servers. For
* other databases, pass &null; or an empty string.
* other databases, pass null or an empty string.
* </p>
* @param string $schema <p>
* The schema which contains the tables. To match all schemas, pass
@ -283,7 +283,7 @@ function db2_columnprivileges () {}
* <tr valign="top">
* <td>DECIMAL_DIGITS</td>
* <td>
* The scale of the column, or &null; where scale is not applicable.
* The scale of the column, or null where scale is not applicable.
* </td>
* </tr>
* <tr valign="top">
@ -291,7 +291,7 @@ function db2_columnprivileges () {}
* <td>
* An integer value of either 10 (representing
* an exact numeric data type), 2 (representing an
* approximate numeric data type), or &null; (representing a data type for
* approximate numeric data type), or null (representing a data type for
* which radix is not applicable).
* </td>
* </tr>
@ -316,14 +316,14 @@ function db2_columnprivileges () {}
* <td>SQL_DATETIME_SUB</td>
* <td>
* Returns an integer value representing a datetime subtype code,
* or &null; for SQL data types to which this does not apply.
* or null for SQL data types to which this does not apply.
* </td>
* </tr>
* <tr valign="top">
* <td>CHAR_OCTET_LENGTH</td>
* <td>
* Maximum length in octets for a character data type column, which
* matches COLUMN_SIZE for single-byte character set data, or &null; for
* matches COLUMN_SIZE for single-byte character set data, or null for
* non-character data types.
* </td>
* </tr>
@ -349,11 +349,11 @@ function db2_columns ($connection, $qualifier = null, $schema = null, $table_nam
* </p>
* @param string $qualifier <p>
* A qualifier for DB2 databases running on OS/390 or z/OS servers. For
* other databases, pass &null; or an empty string.
* other databases, pass null or an empty string.
* </p>
* @param string $schema <p>
* The schema which contains the tables. If schema
* is &null;, db2_foreign_keys matches the schema for
* is null, db2_foreign_keys matches the schema for
* the current connection.
* </p>
* @param string $table_name
@ -453,11 +453,11 @@ function db2_foreignkeys () {}
* </p>
* @param string $qualifier <p>
* A qualifier for DB2 databases running on OS/390 or z/OS servers. For
* other databases, pass &null; or an empty string.
* other databases, pass null or an empty string.
* </p>
* @param string $schema <p>
* The schema which contains the tables. If schema
* is &null;, db2_primary_keys matches the schema for
* is null, db2_primary_keys matches the schema for
* the current connection.
* </p>
* @param string $table_name
@ -510,7 +510,7 @@ function db2_primarykeys () {}
* </p>
* @param string $qualifier <p>
* A qualifier for DB2 databases running on OS/390 or z/OS servers. For
* other databases, pass &null; or an empty string.
* other databases, pass null or an empty string.
* </p>
* @param string $schema <p>
* The schema which contains the procedures. This parameter accepts a
@ -525,7 +525,7 @@ function db2_primarykeys () {}
* @param string $parameter <p>
* The name of the parameter. This parameter accepts a search pattern
* containing _ and % as wildcards.
* If this parameter is &null;, all parameters for the specified stored
* If this parameter is null, all parameters for the specified stored
* procedures are returned.
* </p>
* @return resource|false A statement resource with a result set containing rows describing
@ -537,7 +537,7 @@ function db2_primarykeys () {}
* </tr>
* <tr valign="top">
* <td>PROCEDURE_CAT</td>
* <td>The catalog that contains the procedure. The value is &null; if
* <td>The catalog that contains the procedure. The value is null if
* this table does not have catalogs.</td>
* </tr>
* <tr valign="top">
@ -598,7 +598,7 @@ function db2_primarykeys () {}
* <tr valign="top">
* <td>DECIMAL_DIGITS</td>
* <td>
* The scale of the parameter, or &null; where scale is not applicable.
* The scale of the parameter, or null where scale is not applicable.
* </td>
* </tr>
* <tr valign="top">
@ -606,7 +606,7 @@ function db2_primarykeys () {}
* <td>
* An integer value of either 10 (representing
* an exact numeric data type), 2 (representing an
* approximate numeric data type), or &null; (representing a data type for
* approximate numeric data type), or null (representing a data type for
* which radix is not applicable).
* </td>
* </tr>
@ -631,14 +631,14 @@ function db2_primarykeys () {}
* <td>SQL_DATETIME_SUB</td>
* <td>
* Returns an integer value representing a datetime subtype code,
* or &null; for SQL data types to which this does not apply.
* or null for SQL data types to which this does not apply.
* </td>
* </tr>
* <tr valign="top">
* <td>CHAR_OCTET_LENGTH</td>
* <td>
* Maximum length in octets for a character data type parameter, which
* matches COLUMN_SIZE for single-byte character set data, or &null; for
* matches COLUMN_SIZE for single-byte character set data, or null for
* non-character data types.
* </td>
* </tr>
@ -651,8 +651,8 @@ function db2_primarykeys () {}
* <td>IS_NULLABLE</td>
* <td>
* A string value where 'YES' means that the parameter accepts or
* returns &null; values and 'NO' means that the parameter does not
* accept or return &null; values.
* returns null values and 'NO' means that the parameter does not
* accept or return null values.
* </td>
* </tr>
*/
@ -668,7 +668,7 @@ function db2_procedurecolumns () {}
* </p>
* @param string $qualifier <p>
* A qualifier for DB2 databases running on OS/390 or z/OS servers. For
* other databases, pass &null; or an empty string.
* other databases, pass null or an empty string.
* </p>
* @param string $schema <p>
* The schema which contains the procedures. This parameter accepts a
@ -689,7 +689,7 @@ function db2_procedurecolumns () {}
* </tr>
* <tr valign="top">
* <td>PROCEDURE_CAT</td>
* <td>The catalog that contains the procedure. The value is &null; if
* <td>The catalog that contains the procedure. The value is null if
* this table does not have catalogs.</td>
* </tr>
* <tr valign="top">
@ -732,7 +732,7 @@ function db2_procedures ($connection, $qualifier, $schema, $procedure) {}
* </p>
* @param string $qualifier <p>
* A qualifier for DB2 databases running on OS/390 or z/OS servers. For
* other databases, pass &null; or an empty string.
* other databases, pass null or an empty string.
* </p>
* @param string $schema <p>
* The schema which contains the tables.
@ -831,7 +831,7 @@ function db2_procedures ($connection, $qualifier, $schema, $procedure) {}
* <tr valign="top">
* <td>DECIMAL_DIGITS</td>
* <td>
* The scale of the column, or &null; where scale is not applicable.
* The scale of the column, or null where scale is not applicable.
* </td>
* </tr>
* <tr valign="top">
@ -839,7 +839,7 @@ function db2_procedures ($connection, $qualifier, $schema, $procedure) {}
* <td>
* An integer value of either 10 (representing
* an exact numeric data type), 2 (representing an
* approximate numeric data type), or &null; (representing a data type for
* approximate numeric data type), or null (representing a data type for
* which radix is not applicable).
* </td>
* </tr>
@ -860,11 +860,11 @@ function db2_specialcolumns () {}
* </p>
* @param string $qualifier <p>
* A qualifier for DB2 databases running on OS/390 or z/OS servers. For
* other databases, pass &null; or an empty string.
* other databases, pass null or an empty string.
* </p>
* @param string $schema <p>
* The schema that contains the targeted table. If this parameter is
* &null;, the statistics and indexes are returned for the schema of the
* null, the statistics and indexes are returned for the schema of the
* current user.
* </p>
* @param string $table_name <p>
@ -885,7 +885,7 @@ function db2_specialcolumns () {}
* </tr>
* <tr valign="top">
* <td>TABLE_CAT</td>
* <td>The catalog that contains the table. The value is &null; if
* <td>The catalog that contains the table. The value is null if
* this table does not have catalogs.</td>
* </tr>
* <tr valign="top">
@ -915,7 +915,7 @@ function db2_specialcolumns () {}
* <td>The index values must be unique.</td>
* </tr>
* <tr valign="top">
* <td>&null;</td>
* <td>null</td>
* <td>This row is statistics information for the table itself.</td>
* </tr>
* </p>
@ -962,12 +962,12 @@ function db2_specialcolumns () {}
* </tr>
* <tr valign="top">
* <td>ORDINAL_POSITION</td>
* <td>The 1-indexed position of the column in the index. &null; if
* <td>The 1-indexed position of the column in the index. null if
* the row contains statistics information about the table itself.</td>
* </tr>
* <tr valign="top">
* <td>COLUMN_NAME</td>
* <td>The name of the column in the index. &null; if the row
* <td>The name of the column in the index. null if the row
* contains statistics information about the table itself.</td>
* </tr>
* <tr valign="top">
@ -975,7 +975,7 @@ function db2_specialcolumns () {}
* <td>
* A if the column is sorted in ascending order,
* D if the column is sorted in descending order,
* &null; if the row contains statistics information about the table
* null if the row contains statistics information about the table
* itself.
* </td>
* </tr>
@ -1011,7 +1011,7 @@ function db2_specialcolumns () {}
* </tr>
* <tr valign="top">
* <td>FILTER_CONDITION</td>
* <td>Always returns &null;.</td>
* <td>Always returns null.</td>
* </tr>
*/
function db2_statistics ($connection, $qualifier, $schema, $table_name, $unique) {}
@ -1024,7 +1024,7 @@ function db2_statistics ($connection, $qualifier, $schema, $table_name, $unique)
* </p>
* @param string $qualifier <p>
* A qualifier for DB2 databases running on OS/390 or z/OS servers. For
* other databases, pass &null; or an empty string.
* other databases, pass null or an empty string.
* </p>
* @param string $schema <p>
* The schema which contains the tables. This parameter accepts a
@ -1044,7 +1044,7 @@ function db2_statistics ($connection, $qualifier, $schema, $table_name, $unique)
* </tr>
* <tr valign="top">
* <td>TABLE_CAT</td>
* <td>The catalog that contains the table. The value is &null; if
* <td>The catalog that contains the table. The value is null if
* this table does not have catalogs.</td>
* </tr>
* <tr valign="top">
@ -1091,7 +1091,7 @@ function db2_tableprivileges () {}
* </p>
* @param string $qualifier <p>
* A qualifier for DB2 databases running on OS/390 or z/OS servers. For
* other databases, pass &null; or an empty string.
* other databases, pass null or an empty string.
* </p>
* @param string $schema <p>
* The schema which contains the tables. This parameter accepts a
@ -1109,7 +1109,7 @@ function db2_tableprivileges () {}
* </tr>
* <tr valign="top">
* <td>TABLE_CAT</td>
* <td>The catalog that contains the table. The value is &null; if
* <td>The catalog that contains the table. The value is null if
* this table does not have catalogs.</td>
* </tr>
* <tr valign="top">
@ -1743,7 +1743,7 @@ define ('DB2_BINARY', 1);
define ('DB2_CONVERT', 2);
/**
* Specifies that binary data shall be converted to a &null; value.
* Specifies that binary data shall be converted to a null value.
* @link https://php.net/manual/en/ibm-db2.constants.php
*/
define ('DB2_PASSTHRU', 3);

View File

@ -4687,8 +4687,8 @@ class Imagick implements Iterator, Countable {
*
* @link https://php.net/manual/en/imagick.subimagematch.php
* @param Imagick $imagick
* @param array $bestMatch [optional]
* @param float $similarity [optional] A new image that displays the amount of similarity at each pixel.
* @param array &$bestMatch [optional]
* @param float &$similarity [optional] A new image that displays the amount of similarity at each pixel.
* @param float $similarity_threshold [optional] Only used if compiled with ImageMagick (library) > 7
* @param int $metric [optional] Only used if compiled with ImageMagick (library) > 7
* @return Imagick

View File

@ -234,9 +234,8 @@ function ibase_prepare ($query) {}
* @param resource $query <p>
* An InterBase query prepared by ibase_prepare.
* </p>
* @param mixed $bind_arg [optional] <p>
* @param mixed ...$bind_arg [optional] <p>
* </p>
* @param mixed $_ [optional]
* @return resource|bool If the query raises an error, returns false. If it is successful and
* there is a (possibly empty) result set (such as with a SELECT query),
* returns a result identifier. If the query was successful and there were
@ -248,7 +247,7 @@ function ibase_prepare ($query) {}
* succeeded, but did not affect any rows (e.g. an UPDATE of a non-existent
* record) will return true.
*/
function ibase_execute ($query, $bind_arg = null, $_ = null) {}
function ibase_execute ($query, ...$bind_arg = null) {}
/**
* Free memory allocated by a prepared query
@ -656,15 +655,11 @@ function ibase_server_info ($service_handle, $action) {}
/**
* Wait for an event to be posted by the database
* @link https://php.net/manual/en/function.ibase-wait-event.php
* @param string $event_name1 <p>
* The event name.
* </p>
* @param string $event_name2 [optional] <p>
* </p>
* @param string $_ [optional]
* @param string ...$event_names <p>
* The event names.
* @return string the name of the event that was posted.
*/
function ibase_wait_event ($event_name1, $event_name2 = null, $_ = null) {}
function ibase_wait_event (...$event_names) {}
/**
* Register a callback function to be called when events are posted
@ -685,11 +680,11 @@ function ibase_wait_event ($event_name1, $event_name2 = null, $_ = null) {}
* @param string $event_name2 [optional] <p>
* At most 15 events allowed.
* </p>
* @param string $_ [optional]
* @param string ...$_ [optional]
* @return resource The return value is an event resource. This resource can be used to free
* the event handler using ibase_free_event_handler.
*/
function ibase_set_event_handler ($event_handler, $event_name1, $event_name2 = null, $_ = null) {}
function ibase_set_event_handler ($event_handler, $event_name1, $event_name2 = null, ...$_ = null) {}
/**
* Cancels a registered event handler
@ -946,9 +941,7 @@ function fbird_prepare ($query) {}
* @param resource $query <p>
* An InterBase query prepared by fbird_prepare.
* </p>
* @param mixed $bind_arg [optional] <p>
* </p>
* @param mixed $_ [optional]
* @param mixed ...$bind_arg [optional] <p>
* @return resource|bool If the query raises an error, returns false. If it is successful and
* there is a (possibly empty) result set (such as with a SELECT query),
* returns a result identifier. If the query was successful and there were
@ -960,7 +953,7 @@ function fbird_prepare ($query) {}
* succeeded, but did not affect any rows (e.g. an UPDATE of a non-existent
* record) will return true.
*/
function fbird_execute ($query, $bind_arg = null, $_ = null) {}
function fbird_execute ($query, ...$bind_arg = null) {}
/**
* This is an alias of ibase_free_query
@ -1402,15 +1395,11 @@ function fbird_server_info ($service_handle, $action) {}
* This is an alias of ibase_wait_event
* Wait for an event to be posted by the database
* @link https://php.net/manual/en/function.fbird-wait-event.php
* @param string $event_name1 <p>
* The event name.
* </p>
* @param string $event_name2 [optional] <p>
* </p>
* @param string $_ [optional]
* @param string $event_names <p>
* The event names.
* @return string the name of the event that was posted.
*/
function fbird_wait_event ($event_name1, $event_name2 = null, $_ = null) {}
function fbird_wait_event (...$event_names) {}
/**
* This is an alias of ibase_set_event_handler
@ -1426,17 +1415,12 @@ function fbird_wait_event ($event_name1, $event_name2 = null, $_ = null) {}
* canceled. Any other return value is ignored. This function accepts up
* to 15 event arguments.
* </p>
* @param string $event_name1 <p>
* An event name.
* </p>
* @param string $event_name2 [optional] <p>
* At most 15 events allowed.
* </p>
* @param string $_ [optional]
* @param string ...$event_names <p>
* An event names.
* @return resource The return value is an event resource. This resource can be used to free
* the event handler using fbird_free_event_handler.
*/
function fbird_set_event_handler ($event_handler, $event_name1, $event_name2 = null, $_ = null) {}
function fbird_set_event_handler ($event_handler, ...$event_names) {}
/**
* This is an alias of ibase_free_event_handler

View File

@ -671,7 +671,7 @@ class IntlChar {
/**
* Check a binary Unicode property for a code point
* @link https://php.net/manual/ru/intlchar.hasbinaryproperty.php
* @link https://php.net/manual/en/intlchar.hasbinaryproperty.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @param int $property The Unicode property to lookup (see the IntlChar::PROPERTY_* constants).
* @return bool|null Returns TRUE or FALSE according to the binary Unicode property value for codepoint.
@ -682,7 +682,7 @@ class IntlChar {
static public function hasBinaryProperty($codepoint, $property){}
/**
* @link https://php.net/manual/ru/intlchar.charage.php
* @link https://php.net/manual/en/intlchar.charage.php
* Get the "age" of the code point
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return array|null The Unicode version number, as an array. For example, version 1.3.31.2 would be represented as [1, 3, 31, 2].
@ -692,7 +692,7 @@ class IntlChar {
public static function charAge($codepoint) {}
/**
* @link https://php.net/manual/ru/intlchar.chardigitvalue.php
* @link https://php.net/manual/en/intlchar.chardigitvalue.php
* Get the decimal digit value of a decimal digit character
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return int|null The decimal digit value of codepoint, or -1 if it is not a decimal digit character.
@ -703,7 +703,7 @@ class IntlChar {
/**
* Get bidirectional category value for a code point
* @link https://php.net/manual/ru/intlchar.chardirection.php
* @link https://php.net/manual/en/intlchar.chardirection.php
* @param int|string $codepoint <p>The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")</p>
* @return int|null <p>The bidirectional category value; one of the following constants:
* </p>
@ -757,7 +757,7 @@ class IntlChar {
public static function charFromName($characterName, $nameChoice = IntlChar::UNICODE_CHAR_NAME) {}
/**
* @link https://php.net/manual/ru/intlchar.charmirror.php
* @link https://php.net/manual/en/intlchar.charmirror.php
* Get the "mirror-image" character for a code point
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return int|string|null Returns another Unicode code point that may serve as a mirror-image substitute, or codepoint itself if there is no such mapping or codepoint does not have the Bidi_Mirrored property.
@ -768,7 +768,7 @@ class IntlChar {
/**
* Retrieve the name of a Unicode character
* @link https://php.net/manual/ru/intlchar.charname.php
* @link https://php.net/manual/en/intlchar.charname.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @param int $nameChoice [optional] Which set of names to use for the lookup. Can be any of these constants: </p>
* <ul>
@ -785,7 +785,7 @@ class IntlChar {
/**
* Get the general category value for a code point
* @link https://php.net/manual/ru/intlchar.chartype.php
* @link https://php.net/manual/en/intlchar.chartype.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return int|null Returns the general category type, which may be one of the following constants:
* </p><ul>
@ -830,7 +830,7 @@ class IntlChar {
/**
* Return Unicode character by code point value
* @link https://php.net/manual/ru/intlchar.chr.php
* @link https://php.net/manual/en/intlchar.chr.php
* @param mixed $codepoint <p>The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")</p>
* @return string|null A string containing the single character specified by the Unicode code point value.
* Or NULL if <em>codepoint</em> is out of bound.
@ -843,7 +843,7 @@ class IntlChar {
/**
* Get the decimal digit value of a code point for a given radix
* @link https://php.net/manual/ru/intlchar.digit.php
* @link https://php.net/manual/en/intlchar.digit.php
* @param int|string $codepoint <p>The integer codepoint value (e.g. <em>0x2603</em> for <em>U+2603 SNOWMAN</em>), or the character encoded as a UTF-8 string (e.g. <em>"\u{2603}"</em>)</p>
* @param int $radix <p>The radix (defaults to 10).</p>
* @return int|false|null Returns the numeric value represented by the character in the specified radix,
@ -855,7 +855,7 @@ class IntlChar {
/**
* Enumerate all assigned Unicode characters within a range
* @link https://php.net/manual/ru/intlchar.enumcharnames.php
* @link https://php.net/manual/en/intlchar.enumcharnames.php
* @param int|string $start The first code point in the enumeration range.
* @param int|string $limit One more than the last code point in the enumeration range (the first one after the range).
* @param callable $callback<p>
@ -880,7 +880,7 @@ class IntlChar {
/**
* Enumerate all code points with their Unicode general categories
* @link https://php.net/manual/ru/intlchar.enumchartypes.php
* @link https://php.net/manual/en/intlchar.enumchartypes.php
* @param callable $callable <p>
* The function that is to be called for each contiguous range of code points with the same general category.
* The following three arguments will be passed into it:
@ -906,7 +906,7 @@ class IntlChar {
/**
* Get character representation for a given digit and radix
* @link https://php.net/manual/ru/intlchar.fordigit.php
* @link https://php.net/manual/en/intlchar.fordigit.php
* @param int $digit <p>The number to convert to a character.</p>
* @param int $radix [optional] <p>The radix (defaults to 10).</p>
* @return int The character representation (as a string) of the specified digit in the specified radix.
@ -916,7 +916,7 @@ class IntlChar {
/**
* Get the paired bracket character for a code point
* @link https://php.net/manual/ru/intlchar.getbidipairedbracket.php
* @link https://php.net/manual/en/intlchar.getbidipairedbracket.php
* @param int|string $codepoint <p>The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")</p>
* @return int|string|null Returns the paired bracket code point, or <em>codepoint</em> itself if there is no such mapping.
* The return type will be integer unless the code point was passed as a UTF-8 string, in which case a string will be returned.
@ -927,7 +927,7 @@ class IntlChar {
/**
* Get the Unicode allocation block containing a code point
* @link https://php.net/manual/ru/intlchar.getblockcode.php
* @link https://php.net/manual/en/intlchar.getblockcode.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return int|null Returns the block value for <em>codepoint</em>, or NULL if <em>codepoint</em> is out of bound.
* See the <em>IntlChar::BLOCK_CODE_*</em> constants for possible return values.
@ -937,7 +937,7 @@ class IntlChar {
/**
* Get the combining class of a code point
* @link https://php.net/manual/ru/intlchar.getcombiningclass.php
* @link https://php.net/manual/en/intlchar.getcombiningclass.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return int|null Returns the combining class of the character.
* Or NULL if <em>codepoint</em> is out of bound.
@ -947,7 +947,7 @@ class IntlChar {
/**
* Get the FC_NFKC_Closure property for a code point
* @link https://php.net/manual/ru/intlchar.getfc-nfkc-closure.php
* @link https://php.net/manual/en/intlchar.getfc-nfkc-closure.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return string|false|null Returns the FC_NFKC_Closure property string for the codepoint, or an empty string if there is none,
* or NULL if <em>codepoint</em> is out of bound,
@ -958,7 +958,7 @@ class IntlChar {
/**
* Get the max value for a Unicode property
* @link https://php.net/manual/ru/intlchar.getintpropertymaxvalue.php
* @link https://php.net/manual/en/intlchar.getintpropertymaxvalue.php
* @param int $property The Unicode property to lookup (see the IntlChar::PROPERTY_* constants).
* @return int The maximum value returned by {@see IntlChar::getIntPropertyValue()} for a Unicode property. <=0 if the property selector is out of range.
* @since 7.0
@ -967,7 +967,7 @@ class IntlChar {
/**
* Get the min value for a Unicode property
* @link https://php.net/manual/ru/intlchar.getintpropertyminvalue.php
* @link https://php.net/manual/en/intlchar.getintpropertyminvalue.php
* @param int $property The Unicode property to lookup (see the IntlChar::PROPERTY_* constants).
* @return int The minimum value returned by {@see IntlChar::getIntPropertyValue()} for a Unicode property. 0 if the property selector is out of range.
* @since 7.0
@ -976,7 +976,7 @@ class IntlChar {
/**
* Get the value for a Unicode property for a code point
* @link https://php.net/manual/ru/intlchar.getintpropertyvalue.php
* @link https://php.net/manual/en/intlchar.getintpropertyvalue.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @param int $property The Unicode property to lookup (see the IntlChar::PROPERTY_* constants).
* @return int|null <p>
@ -1002,7 +1002,7 @@ class IntlChar {
/**
* Get the numeric value for a Unicode code point
* @link https://php.net/manual/ru/intlchar.getnumericvalue.php
* @link https://php.net/manual/en/intlchar.getnumericvalue.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return float|null Numeric value of codepoint, or float(-123456789) if none is defined, or NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1011,7 +1011,7 @@ class IntlChar {
/**
* Get the property constant value for a given property name
* @link https://php.net/manual/ru/intlchar.getpropertyenum.php
* @link https://php.net/manual/en/intlchar.getpropertyenum.php
* @param string $alias The property name to be matched. The name is compared using "loose matching" as described in PropertyAliases.txt.
* @return int Returns an IntlChar::PROPERTY_ constant value, or <b>IntlChar::PROPERTY_INVALID_CODE</b> if the given name does not match any property.
* @since 7.0
@ -1020,7 +1020,7 @@ class IntlChar {
/**
* Get the Unicode name for a property
* @link https://php.net/manual/ru/intlchar.getpropertyname.php
* @link https://php.net/manual/en/intlchar.getpropertyname.php
* @param int $property <p>The Unicode property to lookup (see the IntlChar::PROPERTY_* constants).</p>
* <p><b>IntlChar::PROPERTY_INVALID_CODE</b> should not be used. Also, if property is out of range, FALSE is returned.</p>
* @param int $nameChoice <p> Selector for which name to get. If out of range, FALSE is returned.</p>
@ -1041,7 +1041,7 @@ class IntlChar {
/**
* Get the property value for a given value name
* @link https://php.net/manual/ru/intlchar.getpropertyvalueenum.php
* @link https://php.net/manual/en/intlchar.getpropertyvalueenum.php
* @param int $property <p>The Unicode property to lookup (see the IntlChar::PROPERTY_* constants).
* If out of range, or this method doesn't work with the given value, IntlChar::PROPERTY_INVALID_CODE is returned</p>
* @param string $name <p> The value name to be matched. The name is compared using "loose matching" as described in PropertyValueAliases.txt.</p>
@ -1052,7 +1052,7 @@ class IntlChar {
/**
* Get the Unicode name for a property value
* @link https://php.net/manual/ru/intlchar.getpropertyvaluename.php
* @link https://php.net/manual/en/intlchar.getpropertyvaluename.php
* @param int $property <p>
* The Unicode property to lookup (see the IntlChar::PROPERTY_* constants).
* If out of range, or this method doesn't work with the given value, FALSE is returned.
@ -1082,7 +1082,7 @@ class IntlChar {
/**
* Get the Unicode version
* @link https://php.net/manual/ru/intlchar.getunicodeversion.php
* @link https://php.net/manual/en/intlchar.getunicodeversion.php
* @return array An array containing the Unicode version number.
* @since 7.0
*/
@ -1090,7 +1090,7 @@ class IntlChar {
/**
* Check if code point is an alphanumeric character
* @link https://php.net/manual/ru/intlchar.isalnum.php
* @link https://php.net/manual/en/intlchar.isalnum.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint is an alphanumeric character, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1099,7 +1099,7 @@ class IntlChar {
/**
* Check if code point is a letter character
* @link https://php.net/manual/ru/intlchar.isalpha.php
* @link https://php.net/manual/en/intlchar.isalpha.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint is a letter character, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1107,7 +1107,7 @@ class IntlChar {
public static function isalpha ($codepoint) {}
/**
* Check if code point is a base character
* @link https://php.net/manual/ru/intlchar.isbase.php
* @link https://php.net/manual/en/intlchar.isbase.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint is a base character, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1115,7 +1115,7 @@ class IntlChar {
public static function isbase ($codepoint ){}
/**
* Check if code point is a "blank" or "horizontal space" character
* @link https://php.net/manual/ru/intlchar.isblank.php
* @link https://php.net/manual/en/intlchar.isblank.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint is either a "blank" or "horizontal space" character, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1124,7 +1124,7 @@ class IntlChar {
/**
* Check if code point is a control character
* @link https://php.net/manual/ru/intlchar.iscntrl.php
* @link https://php.net/manual/en/intlchar.iscntrl.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint is a control character, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1133,7 +1133,7 @@ class IntlChar {
/**
* Check whether the code point is defined
* @link https://php.net/manual/ru/intlchar.isdefined.php
* @link https://php.net/manual/en/intlchar.isdefined.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint is a defined character, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1142,7 +1142,7 @@ class IntlChar {
/**
* Check if code point is a digit character
* @link https://php.net/manual/ru/intlchar.isdigit.php
* @link https://php.net/manual/en/intlchar.isdigit.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint is a digit character, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1150,7 +1150,7 @@ class IntlChar {
public static function isdigit ($codepoint) {}
/**
* Check if code point is a graphic character
* @link https://php.net/manual/ru/intlchar.isgraph.php
* @link https://php.net/manual/en/intlchar.isgraph.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint is a "graphic" character, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1158,7 +1158,7 @@ class IntlChar {
public static function isgraph ($codepoint ) {}
/**
* Check if code point is an ignorable character
* @link https://php.net/manual/ru/intlchar.isidignorable.php
* @link https://php.net/manual/en/intlchar.isidignorable.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint is ignorable in identifiers, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1166,7 +1166,7 @@ class IntlChar {
public static function isIDIgnorable ($codepoint ) {}
/**
* Check if code point is permissible in an identifier
* @link https://php.net/manual/ru/intlchar.isidpart.php
* @link https://php.net/manual/en/intlchar.isidpart.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint is the code point may occur in an identifier, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1175,7 +1175,7 @@ class IntlChar {
/**
* Check if code point is permissible as the first character in an identifier
* @link https://php.net/manual/ru/intlchar.isidstart.php
* @link https://php.net/manual/en/intlchar.isidstart.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint may start an identifier, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1183,7 +1183,7 @@ class IntlChar {
public static function isIDStart ($codepoint ) {}
/**
* Check if code point is an ISO control code
* @link https://php.net/manual/ru/intlchar.isisocontrol.php
* @link https://php.net/manual/en/intlchar.isisocontrol.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint is an ISO control code, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1191,7 +1191,7 @@ class IntlChar {
public static function isISOControl ($codepoint ) {}
/**
* Check if code point is permissible in a Java identifier
* @link https://php.net/manual/ru/intlchar.isjavaidpart.php
* @link https://php.net/manual/en/intlchar.isjavaidpart.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint may occur in a Java identifier, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1199,7 +1199,7 @@ class IntlChar {
public static function isJavaIDPart ($codepoint ) {}
/**
* Check if code point is permissible as the first character in a Java identifier
* @link https://php.net/manual/ru/intlchar.isjavaidstart.php
* @link https://php.net/manual/en/intlchar.isjavaidstart.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint may start a Java identifier, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1207,7 +1207,7 @@ class IntlChar {
public static function isJavaIDStart ($codepoint ) {}
/**
* Check if code point is a space character according to Java
* @link https://php.net/manual/ru/intlchar.isjavaspacechar.php
* @link https://php.net/manual/en/intlchar.isjavaspacechar.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint is a space character according to Java, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1216,7 +1216,7 @@ class IntlChar {
/**
* Check if code point is a lowercase letter
* @link https://php.net/manual/ru/intlchar.islower.php
* @link https://php.net/manual/en/intlchar.islower.php
* @param int|string $codepoint <p>The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN),
* or the character encoded as a UTF-8 string (e.g. "\u{2603}")</p>
* @return bool|null Returns TRUE if codepoint is an Ll lowercase letter, FALSE if not, NULL if <em>codepoint</em> is out of bound.
@ -1225,7 +1225,7 @@ class IntlChar {
public static function islower ($codepoint ) {}
/**
* Check if code point has the Bidi_Mirrored property
* @link https://php.net/manual/ru/intlchar.ismirrored.php
* @link https://php.net/manual/en/intlchar.ismirrored.php
* @param int|string $codepoint <p>The integer codepoint value (e.g. <em>0x2603</em> for <em>U+2603 SNOWMAN</em>), or the character encoded as a UTF-8 string (e.g. <em>"\u{2603}"</em>)</p>
* @return bool|null Returns TRUE if codepoint has the Bidi_Mirrored property, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1234,7 +1234,7 @@ class IntlChar {
/**
* Check if code point is a printable character
* @link https://php.net/manual/ru/intlchar.isprint.php
* @link https://php.net/manual/en/intlchar.isprint.php
* @param int|string $codepoint <p>The integer codepoint value (e.g. <em>0x2603</em> for <em>U+2603 SNOWMAN</em>), or the character encoded as a UTF-8 string (e.g. <em>"\u{2603}"</em>)</p>
* @return bool|null Returns TRUE if codepoint is a printable character, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1243,7 +1243,7 @@ class IntlChar {
/**
* Check if code point is punctuation character
* @link https://php.net/manual/ru/intlchar.ispunct.php
* @link https://php.net/manual/en/intlchar.ispunct.php
* @param int|string $codepoint <p>The integer codepoint value (e.g. <em>0x2603</em> for <em>U+2603 SNOWMAN</em>),
* or the character encoded as a UTF-8 string (e.g. <em>"\u{2603}"</em>)</p>
* @return bool|null Returns TRUE if codepoint is a punctuation character, FALSE if not, NULL if <em>codepoint</em> is out of bound.
@ -1252,7 +1252,7 @@ class IntlChar {
public static function ispunct ($codepoint ) {}
/**
* Check if code point is a space character
* @link https://php.net/manual/ru/intlchar.isspace.php
* @link https://php.net/manual/en/intlchar.isspace.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint is a space character, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1260,7 +1260,7 @@ class IntlChar {
public static function isspace ($codepoint ) {}
/**
* Check if code point is a titlecase letter
* @link https://php.net/manual/ru/intlchar.istitle.php
* @link https://php.net/manual/en/intlchar.istitle.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint is a titlecase letter, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1269,7 +1269,7 @@ class IntlChar {
/**
* Check if code point has the Alphabetic Unicode property
* @link https://php.net/manual/ru/intlchar.isualphabetic.php
* @link https://php.net/manual/en/intlchar.isualphabetic.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint has the Alphabetic Unicode property, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1277,7 +1277,7 @@ class IntlChar {
public static function isUAlphabetic ($codepoint ) {}
/**
* Check if code point has the Lowercase Unicode property
* @link https://php.net/manual/ru/intlchar.isulowercase.php
* @link https://php.net/manual/en/intlchar.isulowercase.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint has the Lowercase Unicode property, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1285,7 +1285,7 @@ class IntlChar {
public static function isULowercase ($codepoint ) {}
/**
* Check if code point has the general category "Lu" (uppercase letter)
* @link https://php.net/manual/ru/intlchar.isupper.php
* @link https://php.net/manual/en/intlchar.isupper.php
* @param int|string $codepoint <p>The integer codepoint value (e.g. <em>0x2603</em> for <em>U+2603 SNOWMAN</em>),
* or the character encoded as a UTF-8 string (e.g. <em>"\u{2603}"</em>)</p>
* @return bool|null Returns TRUE if codepoint is an Lu uppercase letter, FALSE if not, NULL if <em>codepoint</em> is out of bound.
@ -1294,7 +1294,7 @@ class IntlChar {
public static function isupper ($codepoint) {}
/**
* Check if code point has the Uppercase Unicode property
* @link https://php.net/manual/ru/intlchar.isuuppercase.php
* @link https://php.net/manual/en/intlchar.isuuppercase.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint has the Uppercase Unicode property, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1302,7 +1302,7 @@ class IntlChar {
public static function isUUppercase ($codepoint) {}
/**
* Check if code point has the White_Space Unicode property
* @link https://php.net/manual/ru/intlchar.isuwhitespace.php
* @link https://php.net/manual/en/intlchar.isuwhitespace.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint has the White_Space Unicode property, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1310,7 +1310,7 @@ class IntlChar {
public static function isUWhiteSpace ($codepoint ) {}
/**
* Check if code point is a whitespace character according to ICU
* @link https://php.net/manual/ru/intlchar.iswhitespace.php
* @link https://php.net/manual/en/intlchar.iswhitespace.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return bool|null Returns TRUE if codepoint is a whitespace character according to ICU, FALSE if not, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1327,7 +1327,7 @@ class IntlChar {
/**
* Return Unicode code point value of character
* @link https://php.net/manual/ru/intlchar.ord.php
* @link https://php.net/manual/en/intlchar.ord.php
* @param int|string $character <p>A Unicode character.</p>
* @return int|null Returns the Unicode code point value as an integer, NULL if <em>codepoint</em> is out of bound.
* @since 7.0
@ -1346,7 +1346,7 @@ class IntlChar {
public static function tolower($codepoint) {}
/**
* Make Unicode character titlecase
* @link https://php.net/manual/ru/intlchar.totitle.php
* @link https://php.net/manual/en/intlchar.totitle.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return int|string|null Returns the Simple_Titlecase_Mapping of the code point, if any; otherwise the code point itself.
* The return type will be integer unless the code point was passed as a UTF-8 string, in which case a string will be returned.
@ -1357,7 +1357,7 @@ class IntlChar {
/**
* Make Unicode character uppercase
* @link https://php.net/manual/ru/intlchar.toupper.php
* @link https://php.net/manual/en/intlchar.toupper.php
* @param int|string $codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}")
* @return int|string|null Returns the Simple_Uppercase_Mapping of the code point, if any; otherwise the code point itself.
* The return type will be integer unless the code point was passed as a UTF-8 string, in which case a string will be returned.

View File

@ -252,7 +252,7 @@ class Collator {
* default locale collation rules will be used. If empty string ("") or
* "root" are passed, UCA rules will be used.
* </p>
* @return Collator Return new instance of <b>Collator</b> object, or <b>NULL</b>
* @return Collator|null Return new instance of <b>Collator</b> object, or <b>NULL</b>
* on error.
*/
public static function create($locale) { }
@ -292,7 +292,7 @@ class Collator {
* (PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/>
* Sort array using specified collator
* @link https://php.net/manual/en/collator.sort.php
* @param array $arr <p>
* @param array &$array <p>
* Array of strings to sort.
* </p>
* @param int $sort_flag [optional] <p>
@ -305,22 +305,22 @@ class Collator {
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
public function sort(array &$arr, $sort_flag = null) { }
public function sort(array &$array, $sort_flag = null) { }
/**
* (PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/>
* Sort array using specified collator and sort keys
* @link https://php.net/manual/en/collator.sortwithsortkeys.php
* @param array $arr <p>Array of strings to sort</p>
* @param array &$array <p>Array of strings to sort</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
public function sortWithSortKeys(array &$arr) { }
public function sortWithSortKeys(array &$array) { }
/**
* (PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/>
* Sort array maintaining index association
* @link https://php.net/manual/en/collator.asort.php
* @param array $arr <p>Array of strings to sort.</p>
* @param array &$array <p>Array of strings to sort.</p>
* @param int $sort_flag [optional] <p>
* Optional sorting type, one of the following:
* <p>
@ -329,7 +329,7 @@ class Collator {
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
public function asort(array &$arr, $sort_flag = null) { }
public function asort(array &$array, $sort_flag = null) { }
/**
* (PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/>
@ -929,7 +929,7 @@ class NumberFormatter {
* formatting type to use. By default,
* <b>NumberFormatter::TYPE_DOUBLE</b> is used.
* </p>
* @param int $position [optional] <p>
* @param int &$position [optional] <p>
* Offset in the string at which to begin parsing. On return, this value
* will hold the offset at which parsing ended.
* </p>
@ -956,11 +956,11 @@ class NumberFormatter {
* Parse a currency number
* @link https://php.net/manual/en/numberformatter.parsecurrency.php
* @param string $value
* @param string $currency <p>
* @param string &$currency <p>
* Parameter to receive the currency name (3-letter ISO 4217 currency
* code).
* </p>
* @param int $position [optional] <p>
* @param int &$position [optional] <p>
* Offset in the string at which to begin parsing. On return, this value
* will hold the offset at which parsing ended.
* </p>
@ -1154,7 +1154,7 @@ class Normalizer {
* @link https://php.net/manual/en/normalizer.normalize.php
* @param string $input <p>The input string to normalize</p>
* @param string $form [optional] <p>One of the normalization forms.</p>
* @return string The normalized string or <b>NULL</b> if an error occurred.
* @return string|null The normalized string or <b>NULL</b> if an error occurred.
*/
public static function normalize($input, $form = Normalizer::FORM_C) { }
@ -1262,7 +1262,7 @@ class Locale {
* @param string $locale <p>
* The locale to extract the primary language code from
* </p>
* @return string The language code associated with the language or <b>NULL</b> in case of error.
* @return string|null The language code associated with the language or <b>NULL</b> in case of error.
*/
public static function getPrimaryLanguage($locale) { }
@ -1273,7 +1273,7 @@ class Locale {
* @param string $locale <p>
* The locale to extract the script code from
* </p>
* @return string The script subtag for the locale or <b>NULL</b> if not present
* @return string|null The script subtag for the locale or <b>NULL</b> if not present
*/
public static function getScript($locale) { }
@ -1284,7 +1284,7 @@ class Locale {
* @param string $locale <p>
* The locale to extract the region code from
* </p>
* @return string The region subtag for the locale or <b>NULL</b> if not present
* @return string|null The region subtag for the locale or <b>NULL</b> if not present
*/
public static function getRegion($locale) { }
@ -1422,7 +1422,7 @@ class Locale {
* @param string $locale <p>
* The locale to extract the variants from
* </p>
* @return array The array containing the list of all variants subtag for the locale
* @return array|null The array containing the list of all variants subtag for the locale
* or <b>NULL</b> if not present
*/
public static function getAllVariants($locale) { }
@ -1921,7 +1921,7 @@ class IntlDateFormatter {
* described in {@link "http://www.icu-project.org/apiref/icu4c/classSimpleDateFormat.html#details" the ICU documentation}.
* If <br>NULL</br>, the default style will be used.
* </p>
* @param string $locale [optional] <p>
* @param string|null $locale [optional] <p>
* The locale to use, or <b>NULL</b> to use the {@link "https://secure.php.net/manual/en/intl.configuration.php#ini.intl.default-locale"default one}.</p>
* @return string|false A string with result or <b>FALSE</b> on failure.
*/
@ -1934,7 +1934,7 @@ class IntlDateFormatter {
* @param string $value <p>
* string to convert to a time
* </p>
* @param int $position [optional] <p>
* @param int &$position [optional] <p>
* Position at which to start the parsing in $value (zero-based).
* If no error occurs before $value is consumed, $parse_pos will contain -1
* otherwise it will contain the position at which parsing ended (and the error occurred).
@ -1952,7 +1952,7 @@ class IntlDateFormatter {
* @param string $value <p>
* string to convert to a time
* </p>
* @param int $position [optional] <p>
* @param int &$position [optional] <p>
* Position at which to start the parsing in $value (zero-based).
* If no error occurs before $value is consumed, $parse_pos will contain -1
* otherwise it will contain the position at which parsing ended .
@ -2090,7 +2090,7 @@ class Transliterator {
* May also be set to
* Transliterator::REVERSE.
* </p>
* @return Transliterator a <b>Transliterator</b> object on success,
* @return Transliterator|null a <b>Transliterator</b> object on success,
* or <b>NULL</b> on failure.
*/
public static function create($id, $direction = null) { }
@ -2108,7 +2108,7 @@ class Transliterator {
* May also be set to
* Transliterator::REVERSE.
* </p>
* @return Transliterator a <b>Transliterator</b> object on success,
* @return Transliterator|null a <b>Transliterator</b> object on success,
* or <b>NULL</b> on failure.
*/
public static function createFromRules($rules, $direction = null) { }
@ -2117,7 +2117,7 @@ class Transliterator {
* (PHP &gt;= 5.4.0, PECL intl &gt;= 2.0.0)<br/>
* Create an inverse transliterator
* @link https://php.net/manual/en/transliterator.createinverse.php
* @return Transliterator a <b>Transliterator</b> object on success,
* @return Transliterator|null a <b>Transliterator</b> object on success,
* or <b>NULL</b> on failure
*/
public function createInverse() { }
@ -2197,7 +2197,7 @@ class Spoofchecker {
* @link https://php.net/manual/en/spoofchecker.issuspicious.php
* @param string $text <p>
* </p>
* @param string $error [optional] <p>
* @param string &$error [optional] <p>
* </p>
* @return bool
*/
@ -2211,7 +2211,7 @@ class Spoofchecker {
* </p>
* @param string $s2 <p>
* </p>
* @param string $error [optional] <p>
* @param string &$error [optional] <p>
* </p>
* @return bool
*/
@ -2417,10 +2417,10 @@ class IntlCalendar {
* </li>
* </ul>
* </p>
* @param string $locale [optional] <p>
* @param string|null $locale [optional] <p>
* A locale to use or <b>NULL</b> to use {@link https://secure.php.net/manual/en/intl.configuration.php#ini.intl.default-locale the default locale}.
* </p>
* @return IntlCalendar
* @return IntlCalendar|null
* The created {@link https://secure.php.net/manual/en/class.intlcalendar.php IntlCalendar} instance or <b>NULL</b> on
* failure.
*/
@ -2474,7 +2474,7 @@ class IntlCalendar {
* A {@link https://secure.php.net/manual/en/class.datetime.php DateTime} object or a {@link https://secure.php.net/manual/en/language.types.string.php string} that
* can be passed to {@link https://secure.php.net/manual/en/datetime.construct.php DateTime::__construct()}.
* </p>
* @return IntlCalendar
* @return IntlCalendar|null
* The created {@link https://secure.php.net/manual/en/class.intlcalendar.php IntlCalendar} object or <b>NULL</b> in case of
* failure. If a {@link https://secure.php.net/manual/en/language.types.string.php string} is passed, any exception that occurs
* inside the {@link https://secure.php.net/manual/en/class.datetime.php DateTime} constructor is propagated.
@ -3099,7 +3099,7 @@ class IntlTimeZone {
* Get the canonical system timezone ID or the normalized custom time zone ID for the given time zone ID
* @link https://secure.php.net/manual/en/intltimezone.getcanonicalid.php
* @param string $zoneId
* @param bool $isSystemID [optional]
* @param bool &$isSystemID [optional]
* @return string|false the timezone ID or <b>FALSE</b> on failure
*/
public static function getCanonicalID($zoneId, &$isSystemID) { }
@ -3241,7 +3241,7 @@ class IntlTimeZone {
/**
* (PHP 5 &gt;=5.5.0 PECL intl &gt;= 3.0.0a1)<br/>
* Convert to DateTimeZone object
* @link https://secure.php.net/manual/ru/intltimezone.todatetimezone.php
* @link https://secure.php.net/manual/en/intltimezone.todatetimezone.php
* @return DateTimeZone|false the DateTimeZone object or <b>FALSE</b> on failure
*/
public function toDateTimeZone() { }
@ -3249,7 +3249,7 @@ class IntlTimeZone {
/**
* (PHP 5 &gt;=5.5.0 PECL intl &gt;= 3.0.0a1)<br/>
* Check if this time zone uses daylight savings time
* @link https://secure.php.net/manual/ru/intltimezone.usedaylighttime.php
* @link https://secure.php.net/manual/en/intltimezone.usedaylighttime.php
* @return bool
*/
public function useDaylightTime() { }
@ -3265,7 +3265,7 @@ class IntlTimeZone {
* default locale collation rules will be used. If empty string ("") or
* "root" are passed, UCA rules will be used.
* </p>
* @return Collator Return new instance of <b>Collator</b> object, or <b>NULL</b>
* @return Collator|null Return new instance of <b>Collator</b> object, or <b>NULL</b>
* on error.
*/
function collator_create($locale) { }
@ -3356,7 +3356,7 @@ function collator_set_strength(Collator $object, $strength) { }
* Sort array using specified collator
* @link https://php.net/manual/en/collator.sort.php
* @param Collator $object
* @param array $arr <p>
* @param array &$array <p>
* Array of strings to sort.
* </p>
* @param int $sort_flag [optional] <p>
@ -3369,24 +3369,24 @@ function collator_set_strength(Collator $object, $strength) { }
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function collator_sort(Collator $object, array &$arr, $sort_flag = null) { }
function collator_sort(Collator $object, array &$array, $sort_flag = null) { }
/**
* (PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/>
* Sort array using specified collator and sort keys
* @link https://php.net/manual/en/collator.sortwithsortkeys.php
* @param Collator $object
* @param array $arr <p>Array of strings to sort</p>
* @param array &$array <p>Array of strings to sort</p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function collator_sort_with_sort_keys(Collator $object, array &$arr) { }
function collator_sort_with_sort_keys(Collator $object, array &$array) { }
/**
* (PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/>
* Sort array maintaining index association
* @link https://php.net/manual/en/collator.asort.php
* @param Collator $object
* @param array $arr <p>Array of strings to sort.</p>
* @param array &$array <p>Array of strings to sort.</p>
* @param int $sort_flag [optional] <p>
* Optional sorting type, one of the following:
* <p>
@ -3395,7 +3395,7 @@ function collator_sort_with_sort_keys(Collator $object, array &$arr) { }
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function collator_asort(Collator $object, array &$arr, $sort_flag = null) { }
function collator_asort(Collator $object, array &$array, $sort_flag = null) { }
/**
* (PHP 5 &gt;= 5.3.0, PECL intl &gt;= 1.0.0)<br/>
@ -3498,7 +3498,7 @@ function numfmt_format(NumberFormatter $fmt, $value, $type = null) { }
* formatting type to use. By default,
* <b>NumberFormatter::TYPE_DOUBLE</b> is used.
* </p>
* @param int $position [optional] <p>
* @param int &$position [optional] <p>
* Offset in the string at which to begin parsing. On return, this value
* will hold the offset at which parsing ended.
* </p>
@ -3527,11 +3527,11 @@ function numfmt_format_currency(NumberFormatter $fmt, $value, $currency) { }
* @link https://php.net/manual/en/numberformatter.parsecurrency.php
* @param NumberFormatter $fmt
* @param string $value
* @param string $currency <p>
* @param string &$currency <p>
* Parameter to receive the currency name (3-letter ISO 4217 currency
* code).
* </p>
* @param int $position [optional] <p>
* @param int &$position [optional] <p>
* Offset in the string at which to begin parsing. On return, this value
* will hold the offset at which parsing ended.
* </p>
@ -3692,7 +3692,7 @@ function numfmt_get_error_message(NumberFormatter $fmt, $nf) { }
* @link https://php.net/manual/en/normalizer.normalize.php
* @param string $input <p>The input string to normalize</p>
* @param string $form [optional] <p>One of the normalization forms.</p>
* @return string The normalized string or <b>NULL</b> if an error occurred.
* @return string|null The normalized string or <b>NULL</b> if an error occurred.
*/
function normalizer_normalize($input, $form = Normalizer::FORM_C) { }
@ -3735,7 +3735,7 @@ function locale_set_default($name) { }
* @param string $locale <p>
* The locale to extract the primary language code from
* </p>
* @return string The language code associated with the language or <b>NULL</b> in case of error.
* @return string|null The language code associated with the language or <b>NULL</b> in case of error.
*/
function locale_get_primary_language($locale) { }
@ -3746,7 +3746,7 @@ function locale_get_primary_language($locale) { }
* @param string $locale <p>
* The locale to extract the script code from
* </p>
* @return string The script subtag for the locale or <b>NULL</b> if not present
* @return string|null The script subtag for the locale or <b>NULL</b> if not present
*/
function locale_get_script($locale) { }
@ -3757,7 +3757,7 @@ function locale_get_script($locale) { }
* @param string $locale <p>
* The locale to extract the region code from
* </p>
* @return string The region subtag for the locale or <b>NULL</b> if not present
* @return string|null The region subtag for the locale or <b>NULL</b> if not present
*/
function locale_get_region($locale) { }
@ -3895,7 +3895,7 @@ function locale_parse($locale) { }
* @param string $locale <p>
* The locale to extract the variants from
* </p>
* @return array The array containing the list of all variants subtag for the locale
* @return array|null The array containing the list of all variants subtag for the locale
* or <b>NULL</b> if not present
*/
function locale_get_all_variants($locale) { }
@ -4340,7 +4340,7 @@ function datefmt_format_object($object, $format = null, $locale = null) { }
* @param string $value <p>
* string to convert to a time
* </p>
* @param int $position [optional] <p>
* @param int &$position [optional] <p>
* Position at which to start the parsing in $value (zero-based).
* If no error occurs before $value is consumed, $parse_pos will contain -1
* otherwise it will contain the position at which parsing ended (and the error occurred).
@ -4359,7 +4359,7 @@ function datefmt_parse(MessageFormatter $mf, $value, &$position = null) { }
* @param string $value <p>
* string to convert to a time
* </p>
* @param int $position [optional] <p>
* @param int &$position [optional] <p>
* Position at which to start the parsing in $value (zero-based).
* If no error occurs before $value is consumed, $parse_pos will contain -1
* otherwise it will contain the position at which parsing ended .
@ -4571,7 +4571,7 @@ function grapheme_stristr($haystack, $needle, $before_needle = false) { }
* bytes. If $start does not point to the first byte of a UTF-8
* character, the start position is moved to the next character boundary.
* </p>
* @param int $next [optional] <p>
* @param int &$next [optional] <p>
* Reference to a value that will be set to the next starting position.
* When the call returns, this may point to the first byte position past the end of the string.
* </p>
@ -4596,7 +4596,7 @@ function grapheme_extract($haystack, $size, $extract_type = null, $start = 0, &$
* @param int $variant [optional] <p>
* Either INTL_IDNA_VARIANT_2003 for IDNA 2003 or INTL_IDNA_VARIANT_UTS46 for UTS #46.
* </p>
* @param array $idna_info [optional] <p>
* @param array &$idna_info [optional] <p>
* This parameter can be used only if INTL_IDNA_VARIANT_UTS46 was used for variant.
* In that case, it will be filled with an array with the keys 'result',
* the possibly illegal result of the transformation, 'isTransitionalDifferent',
@ -4674,10 +4674,10 @@ function idn_to_utf8($domain, $options = 0, $variant = INTL_IDNA_VARIANT_2003, a
* </li>
* </ul>
* </p>
* @param string $locale [optional] <p>
* @param string|null $locale [optional] <p>
* A locale to use or <b>NULL</b> to use {@link https://secure.php.net/manual/en/intl.configuration.php#ini.intl.default-locale the default locale}.
* </p>
* @return IntlCalendar
* @return IntlCalendar|null
* The created {@link https://secure.php.net/manual/en/class.intlcalendar.php IntlCalendar} instance or <b>NULL</b> on
* failure.
* @since 5.5
@ -5464,7 +5464,7 @@ function intlcal_set_skipped_wall_time_option($calendar, $wallTimeOption) { }
* A {@link https://secure.php.net/manual/en/class.datetime.php DateTime} object or a {@link https://secure.php.net/manual/en/language.types.string.php string} that
* can be passed to {@link https://secure.php.net/manual/en/datetime.construct.php DateTime::__construct()}.
* </p>
* @return IntlCalendar
* @return IntlCalendar|null
* The created {@link https://secure.php.net/manual/en/class.intlcalendar.php IntlCalendar} object or <b>NULL</b> in case of
* failure. If a {@link https://secure.php.net/manual/en/language.types.string.php string} is passed, any exception that occurs
* inside the {@link https://secure.php.net/manual/en/class.datetime.php DateTime} constructor is propagated.
@ -5566,7 +5566,7 @@ function intltz_from_date_time_zone($zoneId) { }
* Get the canonical system timezone ID or the normalized custom time zone ID for the given time zone ID
* @link https://secure.php.net/manual/en/intltimezone.getcanonicalid.php
* @param string $zoneId
* @param bool $isSystemID [optional]
* @param bool &$isSystemID [optional]
* @return string
* @since 5.5
*/
@ -5659,8 +5659,8 @@ function intltz_get_id($obj) { }
* @param IntlTimeZone $obj
* @param float $date
* @param bool $local
* @param int $rawOffset
* @param int $dstOffset
* @param int &$rawOffset
* @param int &$dstOffset
* @return int
* @since 5.5
*/
@ -5698,7 +5698,7 @@ function intltz_has_same_rules($obj, $otherTimeZone) { }
/**
* (PHP 5 &gt;=5.5.0 PECL intl &gt;= 3.0.0a1)<br/>
* Convert to DateTimeZone object
* @link https://secure.php.net/manual/ru/intltimezone.todatetimezone.php
* @link https://secure.php.net/manual/en/intltimezone.todatetimezone.php
* @param $obj
* @return DateTimeZone
* @since 5.5
@ -5708,7 +5708,7 @@ function intltz_to_date_time_zone($obj) { }
/**
* (PHP 5 &gt;=5.5.0 PECL intl &gt;= 3.0.0a1)<br/>
* Check if this time zone uses daylight savings time
* @link https://secure.php.net/manual/ru/intltimezone.usedaylighttime.php
* @link https://secure.php.net/manual/en/intltimezone.usedaylighttime.php
* @param $obj
* @return bool
* @since 5.5
@ -5848,7 +5848,7 @@ function transliterator_create($id, $direction = null) { }
* May also be set to
* Transliterator::REVERSE.
* </p>
* @return Transliterator a <b>Transliterator</b> object on success,
* @return Transliterator|null a <b>Transliterator</b> object on success,
* or <b>NULL</b> on failure.
* @since 5.4
*/
@ -6696,7 +6696,7 @@ class UConverter {
* @param int $reason
* @param string $source
* @param string $codePoint
* @param int $error
* @param int &$error
* @return mixed
*/
public function fromUCallback($reason, $source, $codePoint, &$error) { }
@ -6825,7 +6825,7 @@ class UConverter {
* @param int $reason
* @param string $source
* @param string $codeUnits
* @param int $error
* @param int &$error
* @return mixed
*/
public function toUCallback($reason, $source, $codeUnits, &$error) { }

View File

@ -28,8 +28,8 @@ class JsonIncrementalParser {
/**
* @param $depth [optional]
* @param $options [optional]
* @param int $depth [optional]
* @param int $options [optional]
*/
public function __construct ($depth, $options) {}
@ -38,17 +38,17 @@ class JsonIncrementalParser {
public function reset () {}
/**
* @param $json
* @param string $json
*/
public function parse ($json) {}
/**
* @param $filename
* @param string $filename
*/
public function parseFile ($filename) {}
/**
* @param $options [optional]
* @param int $options [optional]
*/
public function get ($options) {}
@ -137,9 +137,9 @@ function json_decode ($json, $assoc = false, $depth = 512, $options = 0) {}
function json_last_error () {}
/**
* Returns the error string of the last json_encode() or json_decode() call
* Returns the error string of the last json_encode() or json_decode() call, which did not specify <b>JSON_THROW_ON_ERROR</b>.
* @link https://php.net/manual/en/function.json-last-error-msg.php
* @return string the error message on success or <b>NULL</b> with wrong parameters.
* @return string|false Returns the error message on success, "No error" if no error has occurred, or FALSE on failure.
* @since 5.5
*/
function json_last_error_msg () {}

View File

@ -9,7 +9,7 @@
* @param string $user [optional] dn of the user to change the password of.
* @param string $oldpw [optional] The old password of this user. May be omitted depending of server configuration.
* @param string $newpw [optional] The new password for this user. May be omitted or empty to have a generated password.
* @param array $serverctrls [optional] If provided, a password policy request control is send with the request and this is filled with an array of LDAP Controls returned with the request.
* @param array &$serverctrls [optional] If provided, a password policy request control is send with the request and this is filled with an array of LDAP Controls returned with the request.
* @return mixed Returns the generated password if newpw is empty or omitted. Otherwise returns TRUE on success and FALSE on failure.
* @since 7.2
*/
@ -42,8 +42,8 @@ function ldap_exop_whoami ($link) {}
* @param string $reqoid The extended operation request OID. You may use one of LDAP_EXOP_START_TLS, LDAP_EXOP_MODIFY_PASSWD, LDAP_EXOP_REFRESH, LDAP_EXOP_WHO_AM_I, LDAP_EXOP_TURN, or a string with the OID of the operation you want to send.
* @param string $reqdata [optional] The extended operation request data. May be NULL for some operations like LDAP_EXOP_WHO_AM_I, may also need to be BER encoded.
* @param array $serverctrls [optional] If provided, a password policy request control is send with the request and this is filled with an array of LDAP Controls returned with the request.
* @param string $retdata [optional] Will be filled with the extended operation response data if provided. If not provided you may use ldap_parse_exop on the result object later to get this data.
* @param string $retoid [optional] Will be filled with the response OID if provided, usually equal to the request OID.
* @param string &$retdata [optional] Will be filled with the extended operation response data if provided. If not provided you may use ldap_parse_exop on the result object later to get this data.
* @param string &$retoid [optional] Will be filled with the response OID if provided, usually equal to the request OID.
* @return mixed When used with retdata, returns TRUE on success or FALSE on error. When used without retdata, returns a result identifier or FALSE on error.
* @since 7.2
*/
@ -54,8 +54,8 @@ function ldap_exop ($link , $reqoid , $reqdata = null , $serverctrls = [], &$ret
* @link https://www.php.net/manual/en/function.ldap-parse-exop.php
* @param resource $link An LDAP link identifier, returned by ldap_connect().
* @param resource $result An LDAP result resource, returned by ldap_exop().
* @param string $retdata [optional] Will be filled by the response data.
* @param string $retoid [optional] Will be filled by the response OID.
* @param string &$retdata [optional] Will be filled by the response data.
* @param string &$retoid [optional] Will be filled by the response OID.
* @return bool Returns TRUE on success or FALSE on failure.
* @since 7.2
*/
@ -916,7 +916,7 @@ function ldap_rename_ext ($link_identifier, $dn, $newrdn, $newparent, $deleteold
* <td>array</td>
* </tr>
* </p>
* @param mixed $retval <p>
* @param mixed &$retval <p>
* This will be set to the option value.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
@ -1047,7 +1047,7 @@ function ldap_next_reference ($link, $entry) {}
* @link https://php.net/manual/en/function.ldap-parse-reference.php
* @param resource $link
* @param resource $entry
* @param array $referrals
* @param array &$referrals
* @return bool
*/
function ldap_parse_reference ($link, $entry, array &$referrals) {}
@ -1057,11 +1057,11 @@ function ldap_parse_reference ($link, $entry, array &$referrals) {}
* @link https://php.net/manual/en/function.ldap-parse-result.php
* @param resource $link
* @param resource $result
* @param int $errcode
* @param string $matcheddn [optional]
* @param string $errmsg [optional]
* @param array $referrals [optional]
* @param array $serverctrls [optional] An array of LDAP Controls which have been sent with the response.
* @param int &$errcode
* @param string &$matcheddn [optional]
* @param string &$errmsg [optional]
* @param array &$referrals [optional]
* @param array &$serverctrls [optional] An array of LDAP Controls which have been sent with the response.
* @return bool
*/
function ldap_parse_result ($link, $result, &$errcode, &$matcheddn = null, &$errmsg = null, array &$referrals = null, &$serverctrls = []) {}
@ -1114,10 +1114,10 @@ function ldap_control_paged_result ($link, $pagesize, $iscritical = false, $cook
* An LDAP link identifier, returned by <b>ldap_connect</b>.
* </p>
* @param resource $result
* @param string $cookie [optional] <p>
* @param string &$cookie [optional] <p>
* An opaque structure sent by the server.
* </p>
* @param int $estimated [optional] <p>
* @param int &$estimated [optional] <p>
* The estimated number of entries to retrieve.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.

View File

@ -184,7 +184,7 @@ function mb_substitute_character ($substrchar = null) {}
* @param string $encoded_string <p>
* The URL encoded data.
* </p>
* @param array $result [optional] <p>
* @param array &$result [optional] <p>
* An array containing decoded and character encoded converted values.
* </p>
* @return bool true on success or false on failure.
@ -752,8 +752,8 @@ function mb_decode_mimeheader ($str) {}
* from-coding. When from_encoding
* is omitted, detect_order is used.
* </p>
* @param string|array|object $var var is the reference to the variable being converted.
* @param string|array|object $vars <p>
* @param string|array|object &$var var is the reference to the variable being converted.
* @param string|array|object &...$vars <p>
* vars is the other references to the
* variables being converted. String, Array and Object are accepted.
* mb_convert_variables assumes all parameters
@ -894,7 +894,7 @@ function mb_regex_set_options ($options = null) {}
* @param string $string <p>
* The search string.
* </p>
* @param string[] $regs [optional] <p>
* @param string[] &$regs [optional] <p>
* Contains a substring of the matched string.
* </p>
* @return int
@ -910,7 +910,7 @@ function mb_ereg ($pattern, $string, array &$regs = null) {}
* @param string $string <p>
* The string being searched.
* </p>
* @param string[] $regs [optional] <p>
* @param string[] &$regs [optional] <p>
* Contains a substring of the matched string.
* </p>
* @return int
@ -1144,7 +1144,7 @@ function mbregex_encoding ($encoding) {}
/**
* @param $pattern
* @param $string
* @param $registers [optional]
* @param &$registers [optional]
* @deprecated 7.3 use {@see mb_ereg} instead
* @removed 8.0
*/
@ -1153,7 +1153,7 @@ function mbereg ($pattern, $string, &$registers) {}
/**
* @param $pattern
* @param $string
* @param $registers [optional]
* @param &$registers [optional]
* @deprecated 7.3 use {@see mb_eregi} instead
* @removed 8.0
*/

View File

@ -20,7 +20,7 @@ class MemcachePool {
* </p>
* <p>
* Please note: <b>port</b> defaults to
* {@link https://php.net/manual/ru/memcache.ini.php#ini.memcache.default-port memcache.default_port}
* {@link https://php.net/manual/en/memcache.ini.php#ini.memcache.default-port memcache.default_port}
* if not specified. For this reason it is wise to specify the port
* explicitly in this method call.
* </p>
@ -217,7 +217,7 @@ class MemcachePool {
* @param string|array $key <p>
* The key or array of keys to fetch.
* </p>
* @param int|array $flags [optional] <p>
* @param int|array &$flags [optional] <p>
* If present, flags fetched along with the values will be written to this parameter. These
* flags are the same as the ones given to for example {@link https://php.net/manual/en/memcache.set.php Memcache::set()}.
* The lowest byte of the int is reserved for pecl/memcache internal usage (e.g. to indicate
@ -235,7 +235,7 @@ class MemcachePool {
/**
* (PECL memcache &gt;= 0.2.0)<br/>
* Delete item from the server
* https://secure.php.net/manual/ru/memcache.delete.php
* https://secure.php.net/manual/en/memcache.delete.php
* @param string $key The key associated with the item to delete.
* @param int $timeout [optional] This deprecated parameter is not supported, and defaults to 0 seconds. Do not use this parameter.
* @return bool Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
@ -245,7 +245,7 @@ class MemcachePool {
/**
* (PECL memcache &gt;= 0.2.0)<br/>
* Get statistics of the server
* @link https://php.net/manual/ru/memcache.getstats.php
* @link https://php.net/manual/en/memcache.getstats.php
* @param string $type [optional] <p>
* The type of statistics to fetch.
* Valid values are {reset, malloc, maps, cachedump, slabs, items, sizes}.

View File

@ -1118,7 +1118,7 @@ class MongoCollection {
/**
* Retrieve a list of distinct values for the given key across a collection
* @link https://secure.php.net/manual/ru/mongocollection.distinct.php
* @link https://secure.php.net/manual/en/mongocollection.distinct.php
* @param string $key The key to use.
* @param array $query An optional query parameters
* @return array|false Returns an array of distinct values, or <b>FALSE</b> on failure
@ -1127,7 +1127,7 @@ class MongoCollection {
/**
* Update a document and return it
* @link https://secure.php.net/manual/ru/mongocollection.findandmodify.php
* @link https://secure.php.net/manual/en/mongocollection.findandmodify.php
* @param array $query The query criteria to search for.
* @param array $update The update criteria.
* @param array $fields Optionally only return these fields.

View File

@ -2,8 +2,8 @@
/**
* @param resource $hconn
* @param resource $compCode
* @param resource $reason
* @param resource &$compCode
* @param resource &$reason
*/
function mqseries_back($hconn, &$compCode, &$reason)
{
@ -12,8 +12,8 @@ function mqseries_back($hconn, &$compCode, &$reason)
/**
* @param resource $hconn
* @param array $beginOptions
* @param resource $compCode
* @param resource $reason
* @param resource &$compCode
* @param resource &$reason
*/
function mqseries_begin($hconn, array $beginOptions, &$compCode, &$reason)
{
@ -23,8 +23,8 @@ function mqseries_begin($hconn, array $beginOptions, &$compCode, &$reason)
* @param resource $hconn
* @param resource $hobj
* @param int $options
* @param resource $compCode
* @param resource $reason
* @param resource &$compCode
* @param resource &$reason
*/
function mqseries_close($hconn, $hobj, $options, &$compCode, &$reason)
{
@ -32,8 +32,8 @@ function mqseries_close($hconn, $hobj, $options, &$compCode, &$reason)
/**
* @param resource $hconn
* @param resource $compCode
* @param resource $reason
* @param resource &$compCode
* @param resource &$reason
*/
function mqseries_cmit($hconn, &$compCode, &$reason)
{
@ -41,9 +41,9 @@ function mqseries_cmit($hconn, &$compCode, &$reason)
/**
* @param string $qManagerName
* @param resource $hconn
* @param resource $compCode
* @param resource $reason
* @param resource &$hconn
* @param resource &$compCode
* @param resource &$reason
*/
function mqseries_conn($qManagerName, &$hconn, &$compCode, &$reason)
{
@ -51,10 +51,10 @@ function mqseries_conn($qManagerName, &$hconn, &$compCode, &$reason)
/**
* @param string $qManagerName
* @param array $connOptions
* @param resource $hconn
* @param resource $compCode
* @param resource $reason
* @param array &$connOptions
* @param resource &$hconn
* @param resource &$compCode
* @param resource &$reason
*/
function mqseries_connx($qManagerName, array &$connOptions, &$hconn, &$compCode, &$reason)
{
@ -62,8 +62,8 @@ function mqseries_connx($qManagerName, array &$connOptions, &$hconn, &$compCode,
/**
* @param resource $hconn
* @param resource $compCode
* @param resource $reason
* @param resource &$compCode
* @param resource &$reason
*/
function mqseries_disc($hconn, &$compCode, &$reason)
{
@ -72,13 +72,13 @@ function mqseries_disc($hconn, &$compCode, &$reason)
/**
* @param resource $hConn
* @param resource $hObj
* @param array $md
* @param array $gmo
* @param int $bufferLength
* @param string $msg
* @param int $data_length
* @param resource $compCode
* @param resource $reason
* @param array &$md
* @param array &$gmo
* @param int &$bufferLength
* @param string &$msg
* @param int &$data_length
* @param resource &$compCode
* @param resource &$reason
*/
function mqseries_get($hConn, $hObj, array &$md, array &$gmo, &$bufferLength, &$msg, &$data_length, &$compCode, &$reason)
{
@ -90,11 +90,11 @@ function mqseries_get($hConn, $hObj, array &$md, array &$gmo, &$bufferLength, &$
* @param int $selectorCount
* @param array $selectors
* @param int $intAttrCount
* @param resource $intAttr
* @param resource &$intAttr
* @param int $charAttrLength
* @param resource $charAttr
* @param resource $compCode
* @param resource $reason
* @param resource &$charAttr
* @param resource &$compCode
* @param resource &$reason
*/
function mqseries_inq($hconn, $hobj, $selectorCount, array $selectors, $intAttrCount, &$intAttr, $charAttrLength, &$charAttr, &$compCode, &$reason)
{
@ -102,11 +102,11 @@ function mqseries_inq($hconn, $hobj, $selectorCount, array $selectors, $intAttrC
/**
* @param resource $hconn
* @param array $objDesc
* @param array &$objDesc
* @param int $option
* @param resource $hobj
* @param resource $compCode
* @param resource $reason
* @param resource &$hobj
* @param resource &$compCode
* @param resource &$reason
*/
function mqseries_open($hconn, array &$objDesc, $option, &$hobj, &$compCode, &$reason)
{
@ -114,12 +114,12 @@ function mqseries_open($hconn, array &$objDesc, $option, &$hobj, &$compCode, &$r
/**
* @param resource $hconn
* @param resource $objDesc
* @param resource $msgDesc
* @param resource $pmo
* @param string $buffer
* @param resource $compCode
* @param resource $reason
* @param resource &$objDesc
* @param resource &$msgDesc
* @param resource &$pmo
* @param string &$buffer
* @param resource &$compCode
* @param resource &$reason
*/
function mqseries_put1($hconn, &$objDesc, &$msgDesc, &$pmo, $buffer, &$compCode, &$reason)
{
@ -128,11 +128,11 @@ function mqseries_put1($hconn, &$objDesc, &$msgDesc, &$pmo, $buffer, &$compCode,
/**
* @param resource $hConn
* @param resource $hObj
* @param array $md
* @param array $pmo
* @param array &$md
* @param array &$pmo
* @param string $message
* @param resource $compCode
* @param resource $reason
* @param resource &$compCode
* @param resource &$reason
*/
function mqseries_put($hConn, $hObj, array &$md, array &$pmo, $message, &$compCode, &$reason)
{
@ -147,8 +147,8 @@ function mqseries_put($hConn, $hObj, array &$md, array &$pmo, $message, &$compCo
* @param array $intattrs
* @param int $charattrlength
* @param array $charattrs
* @param resource $compCode
* @param resource $reason
* @param resource &$compCode
* @param resource &$reason
*/
function mqseries_set($hconn, $hobj, $selectorcount, array $selectors, $intattrcount, array $intattrs, $charattrlength, array $charattrs, &$compCode, &$reason)
{

View File

@ -469,7 +469,7 @@ function mssql_init ($sp_name, $link_identifier = null) {}
* T-SQL syntax. See the explanation included in
* mssql_execute.
* </p>
* @param mixed $var <p>
* @param mixed &$var <p>
* The PHP variable you'll bind the MSSQL parameter to. It is passed by
* reference, to retrieve OUTPUT and RETVAL values after
* the procedure execution.

View File

@ -574,11 +574,11 @@ class mysqli {
/**
* Poll connections
* @link https://php.net/manual/en/mysqli.poll.php
* @param array $read <p>
* @param array &$read <p>
* </p>
* @param array $error <p>
* @param array &$error <p>
* </p>
* @param array $reject <p>
* @param array &$reject <p>
* </p>
* @param int $sec <p>
* Number of seconds to wait, must be non-negative.
@ -669,8 +669,8 @@ class mysqli {
/**
* @link https://php.net/manual/en/function.mysqli-set-opt
* @param $option
* @param $value
* @param int $option
* @param mixed $value
*/
public function set_opt ($option, $value) {}
@ -749,7 +749,7 @@ class mysqli {
/**
* @link https://php.net/manual/en/mysqli.refresh
* @param $options
* @param int $options MYSQLI_REFRESH_*
* @return bool TRUE if the refresh was a success, otherwise FALSE
* @since 5.3
*/
@ -1117,8 +1117,8 @@ class mysqli_result implements IteratorAggregate
/**
* Get a result row as an enumerated array
* @link https://php.net/manual/en/mysqli-result.fetch-row.php
* @return mixed mysqli_fetch_row returns an array of strings that corresponds to the fetched row
* or &null; if there are no more rows in result set.
* @return array|null mysqli_fetch_row returns an array of strings that corresponds to the fetched row
* or null if there are no more rows in result set.
*/
public function fetch_row () {}
@ -1293,11 +1293,11 @@ class mysqli_stmt {
* </tr>
* </table>
* </p>
* @param mixed $var1 <p>
* @param mixed &$var1 <p>
* The number of variables and length of string
* types must match the parameters in the statement.
* </p>
* @param mixed $_ [optional]
* @param mixed &...$_ [optional]
* @return bool true on success or false on failure.
*/
public function bind_param ($types, &$var1, &...$_) {}
@ -1305,8 +1305,8 @@ class mysqli_stmt {
/**
* Binds variables to a prepared statement for result storage
* @link https://php.net/manual/en/mysqli-stmt.bind-result.php
* @param mixed $var1 The variable to be bound.
* @param mixed ...$_ The variables to be bound.
* @param mixed &$var1 The variable to be bound.
* @param mixed &...$_ The variables to be bound.
* @return bool true on success or false on failure.
*/
public function bind_result (&$var1, &...$_) {}
@ -1728,7 +1728,7 @@ function mysqli_fetch_object ($result, $class_name = 'stdClass', $params = null)
* mysqli_store_result() or mysqli_use_result().
* @link https://php.net/manual/en/mysqli-result.fetch-row.php
* @return array|null mysqli_fetch_row returns an array of strings that corresponds to the fetched row
* or &null; if there are no more rows in result set.
* or null if there are no more rows in result set.
*/
function mysqli_fetch_row ($result) {}
@ -2018,9 +2018,9 @@ function mysqli_ping ($link) {}
/**
* Poll connections
* @link https://php.net/manual/en/mysqli.poll.php
* @param array $read
* @param array $error
* @param array $reject
* @param array &$read
* @param array &$error
* @param array &$reject
* @param int $sec
* @param int $usec [optional]
* @return int|false number of ready connections upon success, FALSE otherwise.
@ -2282,11 +2282,11 @@ function mysqli_stmt_send_long_data ($stmt, $param_nr, $data) {}
* </tr>
* </table>
* </p>
* @param mixed $var1 <p>
* @param mixed &$var1 <p>
* The number of variables and length of string
* types must match the parameters in the statement.
* </p>
* @param mixed $_ [optional]
* @param mixed &...$_ [optional]
* @return bool true on success or false on failure.
*/
function mysqli_stmt_bind_param ($stmt, $types, &$var1, &...$_) {}
@ -2295,8 +2295,8 @@ function mysqli_stmt_bind_param ($stmt, $types, &$var1, &...$_) {}
* Binds variables to a prepared statement for result storage
* @link https://php.net/manual/en/mysqli-stmt.bind-result.php
* @param mysqli_stmt $stmt Statement
* @param mixed $var1 The variable to be bound.
* @param mixed ...$_ The variables to be bound.
* @param mixed &$var1 The variable to be bound.
* @param mixed &...$_ The variables to be bound.
* @return bool
*/
function mysqli_stmt_bind_result ($stmt, &$var1, &...$_) {}
@ -2512,7 +2512,7 @@ function mysqli_refresh ($link, $options) {}
* Alias for <b>mysqli_stmt_bind_param</b>
* @link https://php.net/manual/en/function.mysqli-bind-param.php
* @param mysqli_stmt $stmt
* @param $types
* @param string $types
* @deprecated 5.3 This function has been DEPRECATED as of PHP 5.3.0
* @removed 5.4
*/
@ -2523,7 +2523,7 @@ function mysqli_bind_param ($stmt, $types) {}
* @link https://php.net/manual/en/function.mysqli-bind-result.php
* @param mysqli_stmt $stmt
* @param string $types
* @param mixed $var1
* @param mixed &$var1
* @deprecated 5.3 This function has been DEPRECATED as of PHP 5.3.0
* @removed 5.4
*/

File diff suppressed because it is too large Load Diff

View File

@ -411,7 +411,7 @@ function oci_unregister_taf_callback($connection) {}
* names. Use the exact column name case for case-sensitive
* column names.
* </p>
* @param mixed $variable <p>
* @param mixed &$variable <p>
* The PHP variable that will contain the returned column value.
* </p>
* @param int $type [optional] <p>
@ -441,7 +441,7 @@ function oci_define_by_name ($statement, $column_name, &$variable, $type = SQLT_
* in <i>bv_name</i>. Oracle does not use question
* marks for placeholders.
* </p>
* @param mixed $variable <p>
* @param mixed &$variable <p>
* The PHP variable to be associated with <i>bv_name</i>
* </p>
* @param int $maxlength [optional] <p>
@ -486,7 +486,7 @@ function oci_bind_by_name ($statement, $bv_name, &$variable, $maxlength = -1, $t
* @param string $name <p>
* The Oracle placeholder.
* </p>
* @param array $var_array <p>
* @param array &$var_array <p>
* An array.
* </p>
* @param int $max_table_length <p>
@ -868,7 +868,7 @@ function ocifetchinto ($statement_resource, &$result, $mode = null) {}
* identifier created by {@see oci_parse} and executed
* by {@see oci_execute}, or a REF
* CURSOR statement identifier.</p>
* @param array $output <p>
* @param array &$output <p>
* The variable to contain the returned rows.
* </p>
* <p>
@ -1700,7 +1700,7 @@ function ocifreecursor ($statement_resource) {}
* @link https://php.net/manual/en/function.ocibindbyname.php
* @param resource $statement
* @param $column_name
* @param $variable
* @param &$variable
* @param $maximum_length [optional]
* @param $type [optional]
* @return bool Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
@ -1713,7 +1713,7 @@ function ocibindbyname ($statement, $column_name, &$variable, $maximum_length =
* @link https://php.net/manual/en/function.ocidefinebyname.php
* @param resource $statement <p>A valid OCI8 statement identifier created by {@see oci_parse()} and executed by {@see oci_execute()}, or a REF CURSOR statement identifier.</p>
* @param string $column_name <p>The column name used in the query. Use uppercase for Oracle's default, non-case sensitive column names. Use the exact column name case for case-sensitive column names.</p>
* @param mixed $variable <p>The PHP variable that will contain the returned column value.</p>
* @param mixed &$variable <p>The PHP variable that will contain the returned column value.</p>
* @param int $type [optional] <p>The data type to be returned. Generally not needed. Note that Oracle-style data conversions are not performed. For example, SQLT_INT will be ignored and the returned data type will still be SQLT_CHR.
* You can optionally use {@see oci_new_descriptor()} to allocate LOB/ROWID/BFILE descriptors.</p>
* @return bool Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
@ -1823,7 +1823,7 @@ function ocifetch ($statement_resource) {}
* Alias of {@see oci_fetch_all}
* @link https://php.net/manual/en/function.ocifetchstatement.php
* @param $statement_resource
* @param $output
* @param &$output
* @param $skip [optional]
* @param $maximum_rows [optional]
* @param $flags [optional]

View File

@ -291,7 +291,7 @@ function odbc_fetch_row ($result_id, $row_number = null) {}
* @param resource $result_id <p>
* The result resource.
* </p>
* @param array $result_array <p>
* @param array &$result_array <p>
* The result array
* that can be of any type since it will be converted to type
* array. The array will contain the column values starting at array

View File

@ -31,7 +31,7 @@ function openssl_pkey_new(array $configargs = null) { }
* Gets an exportable representation of a key into a string
* @link https://php.net/manual/en/function.openssl-pkey-export.php
* @param mixed $key
* @param string $out
* @param string &$out
* @param string $passphrase [optional] <p>
* The key is optionally protected by <i>passphrase</i>.
* </p>
@ -176,14 +176,14 @@ function openssl_get_publickey($certificate) { }
/**
* Generate a new signed public key and challenge
* @link https://php.net/manual/en/function.openssl-spki-new.php
* @param resource $privkey <p>
* @param resource &$privkey <p>
* <b>privkey</b> should be set to a private key that was
* previously generated by {@link https://php.net/en/manual/function.openssl-pkey-new.php openssl_pkey_new()} (or
* otherwise obtained from the other openssl_pkey family of functions).
* The corresponding public portion of the key will be used to sign the
* CSR.
* </p>
* @param string $challenge <p>The challenge associated to associate with the SPKAC</p>
* @param string &$challenge <p>The challenge associated to associate with the SPKAC</p>
* @param int $algorithm <p>The digest algorithm. See openssl_get_md_method().</p>
* @return string|null Returns a signed public key and challenge string or NULL on failure.
* @since 5.6
@ -194,7 +194,7 @@ function openssl_spki_new(&$privkey, &$challenge, $algorithm = 0) {}
/**
* Verifies a signed public key and challenge
* @link https://php.net/manual/en/function.openssl-spki-verify.php
* @param string $spkac <p>Expects a valid signed public key and challenge</p>
* @param string &$spkac <p>Expects a valid signed public key and challenge</p>
* @return bool Returns a boolean on success or failure.
* @since 5.6
*/
@ -203,7 +203,7 @@ function openssl_spki_verify(&$spkac) {}
/**
* Exports the challenge associated with a signed public key and challenge
* @link https://php.net/manual/en/function.openssl-spki-export-challenge.php
* @param string $spkac <p>Expects a valid signed public key and challenge</p>
* @param string &$spkac <p>Expects a valid signed public key and challenge</p>
* @return string|null Returns the associated challenge string or NULL on failure.
* @since 5.6
*/
@ -212,7 +212,7 @@ function openssl_spki_export_challenge (&$spkac ) {}
/**
* Exports a valid PEM formatted public key signed public key and challenge
* @link https://php.net/manual/en/function.openssl-spki-export.php
* @param string $spkac <p>Expects a valid signed public key and challenge</p>
* @param string &$spkac <p>Expects a valid signed public key and challenge</p>
* @return string|null Returns the associated PEM formatted public key or NULL on failure.
* @since 5.6
*/
@ -338,7 +338,7 @@ function openssl_x509_check_private_key($cert, $key) { }
* Exports a certificate as a string
* @link https://php.net/manual/en/function.openssl-x509-export.php
* @param mixed $x509
* @param string $output <p>
* @param string &$output <p>
* On success, this will hold the PEM.
* </p>
* @param bool $notext [optional] &note.openssl.param-notext;
@ -367,7 +367,7 @@ function openssl_x509_verify($cert, $key){}
* Exports a PKCS#12 Compatible Certificate Store File to variable.
* @link https://php.net/manual/en/function.openssl-pkcs12-export.php
* @param mixed $x509
* @param string $out <p>
* @param string &$out <p>
* On success, this will hold the PKCS#12.
* </p>
* @param mixed $priv_key <p>
@ -405,7 +405,7 @@ function openssl_pkcs12_export_to_file($x509, $filename, $priv_key, $pass, array
* Parse a PKCS#12 Certificate Store into an array
* @link https://php.net/manual/en/function.openssl-pkcs12-read.php
* @param string $pkcs12
* @param array $certs <p>
* @param array &$certs <p>
* On success, this will hold the Certificate Store Data.
* </p>
* @param string $pass <p>
@ -422,7 +422,7 @@ function openssl_pkcs12_read($pkcs12, array &$certs, $pass) { }
* @param array $dn <p>
* The Distinguished Name to be used in the certificate.
* </p>
* @param resource $privkey <p>
* @param resource &$privkey <p>
* <i>privkey</i> should be set to a private key that was
* previously generated by <b>openssl_pkey_new</b> (or
* otherwise obtained from the other openssl_pkey family of functions).
@ -515,7 +515,7 @@ function openssl_csr_new(array $dn, &$privkey, array $configargs = null, array $
* Exports a CSR as a string
* @link https://php.net/manual/en/function.openssl-csr-export.php
* @param resource $csr
* @param string $out
* @param string &$out
* @param bool $notext [optional] &note.openssl.param-notext;
* @return bool true on success or false on failure.
*/
@ -673,7 +673,7 @@ function openssl_cipher_iv_length($method) { }
* Generate signature
* @link https://php.net/manual/en/function.openssl-sign.php
* @param string $data
* @param string $signature <p>
* @param string &$signature <p>
* If the call was successful the signature is returned in
* <i>signature</i>.
* </p>
@ -703,11 +703,11 @@ function openssl_verify($data, $signature, $pub_key_id, $signature_alg = OPENSSL
* Seal (encrypt) data
* @link https://php.net/manual/en/function.openssl-seal.php
* @param string $data
* @param string $sealed_data
* @param array $env_keys
* @param string &$sealed_data
* @param array &$env_keys
* @param array $pub_key_ids
* @param string $method [optional]
* @param string $iv [optional]
* @param string &$iv [optional]
* @return int|false the length of the sealed data on success, or false on error.
* If successful the sealed data is returned in
* <i>sealed_data</i>, and the envelope keys in
@ -719,7 +719,7 @@ function openssl_seal($data, &$sealed_data, array &$env_keys, array $pub_key_ids
* Open sealed data
* @link https://php.net/manual/en/function.openssl-open.php
* @param string $sealed_data
* @param string $open_data <p>
* @param string &$open_data <p>
* If the call is successful the opened data is returned in this
* parameter.
* </p>
@ -854,7 +854,7 @@ function openssl_pkcs7_encrypt($infile, $outfile, $recipcerts, array $headers, $
* Encrypts data with private key
* @link https://php.net/manual/en/function.openssl-private-encrypt.php
* @param string $data
* @param string $crypted
* @param string &$crypted
* @param mixed $key
* @param int $padding [optional] <p>
* <i>padding</i> can be one of
@ -869,7 +869,7 @@ function openssl_private_encrypt($data, &$crypted, $key, $padding = OPENSSL_PKCS
* Decrypts data with private key
* @link https://php.net/manual/en/function.openssl-private-decrypt.php
* @param string $data
* @param string $decrypted
* @param string &$decrypted
* @param mixed $key <p>
* <i>key</i> must be the private key corresponding that
* was used to encrypt the data.
@ -889,7 +889,7 @@ function openssl_private_decrypt($data, &$decrypted, $key, $padding = OPENSSL_PK
* Encrypts data with public key
* @link https://php.net/manual/en/function.openssl-public-encrypt.php
* @param string $data
* @param string $crypted <p>
* @param string &$crypted <p>
* This will hold the result of the encryption.
* </p>
* @param mixed $key <p>
@ -910,7 +910,7 @@ function openssl_public_encrypt($data, &$crypted, $key, $padding = OPENSSL_PKCS1
* Decrypts data with public key
* @link https://php.net/manual/en/function.openssl-public-decrypt.php
* @param string $data
* @param string $decrypted
* @param string &$decrypted
* @param mixed $key <p>
* <i>key</i> must be the public key corresponding that
* was used to encrypt the data.
@ -977,12 +977,12 @@ function openssl_pkey_derive($peer_pub_key, $priv_key, $keylen) {}
* The length of the desired string of bytes. Must be a positive integer. PHP will
* try to cast this parameter to a non-null integer to use it.
* </p>
* @param bool $crypto_strong [optional]<p>
* @param bool &$crypto_strong [optional]<p>
* If passed into the function, this will hold a boolean value that determines
* if the algorithm used was "cryptographically strong", e.g., safe for usage with GPG,
* passwords, etc. true if it did, otherwise false
* </p>
* @return string|false the generated &string; of bytes on success, or false on failure.
* @return string|false the generated string of bytes on success, or false on failure.
*/
function openssl_random_pseudo_bytes($length, &$crypto_strong = null) { }
@ -1006,7 +1006,7 @@ function openssl_get_curve_names() {}
/**
* @param string $P7B
* @param array $certs
* @param array &$certs
* @return bool
* @since 7.2
*/

View File

@ -10,7 +10,7 @@ use Throwable;
* The behaviour of a future also allows it to be used as a simple synchronization point even where the task does not
* return a value explicitly.
*
* @see https://www.php.net/manual/ru/class.parallel-future.php
* @see https://www.php.net/manual/en/class.parallel-future.php
*/
final class Future{

View File

@ -55,7 +55,7 @@ function pcntl_fork () {}
* equivalent to the functionality <b>pcntl_wait</b> provides
* (minus <i>options</i>).
* </p>
* @param int $status <p>
* @param int &$status <p>
* <b>pcntl_waitpid</b> will store status information
* in the <i>status</i> parameter which can be
* evaluated using the following functions:
@ -97,7 +97,7 @@ function pcntl_waitpid ($pid, &$status, $options = 0, array &$rusage) {}
/**
* Waits on or returns the status of a forked child
* @link https://php.net/manual/en/function.pcntl-wait.php
* @param int $status <p>
* @param int &$status <p>
* <b>pcntl_wait</b> will store status information
* in the <i>status</i> parameter which can be
* evaluated using the following functions:
@ -361,7 +361,7 @@ function pcntl_setpriority ($priority, $pid, $process_identifier = PRIO_PROCESS)
* @param array $set <p>
* List of signals.
* </p>
* @param array $oldset [optional] <p>
* @param array &$oldset [optional] <p>
* The <i>oldset</i> parameter is set to an array
* containing the list of the previously blocked signals.
* </p>
@ -375,7 +375,7 @@ function pcntl_sigprocmask ($how, array $set, array &$oldset = null) {}
* @param array $set <p>
* Array of signals to wait for.
* </p>
* @param array $siginfo [optional] <p>
* @param array &$siginfo [optional] <p>
* The <i>siginfo</i> parameter is set to an array containing
* informations about the signal.
* </p>
@ -415,7 +415,7 @@ function pcntl_sigwaitinfo (array $set, array &$siginfo = null) {}
* @param array $set <p>
* Array of signals to wait for.
* </p>
* @param array $siginfo [optional] <p>
* @param array &$siginfo [optional] <p>
* The <i>siginfo</i> is set to an array containing
* informations about the signal. See
* <b>pcntl_sigwaitinfo</b>.

View File

@ -11,7 +11,7 @@
* @param string $subject <p>
* The input string.
* </p>
* @param string[] $matches [optional] <p>
* @param string[] &$matches [optional] <p>
* If <i>matches</i> is provided, then it is filled with
* the results of search. $matches[0] will contain the
* text that matched the full pattern, $matches[1]
@ -165,7 +165,7 @@ function preg_match ($pattern, $subject, array &$matches = null, $flags = 0, $of
* @param string $subject <p>
* The input string.
* </p>
* @param string[][] $matches [optional] <p>
* @param string[][] &$matches [optional] <p>
* Array of all matches in multi-dimensional array ordered according to flags.
* </p>
* @param int $flags [optional] <p>
@ -289,7 +289,7 @@ function preg_match_all ($pattern, $subject, array &$matches = null, $flags = PR
* <i>subject</i> string. Defaults to
* -1 (no limit).
* </p>
* @param int $count [optional] <p>
* @param int &$count [optional] <p>
* If specified, this variable will be filled with the number of
* replacements done.
* </p>
@ -360,7 +360,7 @@ function preg_replace ($pattern, $replacement, $subject, $limit = -1, &$count =
* <i>subject</i> string. Defaults to
* -1 (no limit).
* </p>
* @param int $count [optional] <p>
* @param int &$count [optional] <p>
* If specified, this variable will be filled with the number of
* replacements done.
* </p>
@ -381,7 +381,7 @@ function preg_replace_callback ($regex, callable $callback, $subject, $limit = -
* @param array|callable[] $patterns_and_callbacks An associative array mapping patterns (keys) to callbacks (values)
* @param string|string[] $subject
* @param int $limit [optional]
* @param int $count [optional]
* @param int &$count [optional]
* @param int $flags [optional]
* @return string|string[]|null <p>preg_replace_callback_array() returns an array if the subject parameter is an array, or a string otherwise. On errors the return value is NULL</p>
* <p>If matches are found, the new subject will be returned, otherwise subject will be returned unchanged.</p>
@ -395,7 +395,7 @@ function preg_replace_callback_array ($patterns_and_callbacks, $subject , $limit
* @param string|string[] $replacement
* @param string|string[] $subject
* @param int $limit [optional]
* @param int $count [optional]
* @param int &$count [optional]
* @return string|string[]|null an array if the <i>subject</i>
* parameter is an array, or a string otherwise.
* </p>

View File

@ -79,7 +79,7 @@ class COPY {
/**
* Receive data from the server during pq\Result::COPY_OUT state.
*
* @param string $data Data read from the server.
* @param string &$data Data read from the server.
* @throws \pq\Exception\InvalidArgumentException
* @throws \pq\Exception\BadMethodCallException
* @throws \pq\Exception\RuntimeException
@ -506,7 +506,7 @@ class Connection {
*
* @throws \pq\Exception\InvalidArgumentException
* @throws \pq\Exception\BadMethodCallException
* @return NULL|\pq\Result NULL if there has not been a query
* @return \pq\Result|null NULL if there has not been a query
* or \pq\Result when the query has finished
*/
function getResult() {}
@ -1047,7 +1047,7 @@ class LOB {
* Read a string of data from the current position of the *large object*.
*
* @param int $length The amount of bytes to read from the *large object*.
* @param int $read The amount of bytes actually read from the *large object*.
* @param int &$read The amount of bytes actually read from the *large object*.
* @throws \pq\Exception\InvalidArgumentException
* @throws \pq\Exception\BadMethodCallException
* @throws \pq\Exception\RuntimeException
@ -1405,7 +1405,7 @@ class Statement {
* Bind a variable to an input parameter.
*
* @param int $param_no The parameter index to bind to.
* @param mixed $param_ref The variable to bind.
* @param mixed &$param_ref The variable to bind.
* @throws \pq\Exception\InvalidArgumentException
* @throws \pq\Exception\BadMethodCallException
*/

View File

@ -85,7 +85,7 @@ define('RADIUS_USER_NAME', 1);
/**
* The User-Password attribute. The attribute value is expected to be a string containing the user's password, and can be set using {@see radius_put_attr()}. This value will be obfuscated on transmission as described in section 5.2 of RFC 2865.
* @link https://secure.php.net/manual/de/radius.constants.attributes.php */
* @link https://secure.php.net/manual/en/radius.constants.attributes.php */
define('RADIUS_USER_PASSWORD', 2);
/** The Chap-Password attribute. The attribute value is expected to be a string with the first byte containing the CHAP identifier, and the subsequent 16 bytes containing the MD5 hash of the CHAP identifier, the plaintext password and the CHAP challenge value concatenated together. Note that the CHAP challenge value should also be sent separately in a <b>{@see RADIUS_CHAP_CHALLENGE}</b> attribute. */

View File

@ -6,7 +6,7 @@
* Objects of this class can be traversed, yielding the entries stored in the respective RAR archive.
* Those entries can also be obtained through {@see \RarArchive::getEntry} and {@see \RarArchive::getEntries}.
*
* @link https://php.net/manual/ru/class.rararchive.php
* @link https://php.net/manual/en/class.rararchive.php
*/
final class RarArchive implements Traversable
{
@ -107,7 +107,7 @@ final class RarArchive implements Traversable
* archive entries will fail. Broken archives are archives for which no error is detected when the file is
* opened but an error occurs when reading the entries.
*
* @link https://php.net/manual/ru/rararchive.setallowbroken.php
* @link https://php.net/manual/en/rararchive.setallowbroken.php
*
* @param bool $allow_broken Whether to allow reading broken files (TRUE) or not (FALSE)
*

View File

@ -120,8 +120,8 @@ class KafkaConsumer
/**
* @param string $topic
* @param int $partition
* @param int $low
* @param int $high
* @param int &$low
* @param int &$high
* @param int $timeout_ms
*
* @return void

View File

@ -958,7 +958,7 @@ class Redis
* If the key exists and is not a list, FALSE is returned.
*
* @param string $key
* @param string|mixed $value1... Variadic list of values to push in key, if dont used serialized, used string
* @param string|mixed ...$value1 Variadic list of values to push in key, if dont used serialized, used string
*
* @return int|bool The new length of the list in case of success, FALSE in case of Failure
*
@ -986,7 +986,7 @@ class Redis
* If the key exists and is not a list, FALSE is returned.
*
* @param string $key
* @param string|mixed $value1... Variadic list of values to push in key, if dont used serialized, used string
* @param string|mixed ...$value1 Variadic list of values to push in key, if dont used serialized, used string
*
* @return int|bool The new length of the list in case of success, FALSE in case of Failure
*
@ -1918,7 +1918,7 @@ class Redis
* Scan a set for members
*
* @param string $key The set to search.
* @param int $iterator LONG (reference) to the iterator as we go.
* @param int &$iterator LONG (reference) to the iterator as we go.
* @param string $pattern String, optional pattern to match against.
* @param int $count How many members to return at a time (Redis might return a different amount)
*
@ -3525,7 +3525,7 @@ class Redis
* Scan a sorted set for members, with optional pattern and count
*
* @param string $key String, the set to scan.
* @param int $iterator Long (reference), initialized to NULL.
* @param int &$iterator Long (reference), initialized to NULL.
* @param string $pattern String (optional), the pattern to match.
* @param int $count How many keys to return per iteration (Redis might return a different number).
*
@ -3980,7 +3980,7 @@ class Redis
* Scan a HASH value for members, with an optional pattern and count.
*
* @param string $key
* @param int $iterator
* @param int &$iterator
* @param string $pattern Optional pattern to match against.
* @param int $count How many keys to return in a go (only a sugestion to Redis).
*
@ -4648,7 +4648,7 @@ class Redis
/**
* Scan the keyspace for keys
*
* @param int $iterator Iterator, initialized to NULL.
* @param int &$iterator Iterator, initialized to NULL.
* @param string $pattern Pattern to match.
* @param int $count Count of keys per iteration (only a suggestion to Redis).
*

View File

@ -2703,7 +2703,7 @@ class RedisCluster {
* Scan a set for members.
*
* @param string $key The set to search.
* @param int $iterator LONG (reference) to the iterator as we go.
* @param int &$iterator LONG (reference) to the iterator as we go.
* @param null $pattern String, optional pattern to match against.
* @param int $count How many members to return at a time (Redis might return a different amount).
*
@ -2725,7 +2725,7 @@ class RedisCluster {
* Scan a sorted set for members, with optional pattern and count.
*
* @param string $key String, the set to scan.
* @param int $iterator Long (reference), initialized to NULL.
* @param int &$iterator Long (reference), initialized to NULL.
* @param string $pattern String (optional), the pattern to match.
* @param int $count How many keys to return per iteration (Redis might return a different number).
*
@ -2747,7 +2747,7 @@ class RedisCluster {
* Scan a HASH value for members, with an optional pattern and count.
*
* @param string $key
* @param int $iterator
* @param int &$iterator
* @param string $pattern Optional pattern to match against.
* @param int $count How many keys to return in a go (only a sugestion to Redis).
*
@ -3425,11 +3425,8 @@ class RedisCluster {
/**
* Returns members of a geospatial index as standard geohash strings
*
* @param $key string
* @param $member1 string
* @param $member2 string
* @param $memberN string
*
* @param string $key
* @param string ...$member
* @example
* <pre>
* $redisCluster->geoAdd('Sicily', 13.361389, 38.115556, 'Palermo'); // int(1)
@ -3437,16 +3434,14 @@ class RedisCluster {
* $redisCluster->geohash('Sicily','Palermo','Catania');//['sqc8b49rny0','sqdtr74hyu0']
* </pre>
*/
public function geohash($key, $member1, $member2 = null, $memberN = null) { }
public function geohash($key, ...$member) { }
/**
* Returns longitude and latitude of members of a geospatial index
*
* @param $key string
* @param $member1 string
* @param string $key * @param $member1 string
* @param $member2 string
* @param $memberN string
*
* @param string $memberN *
* @example
* <pre>
* $redisCluster->geoAdd('Sicily', 15.087269, 37.502669, "Catania"); // int(1)

View File

@ -12,7 +12,7 @@
* @param string $string <p>
* The input string.
* </p>
* @param array $regs [optional] <p>
* @param array &$regs [optional] <p>
* If matches are found for parenthesized substrings of
* <i>pattern</i> and the function is called with the
* third argument <i>regs</i>, the matches will be stored
@ -71,7 +71,7 @@ function ereg_replace ($pattern, $replacement, $string) {}
* @param string $string <p>
* The input string.
* </p>
* @param array $regs [optional] <p>
* @param array &$regs [optional] <p>
* If matches are found for parenthesized substrings of
* <i>pattern</i> and the function is called with the
* third argument <i>regs</i>, the matches will be stored

View File

@ -304,7 +304,7 @@ function rpmvercmp (string $evr1, string $evr2) {}
* @param bool $full [optional] <p>
* If TRUE all information headers for the file are retrieved, else only a minimal set.
* </p>
* @param string $error [optional] <p>
* @param string &$error [optional] <p>
* If provided, will receive the possible error message, and will avoid a runtime warning.
* </p>
*

View File

@ -111,12 +111,12 @@ function session_decode ($data) {}
* A string holding the name of a variable or an array consisting of
* variable names or other arrays.
* </p>
* @param mixed $_ [optional]
* @param mixed ...$_ [optional]
* @return bool true on success or false on failure.
* @deprecated 5.3 This function has been DEPRECATED as of PHP 5.3.0
* @removed 5.4
*/
function session_register ($name, $_ = null) {}
function session_register ($name, ...$_ = null) {}
/**
* Unregister a global variable from the current session

View File

@ -297,7 +297,7 @@ class SoapClient {
* @param mixed $input_headers [optional] <p>
* An array of headers to be sent along with the SOAP request.
* </p>
* @param array $output_headers [optional] <p>
* @param array &$output_headers [optional] <p>
* If supplied, this array will be filled with the headers from the SOAP response.
* </p>
* @return mixed SOAP functions may return one, or multiple values. If only one value is returned
@ -543,11 +543,11 @@ class SoapServer {
* @param string $class_name <p>
* The name of the exported class.
* </p>
* @param mixed $_ [optional] These optional parameters will be passed to the default class constructor during object creation.
* @param mixed ...$_ [optional] These optional parameters will be passed to the default class constructor during object creation.
* @return void No value is returned.
* @since 5.0.1
*/
public function setClass ($class_name, $_ = null) {}
public function setClass ($class_name, ...$_ = null) {}
/**
* Sets the object which will be used to handle SOAP requests

View File

@ -61,18 +61,18 @@ function socket_addrinfo_explain($addr) {}
/**
* Runs the select() system call on the given arrays of sockets with a specified timeout
* @link https://php.net/manual/en/function.socket-select.php
* @param array $read <p>
* @param array &$read <p>
* The sockets listed in the <i>read</i> array will be
* watched to see if characters become available for reading (more
* precisely, to see if a read will not block - in particular, a socket
* resource is also ready on end-of-file, in which case a
* <b>socket_read</b> will return a zero length string).
* </p>
* @param array $write <p>
* @param array &$write <p>
* The sockets listed in the <i>write</i> array will be
* watched to see if a write will not block.
* </p>
* @param array $except <p>
* @param array &$except <p>
* The sockets listed in the <i>except</i> array will be
* watched for exceptions.
* </p>
@ -299,7 +299,7 @@ function socket_create_listen ($port, $backlog = 128) {}
* See <b>socket_create</b> for the full list of supported
* protocols.
* </p>
* @param array $fd <p>
* @param array &$fd <p>
* Reference to an array in which the two socket resources will be inserted.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
@ -447,7 +447,7 @@ function socket_read ($socket, $length, $type = PHP_BINARY_READ) {}
* A valid socket resource created with <b>socket_create</b>
* or <b>socket_accept</b>.
* </p>
* @param string $addr <p>
* @param string &$addr <p>
* If the given socket is of type <b>AF_INET</b>
* or <b>AF_INET6</b>, <b>socket_getsockname</b>
* will return the local IP address in appropriate notation (e.g.
@ -461,7 +461,7 @@ function socket_read ($socket, $length, $type = PHP_BINARY_READ) {}
* path (e.g. /var/run/daemon.sock) in the
* <i>address</i> parameter.
* </p>
* @param int $port [optional] <p>
* @param int &$port [optional] <p>
* If provided, this will hold the associated port.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure. <b>socket_getsockname</b> may also return
@ -478,7 +478,7 @@ function socket_getsockname ($socket, &$addr, &$port = null) {}
* A valid socket resource created with <b>socket_create</b>
* or <b>socket_accept</b>.
* </p>
* @param string $address <p>
* @param string &$address <p>
* If the given socket is of type <b>AF_INET</b> or
* <b>AF_INET6</b>, <b>socket_getpeername</b>
* will return the peers (remote) IP address in
@ -493,7 +493,7 @@ function socket_getsockname ($socket, &$addr, &$port = null) {}
* path (e.g. /var/run/daemon.sock) in the
* <i>address</i> parameter.
* </p>
* @param int $port [optional] <p>
* @param int &$port [optional] <p>
* If given, this will hold the port associated to
* <i>address</i>.
* </p>
@ -583,7 +583,7 @@ function socket_bind ($socket, $address, $port = 0) {}
* The <i>socket</i> must be a socket resource previously
* created by socket_create().
* </p>
* @param string $buf <p>
* @param string &$buf <p>
* The data received will be fetched to the variable specified with
* <i>buf</i>. If an error occurs, if the
* connection is reset, or if no data is
@ -711,7 +711,7 @@ function socket_sendmsg ($socket, array $message, $flags ) {}
* The <i>socket</i> must be a socket resource previously
* created by socket_create().
* </p>
* @param string $buf <p>
* @param string &$buf <p>
* The data received will be fetched to the variable specified with
* <i>buf</i>.
* </p>
@ -758,13 +758,13 @@ function socket_sendmsg ($socket, array $message, $flags ) {}
* </td>
* </tr>
* </table>
* @param string $name <p>
* @param string &$name <p>
* If the socket is of the type <b>AF_UNIX</b> type,
* <i>name</i> is the path to the file. Else, for
* unconnected sockets, <i>name</i> is the IP address of,
* the remote host, or <b>NULL</b> if the socket is connection-oriented.
* </p>
* @param int $port [optional] <p>
* @param int &$port [optional] <p>
* This argument only applies to <b>AF_INET</b> and
* <b>AF_INET6</b> sockets, and specifies the remote port
* from which the data is received. If the socket is connection-oriented,

View File

@ -1370,7 +1370,7 @@ function sodium_crypto_secretstream_xchacha20poly1305_keygen(): string {}
function sodium_crypto_secretstream_xchacha20poly1305_init_push(string $key): array{}
/**
* @param string $state
* @param string &$state
* @param string $msg
* @param string $ad [optional]
* @param int $tag [optional]

View File

@ -48,7 +48,7 @@ final class SolrInputDocument {
* (PECL solr &gt;= 2.3.0)<br/>
* Adds an array of child documents
* @link https://php.net/manual/en/solrinputdocument.addchilddocuments.php
* @param array $docs <p>
* @param array &$docs <p>
* An array of SolrInputDocument objects.
* </p>
* @throws SolrIllegalArgumentException

View File

@ -386,7 +386,7 @@ class SQLite3Stmt {
* An string identifying the statement variable to which the
* parameter should be bound.
* </p>
* @param mixed $param <p>
* @param mixed &$param <p>
* The parameter to bind to a statement variable.
* </p>
* @param int $type [optional] <p>

View File

@ -440,7 +440,7 @@ function ssh2_scp_send ($session, $local_file, $remote_file, $create_mode = null
function ssh2_fetch_stream ($channel, $streamid) {}
/**
* @param $var1
* @param &$var1
*/
function ssh2_poll (&$var1) {}

View File

@ -5,7 +5,7 @@ namespace {
/**
* Creates an array.
* @link https://php.net/manual/en/function.array.php
* @param mixed $_ [optional] <p>
* @param mixed ...$_ [optional] <p>
* Syntax "index => values", separated by commas, define index and values.
* index may be of type string or integer. When index is omitted, an integer index is automatically generated,
* starting at 0. If index is an integer, next generated index will be the biggest integer index + 1.
@ -22,7 +22,7 @@ namespace {
* Assigns a list of variables in one operation.
* @link https://php.net/manual/en/function.list.php
* @param mixed $var1 <p>A variable.</p>
* @param mixed $_ [optional] <p>Another variable ...</p>
* @param mixed ...$_ [optional] <p>Another variable ...</p>
* @return array the assigned array.
*/
function PS_UNRESERVE_PREFIX_list($var1, ...$_){};
@ -100,7 +100,7 @@ namespace {
* Evaluation goes from left to right and stops as soon as an unset variable is encountered.</p>
* @link https://php.net/manual/en/function.isset.php
* @param mixed $var <p>The variable to be checked.</p>
* @param mixed $_ [optional] <p>Another variable ...</p>
* @param mixed ...$_ [optional] <p>Another variable ...</p>
* @return bool Returns <b>TRUE</b> if var exists and has value other than <b>NULL</b>, <b>FALSE</b> otherwise.
*/
function PS_UNRESERVE_PREFIX_isset($var, ...$_){};
@ -110,7 +110,7 @@ namespace {
* <p>The behavior of <b>unset()</b> inside of a function can vary depending on what type of variable you are attempting to destroy.</p>
* @link https://php.net/manual/en/function.unset.php
* @param mixed $var <p>The variable to be unset.</p>
* @param mixed $_ [optional] <p>Another variable ...</p>
* @param mixed ...$_ [optional] <p>Another variable ...</p>
* @return void
*/
function PS_UNRESERVE_PREFIX_unset($var, ...$_){};

View File

@ -88,6 +88,7 @@ function utf8_decode ($data) {}
/**
* Clear the most recent error
* @link https://php.net/manual/en/function.error-clear-last.php
* @return void
* @since 7.0
*/
function error_clear_last () {}

View File

@ -18,7 +18,7 @@ class php_user_filter {
* @link https://php.net/manual/en/php-user-filter.filter.php
* @param resource $in <p> is a resource pointing to a <i>bucket brigade</i< which contains one or more <i>bucket</i> objects containing data to be filtered.</p>
* @param resource $out <p>is a resource pointing to a second bucket brigade into which your modified buckets should be placed.</p>
* @param int $consumed <p>which must <i>always</i> be declared by reference, should be incremented by the length of the data which your filter reads in and alters. In most cases this means you will increment consumed by <i>$bucket->datalen</i> for each <i>$bucket</i>.</p>
* @param int &$consumed <p>which must <i>always</i> be declared by reference, should be incremented by the length of the data which your filter reads in and alters. In most cases this means you will increment consumed by <i>$bucket->datalen</i> for each <i>$bucket</i>.</p>
* @param bool $closing <p>If the stream is in the process of closing (and therefore this is the last pass through the filterchain), the closing parameter will be set to <b>TRUE</b>
* @return int <p>
* The <b>filter()</b> method must return one of
@ -127,7 +127,7 @@ class Directory {
* @param string $name <p>
* The constant name.
* </p>
* @return mixed the value of the constant, or &null; if the constant is not
* @return mixed the value of the constant, or null if the constant is not
* defined.
*/
function constant ($name) {}
@ -813,7 +813,7 @@ function iptcembed ($iptcdata, $jpeg_file_name, $spool = null) {}
* about. It can reference a local file or (configuration permitting) a
* remote file using one of the supported streams.
* </p>
* @param array $imageinfo [optional] <p>
* @param array &$imageinfo [optional] <p>
* This optional parameter allows you to extract some extended
* information from the image file. Currently, this will return the
* different JPG APP markers as an associative array.
@ -1006,7 +1006,7 @@ function image_type_to_extension ($imagetype, $include_dot = true) {}
* <td>INFO_CONFIGURATION</td>
* <td>4</td>
* <td>
* Current Local and Master values for PHP directives. See
* Current Local and Main values for PHP directives. See
* also ini_get.
* </td>
* </tr>

View File

@ -448,9 +448,9 @@ function strcoll ($str1, $str2) {}
* @param float $number <p>
* The number to be formatted.
* </p>
* @return string the formatted string. Characters before and after the formatting
* @return string|null the formatted string. Characters before and after the formatting
* string will be returned unchanged.
* Non-numeric number causes returning &null; and
* Non-numeric number causes returning null and
* emitting E_WARNING.
* @deprecated 7.4
* @removed 8.0
@ -507,7 +507,7 @@ function money_format ($format, $number) {}
* </p>
* <p>
* If length is given and is 0,
* false or &null; an empty string will be returned.
* false or null an empty string will be returned.
* </p>
* Using a negative length:
* <pre>
@ -736,7 +736,7 @@ function rtrim ($str, $charlist = " \t\n\r\0\x0B") {}
* subject, and the return value is an array as
* well.
* </p>
* @param int $count [optional] If passed, this will hold the number of matched and replaced needles.
* @param int &$count [optional] If passed, this will hold the number of matched and replaced needles.
* @return string|string[] This function returns a string or an array with the replaced values.
*/
function str_replace ($search, $replace, $subject, &$count = null) {}
@ -756,7 +756,7 @@ function str_replace ($search, $replace, $subject, &$count = null) {}
* subject, and the return value is an array as
* well.
* </p>
* @param int $count [optional] <p>
* @param int &$count [optional] <p>
* The number of matched and replaced needles will
* be returned in count which is passed by
* reference.
@ -897,7 +897,7 @@ function strip_tags ($str, $allowable_tags = null) {}
* @param string $second <p>
* The second string.
* </p>
* @param float $percent [optional] <p>
* @param float &$percent [optional] <p>
* By passing a reference as third argument,
* similar_text will calculate the similarity in
* percent for you.
@ -1007,7 +1007,7 @@ function join ($glue = "", $pieces) {}
* </li>
* </ul>
* @param string|array $locale <p>
* If locale is &null; or the empty string
* If locale is null or the empty string
* "", the locale names will be set from the
* values of environment variables with the same names as the above
* categories, or from "LANG".
@ -1023,7 +1023,7 @@ function join ($glue = "", $pieces) {}
* different names on different systems or for providing a fallback
* for a possibly not available locale.
* </p>
* @param string $_ [optional]
* @param string ...$_ [optional]
* @return string|false the new current locale, or false if the locale functionality is
* not implemented on your platform, the specified locale does not exist or
* the category name is invalid.
@ -1039,7 +1039,7 @@ function join ($glue = "", $pieces) {}
* on the system that PHP is running. It returns exactly
* what the system setlocale function returns.
*/
function setlocale ($category, $locale, $_ = null) {}
function setlocale ($category, $locale, ...$_ = null) {}
/**
* Get numeric formatting information

View File

@ -211,7 +211,7 @@ function ord ($string) {}
* @param string $str <p>
* The input string.
* </p>
* @param array $result [optional] <p>
* @param array &$result [optional] <p>
* If the second parameter arr is present,
* variables are stored in this variable as array elements instead.<br/>
* Since 7.2.0 this parameter is not optional.
@ -404,7 +404,7 @@ function vfprintf ($handle, $format, array $args) {}
* i stands for integer with base detection.
* n stands for number of characters processed so far.
* </p>
* @param mixed ...$_
* @param mixed &...$_
* @return array|int If only
* two parameters were passed to this function, the values parsed
* will be returned as an array. Otherwise, if optional parameters are passed,
@ -421,7 +421,7 @@ function sscanf ($str, $format, &...$_) {}
* The specified format as described in the
* sprintf documentation.
* </p>
* @param mixed ...$vars [optional]
* @param mixed &...$vars [optional]
* @return array|int If only two parameters were passed to this function, the values parsed will be
* returned as an array. Otherwise, if optional parameters are passed, the
* function will return the number of assigned values. The optional
@ -622,7 +622,7 @@ function unlink ($filename, $context = null):bool {}
* unset on the array before passing it to
* exec.
* </p>
* @param int $return_var [optional] <p>
* @param int &$return_var [optional] <p>
* If the return_var argument is present
* along with the output argument, then the
* return status of the executed command will be written to this
@ -644,7 +644,7 @@ function exec ($command, array &$output = null, &$return_var = null) {}
* @param string $command <p>
* The command that will be executed.
* </p>
* @param int $return_var [optional] <p>
* @param int &$return_var [optional] <p>
* If the return_var argument is present, then the
* return status of the executed command will be written to this
* variable.
@ -680,7 +680,7 @@ function escapeshellarg ($arg) {}
* @param string $command <p>
* The command that will be executed.
* </p>
* @param int $return_var [optional] <p>
* @param int &$return_var [optional] <p>
* If the return_var argument is present, the
* return status of the Unix command will be placed here.
* </p>
@ -735,19 +735,19 @@ function shell_exec ($cmd) {}
* secure manner. It is also useful for reading status information
* provided by those programs on auxiliary file descriptors.
* </p>
* @param array $pipes <p>
* @param array &$pipes <p>
* Will be set to an indexed array of file pointers that correspond to
* PHP's end of any pipes that are created.
* </p>
* @param string $cwd [optional] <p>
* @param string|null $cwd [optional] <p>
* The initial working dir for the command. This must be an
* absolute directory path, or &null;
* absolute directory path, or null
* if you want to use the default value (the working dir of the current
* PHP process)
* </p>
* @param array $env [optional] <p>
* @param array|null $env [optional] <p>
* An array with the environment variables for the command that will be
* run, or &null; to use the same environment as the current PHP process
* run, or null to use the same environment as the current PHP process
* </p>
* @param array $other_options [optional] <p>
* Allows you to specify additional options. Currently supported options

View File

@ -726,7 +726,7 @@ function putenv ($setting) {}
* For example, an longopts element "opt" recognizes an
* option --opt.
* Prior to PHP5.3.0 this parameter was only available on few systems
* @param int $optind If the optind parameter is present, then the index where argument parsing stopped will be written to this variable.
* @param int &$optind If the optind parameter is present, then the index where argument parsing stopped will be written to this variable.
* @return string[]|false[]|false This function will return an array of option / argument pairs or false on
* failure.
*/
@ -882,7 +882,7 @@ function get_cfg_var ($option) {}
* &Alias; <function>set_magic_quotes_runtime</function>
* @link https://php.net/manual/en/function.magic-quotes-runtime.php
* @deprecated 5.3
* @param $new_setting
* @param bool $new_setting
* @removed 7.0
*/
function magic_quotes_runtime ($new_setting) {}

View File

@ -4,7 +4,7 @@
* Get the last occurred error
* @link https://php.net/manual/en/function.error-get-last.php
* @return array|null an associative array describing the last error with keys "type",
* "message", "file" and "line". Returns &null; if there hasn't been an error
* "message", "file" and "line". Returns null if there hasn't been an error
* yet.
*/
function error_get_last () {}
@ -19,7 +19,7 @@ function error_get_last () {}
* Additionally class methods of an object instance may be called by passing
* array($objectinstance, $methodname) to this parameter.
* </p>
* @param mixed $parameter [optional] <p>
* @param mixed ...$parameter [optional] <p>
* Zero or more parameters to be passed to the function.
* </p>
* <p>
@ -50,20 +50,19 @@ function call_user_func_array ($function, array $param_arr) {}
* @link https://php.net/manual/en/function.call-user-method.php
* @deprecated 5.3 use call_user_func() instead
* @param string $method_name
* @param object $obj
* @param mixed $parameter [optional]
* @param mixed $_ [optional]
* @param object &$obj
* @param mixed ...$parameter [optional]
* @return mixed
* @removed 7.0
*/
function call_user_method ($method_name, &$obj, $parameter = null, $_ = null) {}
function call_user_method ($method_name, &$obj, ...$parameter = null) {}
/**
* Call a user method given with an array of parameters
* @link https://php.net/manual/en/function.call-user-method-array.php
* @deprecated 5.3 use call_user_func_array() instead
* @param string $method_name
* @param object $obj
* @param object &$obj
* @param array $params
* @return mixed
* @removed 7.0
@ -88,9 +87,9 @@ function forward_static_call ($function, ...$parameters) {}
/**
* Call a static method and pass the arguments as array
* @link https://php.net/manual/en/function.forward-static-call-array.php
* @param callback $function <p>
* The function or method to be called. This parameter may be an &array;,
* with the name of the class, and the method, or a &string;, with a function
* @param callback|array|string $function <p>
* The function or method to be called. This parameter may be an array,
* with the name of the class, and the method, or a string, with a function
* name.
* </p>
* @param array $parameters
@ -172,13 +171,12 @@ function unserialize (string $str, array $options = []) {}
/**
* Dumps information about a variable
* @link https://php.net/manual/en/function.var-dump.php
* @param mixed $expression <p>
* @param mixed ...$expressions <p>
* The variable you want to export.
* </p>
* @param mixed $_ [optional]
* @return void
*/
function var_dump ($expression, $_ = null) {}
function var_dump (...$expressions) {}
/**
* Outputs or returns a parsable string representation of a variable
@ -193,7 +191,7 @@ function var_dump ($expression, $_ = null) {}
* &note.uses-ob;
* @return string|null the variable representation when the return
* parameter is used and evaluates to true. Otherwise, this function will
* return &null;.
* return null.
*/
function var_export ($expression, $return = null) {}
@ -319,8 +317,9 @@ function highlight_file ($filename, $return = false) {}
/**
* &Alias; <function>highlight_file</function>
* @link https://php.net/manual/en/function.show-source.php
* @param $file_name
* @param $return [optional]
* @param string $file_name
* @param bool $return [optional]
* @return string|bool
*/
function show_source ($file_name, $return = false) {}
@ -436,8 +435,9 @@ function ini_set ($varname, $newvalue) {}
* &Alias; <function>ini_set</function>
* @link https://php.net/manual/en/function.ini-alter.php
* @link https://php.net/manual/en/ini.list.php
* @param $varname
* @param $newvalue
* @param string $varname
* @param string $newvalue
* @return string|false
*/
function ini_alter ($varname, $newvalue) {}
@ -665,14 +665,14 @@ function header_remove ($name = null) {}
/**
* Checks if or where headers have been sent
* @link https://php.net/manual/en/function.headers-sent.php
* @param string $file [optional] <p>
* @param string &$file [optional] <p>
* If the optional file and
* line parameters are set,
* headers_sent will put the PHP source file name
* and line number where output started in the file
* and line variables.
* </p>
* @param int $line [optional] <p>
* @param int &$line [optional] <p>
* The line number where the output started.
* </p>
* @return bool headers_sent will return false if no HTTP headers
@ -849,11 +849,11 @@ function gethostname () {}
/**
* &Alias; <function>checkdnsrr</function>
* @link https://php.net/manual/en/function.dns-check-record.php
* @param $host <p>
* @param string $host <p>
* <b>host</b> may either be the IP address in
* dotted-quad notation or the host name.
* </p>
* @param $type [optional] <p>
* @param string $type [optional] <p>
* <b>type</b> may be any one of: A, MX, NS, SOA,
* PTR, CNAME, AAAA, A6, SRV, NAPTR, TXT or ANY.
* </p>
@ -880,9 +880,10 @@ function checkdnsrr ($host, $type = null) {}
/**
* &Alias; <function>getmxrr</function>
* @link https://php.net/manual/en/function.dns-get-mx.php
* @param $hostname
* @param $mxhosts
* @param $weight [optional]
* @param string $hostname
* @param array &$mxhosts
* @param array &$weight [optional]
* @return bool
*/
function dns_get_mx ($hostname, array &$mxhosts, array &$weight = null) {}
@ -892,11 +893,11 @@ function dns_get_mx ($hostname, array &$mxhosts, array &$weight = null) {}
* @param string $hostname <p>
* The Internet host name.
* </p>
* @param array $mxhosts <p>
* @param array &$mxhosts <p>
* A list of the MX records found is placed into the array
* mxhosts.
* </p>
* @param array $weight [optional] <p>
* @param array &$weight [optional] <p>
* If the weight array is given, it will be filled
* with the weight information gathered.
* </p>
@ -940,11 +941,11 @@ function getmxrr ($hostname, array &$mxhosts, array &$weight = null) {}
* always return every record, the slower DNS_ALL
* will collect all records more reliably.
* </p>
* @param array $authns [optional] <p>
* @param array &$authns [optional] <p>
* Passed by reference and, if given, will be populated with Resource
* Records for the Authoritative Name Servers.
* </p>
* @param array $addtl [optional] <p>
* @param array &$addtl [optional] <p>
* Passed by reference and, if given, will be populated with any
* Additional Records.
* </p>

View File

@ -95,7 +95,7 @@ function gettype ($var) {}
/**
* Set the type of a variable
* @link https://php.net/manual/en/function.settype.php
* @param mixed $var <p>
* @param mixed &$var <p>
* The variable being converted.
* </p>
* @param string $type <p>
@ -129,7 +129,7 @@ function gettype ($var) {}
function settype (&$var, $type) {}
/**
* Finds whether a variable is &null;
* Finds whether a variable is null.
* @link https://php.net/manual/en/function.is-null.php
* @param mixed $var <p>
* The variable being evaluated.
@ -297,7 +297,7 @@ function is_scalar ($var) {}
* are supposed to have only 2 entries, the first of which is an object
* or a string, and the second a string.
* </p>
* @param string $callable_name [optional] <p>
* @param string &$callable_name [optional] <p>
* Receives the "callable name". In the example below it is
* "someClass::someMethod". Note, however, that despite the implication
* that someClass::SomeMethod() is a callable static method, this is not
@ -952,7 +952,7 @@ function file ($filename, $flags = null, $context = null) {}
* @param resource $context [optional] <p>
* A valid context resource created with
* stream_context_create. If you don't need to use a
* custom context, you can skip this parameter by &null;.
* custom context, you can skip this parameter by null.
* </p>
* @param int $offset [optional] <p>
* The offset where the reading starts.

View File

@ -4,18 +4,18 @@
* Runs the equivalent of the select() system call on the given
* arrays of streams with a timeout specified by tv_sec and tv_usec
* @link https://php.net/manual/en/function.stream-select.php
* @param array $read <p>
* @param array &$read <p>
* The streams listed in the read array will be watched to
* see if characters become available for reading (more precisely, to see if
* a read will not block - in particular, a stream resource is also ready on
* end-of-file, in which case an fread will return
* a zero length string).
* </p>
* @param array $write <p>
* @param array &$write <p>
* The streams listed in the write array will be
* watched to see if a write will not block.
* </p>
* @param array $except <p>
* @param array &$except <p>
* The streams listed in the except array will be
* watched for high priority exceptional ("out-of-band") data arriving.
* </p>
@ -27,7 +27,7 @@
* </p>
* You do not need to pass every array to
* stream_select. You can leave it out and use an
* empty array or &null; instead. Also do not forget that those arrays are
* empty array or null instead. Also do not forget that those arrays are
* passed by reference and will be modified after
* stream_select returns.
* @param int $tv_sec <p>
@ -43,7 +43,7 @@
* current status of the streams.
* </p>
* <p>
* If tv_sec is &null; stream_select
* If tv_sec is null stream_select
* can block indefinitely, returning only when an event on one of the
* watched streams occurs (or if a signal interrupts the system call).
* </p>
@ -269,10 +269,10 @@ function stream_filter_remove ($stream_filter) {}
* @param string $remote_socket <p>
* Address to the socket to connect to.
* </p>
* @param int $errno [optional] <p>
* @param int &$errno [optional] <p>
* Will be set to the system level error number if connection fails.
* </p>
* @param string $errstr [optional] <p>
* @param string &$errstr [optional] <p>
* Will be set to the system level error message if the connection fails.
* </p>
* @param float|null $timeout [optional] <p>
@ -326,7 +326,7 @@ function stream_socket_client ($remote_socket, &$errno = null, &$errstr = null,
* stream_get_transports. See
* for a list of bulitin transports.
* </p>
* @param int $errno [optional] <p>
* @param int &$errno [optional] <p>
* If the optional errno and errstr
* arguments are present they will be set to indicate the actual system
* level error that occurred in the system-level socket(),
@ -338,7 +338,7 @@ function stream_socket_client ($remote_socket, &$errno = null, &$errstr = null,
* Note that the errno and
* errstr arguments will always be passed by reference.
* </p>
* @param string $errstr [optional] <p>
* @param string &$errstr [optional] <p>
* See errno description.
* </p>
* @param int $flags [optional] <p>
@ -363,7 +363,7 @@ function stream_socket_server ($local_socket, &$errno = null, &$errstr = null, $
* Override the default socket accept timeout. Time should be given in
* seconds.
* </p>
* @param string $peername [optional] <p>
* @param string &$peername [optional] <p>
* Will be set to the name (address) of the client which connected, if
* included and available from the selected transport.
* </p>
@ -420,7 +420,7 @@ function stream_socket_get_name ($handle, $want_peer) {}
* </tr>
* </table>
* </p>
* @param string $address [optional] <p>
* @param string &$address [optional] <p>
* If address is provided it will be populated with
* the address of the remote socket.
* </p>
@ -609,7 +609,7 @@ function stream_supports_lock ($stream) {}
* </p>
* &note.line-endings;
* <p>
* fgetcsv returns &null; if an invalid
* fgetcsv returns null if an invalid
* handle is supplied or false on other errors,
* including end of file.
*/
@ -644,7 +644,7 @@ function fputcsv ($handle, array $fields, $delimiter = ",", $enclosure = '"', $e
* @param int $operation <p>
* operation is one of the following:
* LOCK_SH to acquire a shared lock (reader).
* @param int $wouldblock [optional] <p>
* @param int &$wouldblock [optional] <p>
* The optional third argument is set to true if the lock would block
* (EWOULDBLOCK errno condition).
* </p>

View File

@ -187,7 +187,7 @@ function unpack ($format, $data, $offset = 0) {}
* another browser's info) by passing this parameter.
* </p>
* <p>
* You can bypass this parameter with a &null; value.
* You can bypass this parameter with a null value.
* </p>
* @param bool $return_array [optional] <p>
* If set to true, this function will return an array
@ -871,7 +871,8 @@ function disk_free_space ($directory) {}
* Alias of disk_free_space()
* @link https://php.net/manual/en/function.diskfreespace.php
* @see disk_free_space
* @param $directory
* @param string $directory
* @return float|false
*/
function diskfreespace ($directory) {}

View File

@ -79,7 +79,7 @@ function header_register_callback ( callable $callback ) {}
* Get the size of an image from a string.
* @link https://secure.php.net/manual/en/function.getimagesizefromstring.php
* @param string $imagedata The image data, as a string.
* @param array $imageinfo This optional parameter allows you to extract<br>
* @param array &$imageinfo This optional parameter allows you to extract<br>
* some extended information from the image file. Currently, this will <br>
* return the different JPG APP markers as an associative array. <br>
* Some programs use these APP markers to embed text information in images. <br>
@ -165,7 +165,7 @@ function metaphone ($str, $phonemes = 0) {}
* </p>
* <p>
* The output_callback parameter may be bypassed
* by passing a &null; value.
* by passing a null value.
* </p>
* <p>
* ob_end_clean, ob_end_flush,
@ -368,7 +368,7 @@ function ob_list_handlers () {}
/**
* Sort an array by key
* @link https://php.net/manual/en/function.ksort.php
* @param array $array <p>
* @param array &$array <p>
* The input array.
* </p>
* @param int $sort_flags [optional] <p>
@ -383,7 +383,7 @@ function ksort (array &$array, $sort_flags = null) {}
/**
* Sort an array by key in reverse order
* @link https://php.net/manual/en/function.krsort.php
* @param array $array <p>
* @param array &$array <p>
* The input array.
* </p>
* @param int $sort_flags [optional] <p>
@ -398,7 +398,7 @@ function krsort (array &$array, $sort_flags = null) {}
/**
* Sort an array using a "natural order" algorithm
* @link https://php.net/manual/en/function.natsort.php
* @param array $array <p>
* @param array &$array <p>
* The input array.
* </p>
* @return bool true on success or false on failure.
@ -408,7 +408,7 @@ function natsort (array &$array) {}
/**
* Sort an array using a case insensitive "natural order" algorithm
* @link https://php.net/manual/en/function.natcasesort.php
* @param array $array <p>
* @param array &$array <p>
* The input array.
* </p>
* @return bool true on success or false on failure.
@ -418,7 +418,7 @@ function natcasesort (array &$array) {}
/**
* Sort an array and maintain index association
* @link https://php.net/manual/en/function.asort.php
* @param array $array <p>
* @param array &$array <p>
* The input array.
* </p>
* @param int $sort_flags [optional] <p>
@ -433,7 +433,7 @@ function asort (array &$array, $sort_flags = null) {}
/**
* Sort an array in reverse order and maintain index association
* @link https://php.net/manual/en/function.arsort.php
* @param array $array <p>
* @param array &$array <p>
* The input array.
* </p>
* @param int $sort_flags [optional] <p>
@ -448,7 +448,7 @@ function arsort (array &$array, $sort_flags = null) {}
/**
* Sort an array
* @link https://php.net/manual/en/function.sort.php
* @param array $array <p>
* @param array &$array <p>
* The input array.
* </p>
* @param int $sort_flags [optional] <p>
@ -466,7 +466,7 @@ function sort (array &$array, $sort_flags = null) {}
/**
* Sort an array in reverse order
* @link https://php.net/manual/en/function.rsort.php
* @param array $array <p>
* @param array &$array <p>
* The input array.
* </p>
* @param int $sort_flags [optional] <p>
@ -481,7 +481,7 @@ function rsort (array &$array, $sort_flags = null) {}
/**
* Sort an array by values using a user-defined comparison function
* @link https://php.net/manual/en/function.usort.php
* @param array $array <p>
* @param array &$array <p>
* The input array.
* </p>
* @param callback $cmp_function <p>
@ -496,7 +496,7 @@ function usort (array &$array, $cmp_function) {}
/**
* Sort an array with a user-defined comparison function and maintain index association
* @link https://php.net/manual/en/function.uasort.php
* @param array $array <p>
* @param array &$array <p>
* The input array.
* </p>
* @param callback $cmp_function <p>
@ -510,7 +510,7 @@ function uasort (array &$array, $cmp_function) {}
/**
* Sort an array by keys using a user-defined comparison function
* @link https://php.net/manual/en/function.uksort.php
* @param array $array <p>
* @param array &$array <p>
* The input array.
* </p>
* @param callback $cmp_function <p>
@ -531,7 +531,7 @@ function uksort (array &$array, $cmp_function) {}
/**
* Shuffle an array
* @link https://php.net/manual/en/function.shuffle.php
* @param array $array <p>
* @param array &$array <p>
* The array.
* </p>
* @return bool true on success or false on failure.
@ -541,7 +541,7 @@ function shuffle (array &$array) {}
/**
* Apply a user function to every member of an array
* @link https://php.net/manual/en/function.array-walk.php
* @param array|ArrayObject $array <p>
* @param array|ArrayObject &$array <p>
* The input array.
* </p>
* @param callback $funcname <p>
@ -575,7 +575,7 @@ function array_walk (array &$array, $funcname, $userdata = null) {}
/**
* Apply a user function recursively to every member of an array
* @link https://php.net/manual/en/function.array-walk-recursive.php
* @param array|ArrayObject $input <p>
* @param array|ArrayObject &$input <p>
* The input array.
* </p>
* @param callback $funcname <p>
@ -619,7 +619,7 @@ function array_walk_recursive (array &$input, $funcname, $userdata = null) {}
* If var is not an array or an object with
* implemented Countable interface,
* 1 will be returned.
* There is one exception, if var is &null;,
* There is one exception, if var is null,
* 0 will be returned.
* </p>
* <p>
@ -632,7 +632,7 @@ function count ($var, $mode = COUNT_NORMAL) {}
/**
* Set the internal pointer of an array to its last element
* @link https://php.net/manual/en/function.end.php
* @param array $array <p>
* @param array &$array <p>
* The array. This array is passed by reference because it is modified by
* the function. This means you must pass it a real variable and not
* a function returning an array because only actual variables may be
@ -646,7 +646,7 @@ function end (array &$array) {}
/**
* Rewind the internal array pointer
* @link https://php.net/manual/en/function.prev.php
* @param array $array <p>
* @param array &$array <p>
* The input array.
* </p>
* @return mixed the array value in the previous place that's pointed to by
@ -659,7 +659,7 @@ function prev (array &$array) {}
/**
* Advance the internal array pointer of an array
* @link https://php.net/manual/en/function.next.php
* @param array $array <p>
* @param array &$array <p>
* The array being affected.
* </p>
* @return mixed the array value in the next place that's pointed to by the
@ -671,7 +671,7 @@ function next (array &$array) {}
/**
* Set the internal pointer of an array to its first element
* @link https://php.net/manual/en/function.reset.php
* @param array $array <p>
* @param array &$array <p>
* The input array.
* </p>
* @return mixed the value of the first array element, or false if the array is
@ -705,7 +705,7 @@ function current (array $array) {}
* key of the array element that's currently being pointed to by the
* internal pointer. It does not move the pointer in any way. If the
* internal pointer points beyond the end of the elements list or the array is
* empty, key returns &null;.
* empty, key returns null.
*/
function key (array $array) {}
@ -715,7 +715,7 @@ function key (array $array) {}
* @param array|mixed $value1 Array to look through or first value to compare
* @param mixed $value2 [optional] second value to compare
* </p>
* @param mixed $values [optional] any comparable value
* @param mixed ...$values [optional] any comparable value
* @return mixed min returns the numerically lowest of the
* parameter values.
*/
@ -727,7 +727,7 @@ function min ($value1, $value2 = null, ...$values) {}
* @param array|mixed $value1 Array to look through or first value to compare
* @param mixed $value2 [optional] second value to compare
* </p>
* @param mixed $values [optional] any comparable value
* @param mixed ...$values [optional] any comparable value
* @return mixed max returns the numerically highest of the
* parameter values, either within a arg array or two arguments.
*/
@ -818,17 +818,16 @@ function extract (array $var_array, $extract_type = null, $prefix = null) {}
/**
* Create array containing variables and their values
* @link https://php.net/manual/en/function.compact.php
* @param mixed $varname <p>
* @param mixed ...$varnames <p>
* compact takes a variable number of parameters.
* Each parameter can be either a string containing the name of the
* variable, or an array of variable names. The array can contain other
* arrays of variable names inside it; compact
* handles it recursively.
* </p>
* @param mixed $_ [optional]
* @return array the output array with all the variables added to it.
*/
function compact ($varname, $_ = null) {}
function compact (...$varnames) {}
/**
* Fill an array with values
@ -884,7 +883,7 @@ function range ($start, $end, $step = 1) {}
/**
* Sort multiple or multi-dimensional arrays
* @link https://php.net/manual/en/function.array-multisort.php
* @param array $array1 <p>
* @param array &$array1 <p>
* An array being sorted.
* </p>
* @param array|int $array1_sort_order [optional] <p>
@ -903,24 +902,24 @@ function range ($start, $end, $step = 1) {}
* SORT_FLAG_CASE - can be combined (bitwise OR) with SORT_STRING or SORT_NATURAL to sort strings case-insensitively
* This argument can be swapped with array1_sort_order or omitted entirely, in which case SORT_REGULAR is assumed.
* </p>
* @param array|int $_ [optional] <p>
* @param array|int &...$_ [optional] <p>
* More arrays, optionally followed by sort order and flags.
* Only elements corresponding to equivalent elements in previous arrays are compared.
* In other words, the sort is lexicographical.
* </p>
* @return bool true on success or false on failure.
*/
function array_multisort (array &$array1, $array1_sort_order = null, $array1_sort_flags = null, $_ = null) {}
function array_multisort (array &$array1, $array1_sort_order = null, $array1_sort_flags = null, ...$_ = null) {}
/**
* Push elements onto the end of array
* Since 7.3.0 this function can be called with only one parameter.
* For earlier versions at least two parameters are required.
* @link https://php.net/manual/en/function.array-push.php
* @param array $array <p>
* @param array &$array <p>
* The input array.
* </p>
* @param mixed $vars [optional] <p>
* @param mixed ...$vars [optional] <p>
* The pushed variables.
* </p>
* @return int the number of elements in the array.
@ -930,12 +929,12 @@ function array_push (array &$array, ...$vars) {}
/**
* Pop the element off the end of array
* @link https://php.net/manual/en/function.array-pop.php
* @param array $array <p>
* @param array &$array <p>
* The array to get the value from.
* </p>
* @return mixed the last value of array.
* If array is empty (or is not an array),
* &null; will be returned.
* null will be returned.
* @meta
*/
function array_pop (array &$array) {}
@ -943,10 +942,10 @@ function array_pop (array &$array) {}
/**
* Shift an element off the beginning of array
* @link https://php.net/manual/en/function.array-shift.php
* @param array $array <p>
* @param array &$array <p>
* The input array.
* </p>
* @return mixed the shifted value, or &null; if array is
* @return mixed the shifted value, or null if array is
* empty or is not an array.
* @meta
*/
@ -957,10 +956,10 @@ function array_shift (array &$array) {}
* Since 7.3.0 this function can be called with only one parameter.
* For earlier versions at least two parameters are required.
* @link https://php.net/manual/en/function.array-unshift.php
* @param array $array <p>
* @param array &$array <p>
* The input array.
* </p>
* @param mixed $vars [optional] <p>
* @param mixed ...$vars [optional] <p>
* The prepended variables.
* </p>
* @return int the number of elements in the array.
@ -970,7 +969,7 @@ function array_unshift (array &$array, ...$vars) {}
/**
* Remove a portion of the array and replace it with something else
* @link https://php.net/manual/en/function.array-splice.php
* @param array $input <p>
* @param array &$input <p>
* The input array.
* </p>
* @param int $offset <p>

View File

@ -47,7 +47,7 @@ function array_replace(array $array, array ...$arrays) { }
* @param array ...$arrays <p>
* The array from which elements will be extracted.
* </p>
* @return array an array, or &null; if an error occurs.
* @return array|null an array, or null if an error occurs.
*/
function array_replace_recursive(array $array, array ...$arrays) { }
@ -68,7 +68,7 @@ function array_replace_recursive(array $array, array ...$arrays) { }
function array_keys(array $input, $search_value = null, $strict = null) { }
/**
* Return all the values of an array
* Return all the values of an array.
* @link https://php.net/manual/en/function.array-values.php
* @param array $input <p>
* The array.
@ -79,7 +79,7 @@ function array_keys(array $input, $search_value = null, $strict = null) { }
function array_values(array $input) { }
/**
* Counts all the values of an array
* Counts all the values of an array.
* @link https://php.net/manual/en/function.array-count-values.php
* @param array $input <p>
* The array of values to count
@ -246,65 +246,61 @@ function array_unique(array $array, $sort_flags = SORT_STRING) { }
/**
* Computes the intersection of arrays
* @link https://php.net/manual/en/function.array-intersect.php
* @param array $array1 <p>
* The array with master values to check.
* @param array $array <p>
* The array with main values to check.
* </p>
* @param array $array2 <p>
* An array to compare values against.
* @param array ...$arrays <p>
* The arrays to compare against.
* </p>
* @param array $_ [optional]
* @return array an array containing all of the values in
* array1 whose values exist in all of the parameters.
* array whose values exist in all of the parameters.
* @meta
*/
function array_intersect(array $array1, array $array2, array $_ = null) { }
function array_intersect(array $array, array ...$arrays) { }
/**
* Computes the intersection of arrays using keys for comparison
* @link https://php.net/manual/en/function.array-intersect-key.php
* @param array $array1 <p>
* @param array $array <p>
* The array with master keys to check.
* </p>
* @param array $array2 <p>
* An array to compare keys against.
* @param array ...$arrays <p>
* The arrays to compare keys against.
* </p>
* @param array $_ [optional]
* @return array an associative array containing all the entries of
* array1 which have keys that are present in all
* array which have keys that are present in all
* arguments.
* @meta
*/
function array_intersect_key(array $array1, array $array2, array $_ = null) { }
function array_intersect_key(array $array, array ...$arrays) { }
/**
* Computes the intersection of arrays using a callback function on the keys for comparison
* @link https://php.net/manual/en/function.array-intersect-ukey.php
* @param array $array1 <p>
* @param array $array <p>
* Initial array for comparison of the arrays.
* </p>
* @param array $array2 <p>
* First array to compare keys against.
* @param array ...$arrays <p>
* The arrays to compare keys against.
* </p>
* @param array $_ [optional]
* @param callback $key_compare_func <p>
* User supplied callback function to do the comparison.
* </p>
* @return array the values of array1 whose keys exist
* @return array the values of array whose keys exist
* in all the arguments.
* @meta
*/
function array_intersect_ukey(array $array1, array $array2, array $_ = null, $key_compare_func) { }
function array_intersect_ukey(array $array, array ...$arrays, $key_compare_func) { }
/**
* Computes the intersection of arrays, compares data by a callback function
* @link https://php.net/manual/en/function.array-uintersect.php
* @param array $array1 <p>
* The first array.
* @param array $array <p>
* The base array.
* </p>
* @param array $array2 <p>
* The second array.
* @param array ...$arrays <p>
* The arrays to compare against.
* </p>
* @param array $_ [optional]
* @param callback $data_compare_func <p>
* The callback comparison function.
* </p>
@ -314,38 +310,36 @@ function array_intersect_ukey(array $array1, array $array2, array $_ = null, $ke
* the first argument is considered to be respectively less than, equal
* to, or greater than the second.
* </p>
* @return array an array containing all the values of array1
* that are present in all the arguments.
* @return array an array containing all the values of array
* that are present in arrays.
* @meta
*/
function array_uintersect(array $array1, array $array2, array $_ = null, $data_compare_func) { }
function array_uintersect(array $array, array ...$arrays, $data_compare_func) { }
/**
* Computes the intersection of arrays with additional index check
* @link https://php.net/manual/en/function.array-intersect-assoc.php
* @param array $array1 <p>
* The array with master values to check.
* @param array $array <p>
* The array with main values to check.
* </p>
* @param array $array2 <p>
* An array to compare values against.
* @param array ...$arrays <p>
* The arrays to compare values against.
* </p>
* @param array $_ [optional]
* @return array an associative array containing all the values in
* array1 that are present in all of the arguments.
* array that are present in all of the arguments.
* @meta
*/
function array_intersect_assoc(array $array1, array $array2, array $_ = null) { }
function array_intersect_assoc(array $array, array ...$arrays) { }
/**
* Computes the intersection of arrays with additional index check, compares data by a callback function
* @link https://php.net/manual/en/function.array-uintersect-assoc.php
* @param array $array1 <p>
* @param array $array <p>
* The first array.
* </p>
* @param array $array2 <p>
* The second array.
* @param array ...$arrays <p>
* The arrays to compare against.
* </p>
* @param array $_ [optional]
* @param callback $data_compare_func <p>
* For comparison is used the user supplied callback function.
* It must return an integer less than, equal
@ -354,40 +348,38 @@ function array_intersect_assoc(array $array1, array $array2, array $_ = null) {
* second.
* </p>
* @return array an array containing all the values of
* array1 that are present in all the arguments.
* array that are present in all the arguments.
* @meta
*/
function array_uintersect_assoc(array $array1, array $array2, array $_ = null, $data_compare_func) { }
function array_uintersect_assoc(array $array, array ...$arrays, $data_compare_func) { }
/**
* Computes the intersection of arrays with additional index check, compares indexes by a callback function
* @link https://php.net/manual/en/function.array-intersect-uassoc.php
* @param array $array1 <p>
* @param array $array <p>
* Initial array for comparison of the arrays.
* </p>
* @param array $array2 <p>
* First array to compare keys against.
* @param array ...$arrays <p>
* The arrays to compare keys against.
* </p>
* @param array $_ [optional]
* @param callback $key_compare_func <p>
* User supplied callback function to do the comparison.
* </p>
* @return array the values of array1 whose values exist
* @return array the values of array whose values exist
* in all of the arguments.
* @meta
*/
function array_intersect_uassoc(array $array1, array $array2, array $_ = null, $key_compare_func) { }
function array_intersect_uassoc(array $array, array ...$arrays, $key_compare_func) { }
/**
* Computes the intersection of arrays with additional index check, compares data and indexes by a callback functions
* @link https://php.net/manual/en/function.array-uintersect-uassoc.php
* @param array $array1 <p>
* @param array $array <p>
* The first array.
* </p>
* @param array $array2 <p>
* The second array.
* @param array $arrays <p>
* The arrays to compare against.
* </p>
* @param array $_ [optional]
* @param callback $data_compare_func <p>
* For comparison is used the user supplied callback function.
* It must return an integer less than, equal
@ -399,54 +391,51 @@ function array_intersect_uassoc(array $array1, array $array2, array $_ = null, $
* Key comparison callback function.
* </p>
* @return array an array containing all the values of
* array1 that are present in all the arguments.
* array that are present in arrays.
* @meta
*/
function array_uintersect_uassoc(array $array1, array $array2, array $_ = null, $data_compare_func, $key_compare_func) { }
function array_uintersect_uassoc(array $array, array ...$arrays, $data_compare_func, $key_compare_func) { }
/**
* Computes the difference of arrays
* Computes the difference of arrays.
* @link https://php.net/manual/en/function.array-diff.php
* @param array $array1 <p>
* The array to compare from
* @param array $array <p>
* The array to compare from.
* </p>
* @param array $array2 <p>
* An array to compare against
* @param array ...$array <p>
* The arrays to compare against.
* </p>
* @param array $_ [optional]
* @return array an array containing all the entries from
* array1 that are not present in any of the other arrays.
* array that are not present in any of the other arrays.
* @meta
*/
function array_diff(array $array1, array $array2, array $_ = null) { }
function array_diff(array $array, array ...arrays) { }
/**
* Computes the difference of arrays using keys for comparison
* Computes the difference of arrays using keys for comparison.
* @link https://php.net/manual/en/function.array-diff-key.php
* @param array $array1 <p>
* The array to compare from
* @param array $array <p>
* The array to compare from.
* </p>
* @param array $array2 <p>
* An array to compare against
* @param array ...$arrays <p>
* The arrays to compare against.
* </p>
* @param array $_ [optional]
* @return array an array containing all the entries from
* array1 whose keys are not present in any of the
* array whose keys are not present in any of the
* other arrays.
* @meta
*/
function array_diff_key(array $array1, array $array2, array $_ = null) { }
function array_diff_key(array $array, array ...$arrays) { }
/**
* Computes the difference of arrays using a callback function on the keys for comparison
* Computes the difference of arrays using a callback function on the keys for comparison.
* @link https://php.net/manual/en/function.array-diff-ukey.php
* @param array $array1 <p>
* The array to compare from
* @param array $array <p>
* The array to compare from.
* </p>
* @param array $array2 <p>
* An array to compare against
* @param array ...$arrays <p>
* The arrays to compare against
* </p>
* @param array $_ [optional]
* @param callback $key_compare_func <p>
* callback function to use.
* The callback function must return an integer less than, equal
@ -454,21 +443,20 @@ function array_diff_key(array $array1, array $array2, array $_ = null) { }
* be respectively less than, equal to, or greater than the second.
* </p>
* @return array an array containing all the entries from
* array1 that are not present in any of the other arrays.
* array that are not present in any of the other arrays.
* @meta
*/
function array_diff_ukey(array $array1, array $array2, array $_ = null, $key_compare_func) { }
function array_diff_ukey(array $array, array ...$arrays, $key_compare_func) { }
/**
* Computes the difference of arrays by using a callback function for data comparison
* @link https://php.net/manual/en/function.array-udiff.php
* @param array $array1 <p>
* @param array $array <p>
* The first array.
* </p>
* @param array $array2 <p>
* The second array.
* @param array ...$arrays <p>
* The arrays to compare against.
* </p>
* @param array $_ [optional]
* @param callback $data_compare_func <p>
* The callback comparison function.
* </p>
@ -478,38 +466,36 @@ function array_diff_ukey(array $array1, array $array2, array $_ = null, $key_com
* the first argument is considered to be respectively less than, equal
* to, or greater than the second.
* </p>
* @return array an array containing all the values of array1
* @return array an array containing all the values of array
* that are not present in any of the other arguments.
* @meta
*/
function array_udiff(array $array1, array $array2, array $_ = null, $data_compare_func) { }
function array_udiff(array $array, array ...$arrays, $data_compare_func) { }
/**
* Computes the difference of arrays with additional index check
* Computes the difference of arrays with additional index check.
* @link https://php.net/manual/en/function.array-diff-assoc.php
* @param array $array1 <p>
* The array to compare from
* @param array $array <p>
* The array to compare from.
* </p>
* @param array $array2 <p>
* An array to compare against
* @param array ...$arrays <p>
* The arrays to compare against.
* </p>
* @param array $_ [optional]
* @return array an array containing all the values from
* array1 that are not present in any of the other arrays.
* array that are not present in any of the other arrays.
* @meta
*/
function array_diff_assoc(array $array1, array $array2, array $_ = null) { }
function array_diff_assoc(array $array, array ...$arrays) { }
/**
* Computes the difference of arrays with additional index check, compares data by a callback function
* @link https://php.net/manual/en/function.array-udiff-assoc.php
* @param array $array1 <p>
* @param array $array <p>
* The first array.
* </p>
* @param array $array2 <p>
* The second array.
* @param array ...$arrays <p>
* The arrays to compare against.
* </p>
* @param array $_ [optional]
* @param callback $data_compare_func <p>
* The callback comparison function.
* </p>
@ -520,7 +506,7 @@ function array_diff_assoc(array $array1, array $array2, array $_ = null) { }
* to, or greater than the second.
* </p>
* @return array array_udiff_assoc returns an array
* containing all the values from array1
* containing all the values from array
* that are not present in any of the other arguments.
* Note that the keys are used in the comparison unlike
* array_diff and array_udiff.
@ -530,18 +516,17 @@ function array_diff_assoc(array $array1, array $array2, array $_ = null) { }
* comparison.
* @meta
*/
function array_udiff_assoc(array $array1, array $array2, array $_ = null, $data_compare_func) { }
function array_udiff_assoc(array $array, array ...$arrays, $data_compare_func) { }
/**
* Computes the difference of arrays with additional index check which is performed by a user supplied callback function
* Computes the difference of arrays with additional index check which is performed by a user supplied callback function.
* @link https://php.net/manual/en/function.array-diff-uassoc.php
* @param array $array1 <p>
* The array to compare from
* @param array $array <p>
* The array to compare from.
* </p>
* @param array $array2 <p>
* An array to compare against
* @param array ...$arrays <p>
* The arrays to compare against.
* </p>
* @param array $_ [optional]
* @param callback $key_compare_func <p>
* callback function to use.
* The callback function must return an integer less than, equal
@ -549,21 +534,20 @@ function array_udiff_assoc(array $array1, array $array2, array $_ = null, $data_
* be respectively less than, equal to, or greater than the second.
* </p>
* @return array an array containing all the entries from
* array1 that are not present in any of the other arrays.
* array that are not present in any of the other arrays.
* @meta
*/
function array_diff_uassoc(array $array1, array $array2, array $_ = null, $key_compare_func) { }
function array_diff_uassoc(array $array, array ...$arrays, $key_compare_func) { }
/**
* Computes the difference of arrays with additional index check, compares data and indexes by a callback function
* @link https://php.net/manual/en/function.array-udiff-uassoc.php
* @param array $array1 <p>
* @param array $array <p>
* The first array.
* </p>
* @param array $array2 <p>
* The second array.
* @param array ...$arrays <p>
* The arrays to compare against.
* </p>
* @param array $_ [optional]
* @param callback $data_compare_func <p>
* The callback comparison function.
* </p>
@ -587,11 +571,11 @@ function array_diff_uassoc(array $array1, array $array2, array $_ = null, $key_c
* the indices by using an internal function.
* </p>
* @return array an array containing all the values from
* array1 that are not present in any of the other
* array that are not present in any of the other
* arguments.
* @meta
*/
function array_udiff_uassoc(array $array1, array $array2, array $_ = null, $data_compare_func, $key_compare_func) { }
function array_udiff_uassoc(array $array, array ...$arrays, $data_compare_func, $key_compare_func) { }
/**
* Calculate the sum of values in an array
@ -655,15 +639,14 @@ function array_filter(array $input, $callback = null, $flag = 0) { }
* @param callback $callback <p>
* Callback function to run for each element in each array.
* </p>
* @param array $arr1 <p>
* @param array ...$array <p>
* An array to run through the callback function.
* </p>
* @param array $_ [optional]
* @return array an array containing all the elements of arr1
* after applying the callback function to each one.
* @meta
*/
function array_map($callback, array $arr1, array $_ = null) { }
function array_map($callback, array ...$array) { }
/**
* Split an array into chunks

View File

@ -165,7 +165,7 @@ define ('INFO_GENERAL', 1);
define ('INFO_CREDITS', 2);
/**
* Current Local and Master values for PHP directives. See
* Current Local and Main values for PHP directives. See
* also ini_get.
* @link https://php.net/manual/en/info.constants.php
*/

View File

@ -756,22 +756,22 @@ function stats_stat_paired_t (array $arr1, array $arr2) {
* Returns the percentile values of the input array.
*
* @link https://www.php.net/manual/en/function.stats-stat-percentile.php
* @param array $arr
* @param array $array
* @param float $perc
* @return float
*/
function stats_stat_percentile (array $arr, float $perc): float {
function stats_stat_percentile (array $array, float $perc): float {
}
/**
* Returns the power sum of the input array.
*
* @link https://www.php.net/manual/en/function.stats-stat-powersum.php
* @param array $arr
* @param array $array
* @param float $power
* @return float
*/
function stats_stat_powersum (array $arr, float $power): float {
function stats_stat_powersum (array $array, float $power): float {
}
/**

View File

@ -43,7 +43,7 @@ function msg_get_queue ($key, $perms = 0666) {}
* indicating that you should try to send your message again a little
* later on.
* </p>
* @param int $errorcode [optional]
* @param int &$errorcode [optional]
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* </p>
* <p>
@ -70,7 +70,7 @@ function msg_send ($queue, $msgtype, $message, $serialize = true, $blocking = tr
* by specifying <b>MSG_IPC_NOWAIT</b> in the
* <i>flags</i> parameter.
* </p>
* @param int $msgtype <p>
* @param int &$msgtype <p>
* The type of the message that was received will be stored in this
* parameter.
* </p>
@ -80,7 +80,7 @@ function msg_send ($queue, $msgtype, $message, $serialize = true, $blocking = tr
* than this size the function will fail (unless you set
* <i>flags</i> as described below).
* </p>
* @param mixed $message <p>
* @param mixed &$message <p>
* The received message will be stored in <i>message</i>,
* unless there were errors receiving the message.
* </p>

View File

@ -11,9 +11,9 @@ use StubTests\Model\Tags\RemovedTag;
class Utils
{
public static function flattenArray(array $arr, bool $group): array
public static function flattenArray(array $array, bool $group): array
{
return iterator_to_array(new RecursiveIteratorIterator(new RecursiveArrayIterator($arr)), $group);
return iterator_to_array(new RecursiveIteratorIterator(new RecursiveArrayIterator($array)), $group);
}
/**

View File

@ -1209,8 +1209,8 @@ function uv_tty_init($loop, $fd, int $readable) {}
/**
* @param resource $tty
* @param int $width
* @param int $height
* @param int &$width
* @param int &$height
*
* @return int
*/

View File

@ -18,14 +18,13 @@ function wddx_serialize_value ($var, $comment = null) {}
/**
* Serialize variables into a WDDX packet
* @link https://php.net/manual/en/function.wddx-serialize-vars.php
* @param mixed $var_name <p>
* @param mixed ...$var_names <p>
* Can be either a string naming a variable or an array containing
* strings naming the variables or another array, etc.
* </p>
* @param mixed $_ [optional]
* @return string|false the WDDX packet, or <b>FALSE</b> on error.
*/
function wddx_serialize_vars ($var_name, $_ = null) {}
function wddx_serialize_vars (...$var_names) {}
/**
* Starts a new WDDX packet with structure inside it
@ -53,14 +52,13 @@ function wddx_packet_end ($packet_id) {}
* @param resource $packet_id <p>
* A WDDX packet, returned by <b>wddx_packet_start</b>.
* </p>
* @param mixed $var_name <p>
* @param mixed ...$var_names <p>
* Can be either a string naming a variable or an array containing
* strings naming the variables or another array, etc.
* </p>
* @param mixed $_ [optional]
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function wddx_add_vars ($packet_id, $var_name, $_ = null) {}
function wddx_add_vars ($packet_id, ...$var_names) {}
/**
* Unserializes a WDDX packet

View File

@ -277,7 +277,7 @@ function wincache_ucache_clear() {}
* get decremented. If the argument is a floating point number it will be truncated
* to nearest integer. The variable associated with the key should be of type long,
* otherwise the function fails and returns FALSE.</p>
* @param bool $success [optional]
* @param bool &$success [optional]
* <p>Will be set to TRUE on success and FALSE on failure.</p>
* @return int|false Returns the decremented value on success and FALSE on failure.
*/
@ -312,7 +312,7 @@ function wincache_ucache_exists($key) {}
* @param mixed $key <p>The key that was used to store the variable in the cache.
* key is case sensitive. key can be an array of keys. In this case the return
* value will be an array of values of each element in the key array.</p>
* @param bool $success [optional]
* @param bool &$success [optional]
* <p>Will be set to TRUE on success and FALSE on failure.</p>
* @return mixed <p>If key is a string, the function returns the value of the variable
* stored with that key. The success is set to TRUE on success and to FALSE on failure.</p>
@ -333,7 +333,7 @@ function wincache_ucache_get($key, &$success) {}
* get incremented. If the argument is a floating point number it will be truncated
* to nearest integer. The variable associated with the key should be of type long,
* otherwise the function fails and returns FALSE.</p>
* @param bool $success [optional]
* @param bool &$success [optional]
* <p>Will be set to TRUE on success and FALSE on failure.</p>
* @return int|false Returns the incremented value on success and FALSE on failure.
*/

View File

@ -51,7 +51,7 @@ function xml_parser_create_ns ($encoding = null, $separator = ':') {}
* @param resource $parser <p>
* A reference to the XML parser to use inside the object.
* </p>
* @param object $object <p>
* @param object &$object <p>
* The object where to use the XML parser.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
@ -345,10 +345,10 @@ function xml_parse ($parser, $data, $is_final = false) {}
* @param string $data <p>
* A string containing the XML data.
* </p>
* @param array $values <p>
* @param array &$values <p>
* An array containing the values of the XML data
* </p>
* @param array $index [optional] <p>
* @param array &$index [optional] <p>
* An array containing pointers to the location of the appropriate values in the $values.
* </p>
* @return int <b>xml_parse_into_struct</b> returns 0 for failure and 1 for

View File

@ -28,7 +28,7 @@ function xmlrpc_decode ($xml, $encoding = "iso-8859-1") {}
* Decodes XML into native PHP types
* @link https://php.net/manual/en/function.xmlrpc-decode-request.php
* @param string $xml
* @param string $method
* @param string &$method
* @param string $encoding [optional]
* @return mixed
*/
@ -64,7 +64,7 @@ function xmlrpc_get_type ($value) {}
/**
* Sets xmlrpc type, base64 or datetime, for a PHP string value
* @link https://php.net/manual/en/function.xmlrpc-set-type.php
* @param string $value <p>
* @param string &$value <p>
* Value to set the type
* </p>
* @param string $type <p>

View File

@ -131,9 +131,9 @@ final class Yaf_Application {
* @link https://secure.php.net/manual/en/yaf-application.execute.php
*
* @param callable $entry a valid callback
* @param string $_ parameters will pass to the callback
* @param string ...$_ parameters will pass to the callback
*/
public function execute(callable $entry, $_ = "..."){ }
public function execute(callable $entry, ...$_ = null){ }
/**
* Retrieve the Yaf_Application instance, alternatively, we also could use Yaf_Dispatcher::getApplication().
@ -1187,7 +1187,7 @@ abstract class Yaf_Controller_Abstract {
* @link https://secure.php.net/manual/en/yaf-controller-abstract.getinvokearg.php
* @param string $name
*
* @return null|mixed
* @return mixed|null
*/
public function getInvokeArg($name){ }
@ -2496,7 +2496,7 @@ class Yaf_View_Simple implements Yaf_View_Interface {
* @link https://secure.php.net/manual/en/yaf-view-simple.assignref.php
*
* @param string $name A string name which will be used to access the value in the template.
* @param mixed $value mixed value
* @param mixed &$value mixed value
*
* @return Yaf_View_Simple
*/

View File

@ -136,9 +136,9 @@ final class Application
* @link https://secure.php.net/manual/en/yaf-application.execute.php
*
* @param callable $entry a valid callback
* @param string $_ parameters will pass to the callback
* @param string ...$_ parameters will pass to the callback
*/
public function execute(callable $entry, $_ = "...")
public function execute(callable $entry, ...$_ = null)
{
}
@ -1384,7 +1384,7 @@ abstract class Controller_Abstract
* @link https://secure.php.net/manual/en/yaf-controller-abstract.getinvokearg.php
* @param string $name
*
* @return null|mixed
* @return mixed|null
*/
public function getInvokeArg($name)
{
@ -2977,7 +2977,7 @@ class Simple implements \Yaf\View_Interface
* @link https://secure.php.net/manual/en/yaf-view-simple.assignref.php
*
* @param string $name A string name which will be used to access the value in the template.
* @param mixed $value mixed value
* @param mixed &$value mixed value
*
* @return \Yaf\View\Simple
*/

View File

@ -32,7 +32,7 @@ class ZendAPI_Queue {
* @param Job $job The Job we want to insert to the queue (by ref.)
* @return int The inserted job id
*/
function addJob(&$job) {}
function addJob($job) {}
/**
@ -51,7 +51,7 @@ class ZendAPI_Queue {
If the given Job doesn't have an assigned ID, a new job will be added
* @return int The id of the updated job
*/
function updateJob(&$job) {}
function updateJob($job) {}
/**
* Remove a job from the queue
@ -127,7 +127,7 @@ class ZendAPI_Queue {
from the queue. If not set, all jobs will be returned.<br>
* Options can be: priority, application_id, name, status, recurring.
* @param int $max_jobs Maximum jobs to retrieve. Default is -1, getting all jobs available.
* @param bool $with_globals_and_output. Whether gets the global variables dataand job output.
* @param bool $with_globals_and_output Whether gets the global variables dataand job output.
* Default is false.
* @return array Jobs that satisfies filter_options.
*/
@ -162,12 +162,12 @@ class ZendAPI_Queue {
* Return finished jobs (either failed or successed) between time range allowing paging.
* Jobs are sorted by job id descending.
*
* @param int $status. Filter to jobs by status, 1-success, 0-failed either logical or execution.
* @param int $status Filter to jobs by status, 1-success, 0-failed either logical or execution.
* @param int $start_time UNIX timestamp. Get only jobs finished after $start_time.
* @param int $end_time UNIX timestamp. Get only jobs finished before $end_time.
* @param int $index. Get jobs starting from the $index-th place.
* @param int $count. Get only $count jobs.
* @param int $total. Pass by reference. Return the total number of jobs statisifed the query criteria.
* @param int $index Get jobs starting from the $index-th place.
* @param int $count Get only $count jobs.
* @param int &$total Pass by reference. Return the total number of jobs statisifed the query criteria.
*
* @return array of jobs.
*/

View File

@ -1146,8 +1146,8 @@ class ZipArchive implements Countable {
* Retrieve the external attributes of an entry defined by its name
* @link https://www.php.net/manual/en/ziparchive.getexternalattributesname.php
* @param string $name Name of the entry
* @param int $opsys On success, receive the operating system code defined by one of the ZipArchive::OPSYS_ constants.
* @param int $attr On success, receive the external attributes. Value depends on operating system.
* @param int &$opsys On success, receive the operating system code defined by one of the ZipArchive::OPSYS_ constants.
* @param int &$attr On success, receive the external attributes. Value depends on operating system.
* @param int $flags [optional] If flags is set to ZipArchive::FL_UNCHANGED, the original unchanged attributes are returned.
* @return bool Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
@ -1168,8 +1168,8 @@ class ZipArchive implements Countable {
* Retrieve the external attributes of an entry defined by its index
* @link https://www.php.net/manual/en/ziparchive.getexternalattributesindex.php
* @param int $index Index of the entry.
* @param int $opsys On success, receive the operating system code defined by one of the ZipArchive::OPSYS_ constants.
* @param int $attr On success, receive the external attributes. Value depends on operating system.
* @param int &$opsys On success, receive the operating system code defined by one of the ZipArchive::OPSYS_ constants.
* @param int &$attr On success, receive the external attributes. Value depends on operating system.
* @param int $flags [optional] If flags is set to ZipArchive::FL_UNCHANGED, the original unchanged attributes are returned.
* @return bool Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/

View File

@ -157,7 +157,7 @@ class Zookeeper
* @param string $path
* @param string $data
* @param int $version
* @param array $stat
* @param array &$stat
*
* @return bool
*
@ -175,7 +175,7 @@ class Zookeeper
*
* @param string $path
* @param callable $watcher_cb
* @param array $stat
* @param array &$stat
* @param int $max_size
*
* @return string