update since versions in core to make it major

seems that new features are being introduced only in major releases so it doesn't makes sense to display redundant .0 patch version in 'since' tag and more over such major version will allow to create matching between language level and since version in phpstorm and create appropriate inspection like it's done for 'deprecated' inspection
This commit is contained in:
Ivan Fedorov 2019-10-31 12:29:32 +03:00
parent 0380241759
commit 79f9860eea
76 changed files with 1209 additions and 1206 deletions

View File

@ -345,7 +345,7 @@ function get_class ($object = null) {}
* the "Late Static Binding" class name
* @link https://php.net/manual/en/function.get-called-class.php
* @return string the class name. Returns false if called from outside a class.
* @since 5.3.0
* @since 5.3
*/
function get_called_class () {}
@ -396,7 +396,7 @@ function method_exists ($object, $method_name) {}
* </p>
* @return bool true if the property exists, false if it doesn't exist or
* null in case of an error.
* @since 5.1.0
* @since 5.1
*/
function property_exists ($class, $property) {}
@ -406,7 +406,7 @@ function property_exists ($class, $property) {}
* @param bool $autoload [optional] Whether to autoload if not already loaded.
* @return bool Returns TRUE if trait exists, FALSE if not, NULL in case of an error.
* @link https://secure.php.net/manual/en/function.trait-exists.php
* @since 5.4.0
* @since 5.4
*/
function trait_exists($traitname, $autoload ) {}
@ -465,7 +465,7 @@ function function_exists ($function_name) {}
* @param string $alias The alias name for the class.
* @param bool $autoload [optional] Whether to autoload if the original class is not found.
* @return bool true on success or false on failure.
* @since 5.3.0
* @since 5.3
*/
function class_alias ($original, $alias, $autoload = TRUE) {}
@ -711,7 +711,7 @@ function get_declared_interfaces () {}
* @return array with names of all declared traits in values. Returns NULL in case of a failure.
* @link https://secure.php.net/manual/en/function.get-declared-traits.php
* @see class_uses()
* @since 5.4.0
* @since 5.4
*/
function get_declared_traits() {}
@ -891,7 +891,7 @@ function get_extension_funcs ($module_name) {}
* </pre>
* </p>
* @return array
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function get_defined_constants ($categorize = false) {}
@ -991,7 +991,7 @@ function get_defined_constants ($categorize = false) {}
* </td>
* </tr>
* </table>
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function debug_backtrace ($options = DEBUG_BACKTRACE_PROVIDE_OBJECT, $limit = 0) {}
@ -1025,7 +1025,7 @@ function debug_print_backtrace ($options = 0, $limit = 0) {}
* Forces collection of any existing garbage cycles
* @link https://php.net/manual/en/function.gc-collect-cycles.php
* @return int number of collected cycles.
* @since 5.3.0
* @since 5.3
*/
function gc_collect_cycles () {}
@ -1033,7 +1033,7 @@ function gc_collect_cycles () {}
* Returns status of the circular reference collector
* @link https://php.net/manual/en/function.gc-enabled.php
* @return bool true if the garbage collector is enabled, false otherwise.
* @since 5.3.0
* @since 5.3
*/
function gc_enabled () {}
@ -1041,7 +1041,7 @@ function gc_enabled () {}
* Activates the circular reference collector
* @link https://php.net/manual/en/function.gc-enable.php
* @return void
* @since 5.3.0
* @since 5.3
*/
function gc_enable () {}
@ -1049,7 +1049,7 @@ function gc_enable () {}
* Deactivates the circular reference collector
* @link https://php.net/manual/en/function.gc-disable.php
* @return void
* @since 5.3.0
* @since 5.3
*/
function gc_disable () {}

View File

@ -36,7 +36,7 @@ interface IteratorAggregate extends Traversable {
* @return Traversable An instance of an object implementing <b>Iterator</b> or
* <b>Traversable</b>
* @throws Exception on failure.
* @since 5.0.0
* @since 5.0
*/
public function getIterator();
}
@ -52,7 +52,7 @@ interface Iterator extends Traversable {
* Return the current element
* @link https://php.net/manual/en/iterator.current.php
* @return mixed Can return any type.
* @since 5.0.0
* @since 5.0
*/
public function current();
@ -60,7 +60,7 @@ interface Iterator extends Traversable {
* Move forward to next element
* @link https://php.net/manual/en/iterator.next.php
* @return void Any returned value is ignored.
* @since 5.0.0
* @since 5.0
*/
public function next();
@ -68,7 +68,7 @@ interface Iterator extends Traversable {
* Return the key of the current element
* @link https://php.net/manual/en/iterator.key.php
* @return string|float|int|bool|null scalar on success, or null on failure.
* @since 5.0.0
* @since 5.0
*/
public function key();
@ -77,7 +77,7 @@ interface Iterator extends Traversable {
* @link https://php.net/manual/en/iterator.valid.php
* @return bool The return value will be casted to boolean and then evaluated.
* Returns true on success or false on failure.
* @since 5.0.0
* @since 5.0
*/
public function valid();
@ -85,7 +85,7 @@ interface Iterator extends Traversable {
* Rewind the Iterator to the first element
* @link https://php.net/manual/en/iterator.rewind.php
* @return void Any returned value is ignored.
* @since 5.0.0
* @since 5.0
*/
public function rewind();
}
@ -106,7 +106,7 @@ interface ArrayAccess {
* </p>
* <p>
* The return value will be casted to boolean if non-boolean was returned.
* @since 5.0.0
* @since 5.0
*/
public function offsetExists($offset);
@ -117,7 +117,7 @@ interface ArrayAccess {
* The offset to retrieve.
* </p>
* @return mixed Can return all value types.
* @since 5.0.0
* @since 5.0
*/
public function offsetGet($offset);
@ -131,7 +131,7 @@ interface ArrayAccess {
* The value to set.
* </p>
* @return void
* @since 5.0.0
* @since 5.0
*/
public function offsetSet($offset, $value);
@ -142,7 +142,7 @@ interface ArrayAccess {
* The offset to unset.
* </p>
* @return void
* @since 5.0.0
* @since 5.0
*/
public function offsetUnset($offset);
}
@ -157,7 +157,7 @@ interface Serializable {
* String representation of object
* @link https://php.net/manual/en/serializable.serialize.php
* @return string the string representation of the object or null
* @since 5.1.0
* @since 5.1
*/
public function serialize();
@ -168,7 +168,7 @@ interface Serializable {
* The string representation of the object.
* </p>
* @return void
* @since 5.1.0
* @since 5.1
*/
public function unserialize($serialized);
}
@ -272,7 +272,7 @@ class Exception implements Throwable {
* Tries to clone the Exception, which results in Fatal error.
* @link https://php.net/manual/en/exception.clone.php
* @return void
* @since 5.1.0
* @since 5.1
*/
final private function __clone() { }
@ -282,7 +282,7 @@ class Exception implements Throwable {
* @param string $message [optional] The Exception message to throw.
* @param int $code [optional] The Exception code.
* @param Throwable $previous [optional] The previous throwable used for the exception chaining.
* @since 5.1.0
* @since 5.1
*/
public function __construct($message = "", $code = 0, Throwable $previous = null) { }
@ -290,7 +290,7 @@ class Exception implements Throwable {
* Gets the Exception message
* @link https://php.net/manual/en/exception.getmessage.php
* @return string the Exception message as a string.
* @since 5.1.0
* @since 5.1
*/
final public function getMessage() { }
@ -301,7 +301,7 @@ class Exception implements Throwable {
* <b>Exception</b> but possibly as other type in
* <b>Exception</b> descendants (for example as
* string in <b>PDOException</b>).
* @since 5.1.0
* @since 5.1
*/
final public function getCode() { }
@ -309,7 +309,7 @@ class Exception implements Throwable {
* Gets the file in which the exception occurred
* @link https://php.net/manual/en/exception.getfile.php
* @return string the filename in which the exception was created.
* @since 5.1.0
* @since 5.1
*/
final public function getFile() { }
@ -317,7 +317,7 @@ class Exception implements Throwable {
* Gets the line in which the exception occurred
* @link https://php.net/manual/en/exception.getline.php
* @return int the line number where the exception was created.
* @since 5.1.0
* @since 5.1
*/
final public function getLine() { }
@ -325,7 +325,7 @@ class Exception implements Throwable {
* Gets the stack trace
* @link https://php.net/manual/en/exception.gettrace.php
* @return array the Exception stack trace as an array.
* @since 5.1.0
* @since 5.1
*/
final public function getTrace() { }
@ -334,7 +334,7 @@ class Exception implements Throwable {
* @link https://php.net/manual/en/exception.getprevious.php
* @return Exception the previous <b>Exception</b> if available
* or null otherwise.
* @since 5.3.0
* @since 5.3
*/
final public function getPrevious() { }
@ -342,7 +342,7 @@ class Exception implements Throwable {
* Gets the stack trace as a string
* @link https://php.net/manual/en/exception.gettraceasstring.php
* @return string the Exception stack trace as a string.
* @since 5.1.0
* @since 5.1
*/
final public function getTraceAsString() { }
@ -350,7 +350,7 @@ class Exception implements Throwable {
* String representation of the exception
* @link https://php.net/manual/en/exception.tostring.php
* @return string the string representation of the exception.
* @since 5.1.0
* @since 5.1
*/
public function __toString() { }
@ -539,7 +539,7 @@ class ErrorException extends Exception {
* @param string $filename [optional] The filename where the exception is thrown.
* @param int $lineno [optional] The line number where the exception is thrown.
* @param Exception $previous [optional] The previous exception used for the exception chaining.
* @since 5.1.0
* @since 5.1
*/
public function __construct($message = "", $code = 0, $severity = 1, $filename = __FILE__, $lineno = __LINE__, $previous = null) { }
@ -547,7 +547,7 @@ class ErrorException extends Exception {
* Gets the exception severity
* @link https://php.net/manual/en/errorexception.getseverity.php
* @return int the severity level of the exception.
* @since 5.1.0
* @since 5.1
*/
final public function getSeverity() { }
}
@ -636,7 +636,7 @@ interface Countable {
* </p>
* <p>
* The return value is cast to an integer.
* @since 5.1.0
* @since 5.1
*/
public function count();
}

View File

@ -818,7 +818,7 @@ class Phar extends RecursiveDirectoryIterator implements RecursiveIterator, Seek
* @return mixed The filename, file information, or $this depending on the set flags.
* See the FilesystemIterator
* constants.
* @since 5.1.0
* @since 5.1
*/
public function getChildren () {}
@ -826,7 +826,7 @@ class Phar extends RecursiveDirectoryIterator implements RecursiveIterator, Seek
* Rewinds back to the beginning
* @link https://php.net/manual/en/filesystemiterator.rewind.php
* @return void No value is returned.
* @since 5.3.0
* @since 5.3
*/
public function rewind () {}
@ -834,7 +834,7 @@ class Phar extends RecursiveDirectoryIterator implements RecursiveIterator, Seek
* Move to the next file
* @link https://php.net/manual/en/filesystemiterator.next.php
* @return void No value is returned.
* @since 5.3.0
* @since 5.3
*/
public function next () {}
@ -843,7 +843,7 @@ class Phar extends RecursiveDirectoryIterator implements RecursiveIterator, Seek
* @link https://php.net/manual/en/filesystemiterator.key.php
* @return string the pathname or filename depending on the set flags.
* See the FilesystemIterator constants.
* @since 5.3.0
* @since 5.3
*/
public function key () {}
@ -852,7 +852,7 @@ class Phar extends RecursiveDirectoryIterator implements RecursiveIterator, Seek
* @link https://php.net/manual/en/filesystemiterator.current.php
* @return mixed The filename, file information, or $this depending on the set flags.
* See the FilesystemIterator constants.
* @since 5.3.0
* @since 5.3
*/
public function current () {}
@ -871,7 +871,7 @@ class Phar extends RecursiveDirectoryIterator implements RecursiveIterator, Seek
* The zero-based numeric position to seek to.
* </p>
* @return void No value is returned.
* @since 5.3.0
* @since 5.3
*/
public function seek ($position) {}
@ -958,7 +958,7 @@ class PharData extends Phar {
* @return mixed The filename, file information, or $this depending on the set flags.
* See the FilesystemIterator
* constants.
* @since 5.1.0
* @since 5.1
*/
public function getChildren () {}
@ -967,7 +967,7 @@ class PharData extends Phar {
* Rewinds back to the beginning
* @link https://php.net/manual/en/filesystemiterator.rewind.php
* @return void No value is returned.
* @since 5.3.0
* @since 5.3
*/
public function rewind () {}
@ -975,7 +975,7 @@ class PharData extends Phar {
* Move to the next file
* @link https://php.net/manual/en/filesystemiterator.next.php
* @return void No value is returned.
* @since 5.3.0
* @since 5.3
*/
public function next () {}
@ -984,7 +984,7 @@ class PharData extends Phar {
* @link https://php.net/manual/en/filesystemiterator.key.php
* @return string the pathname or filename depending on the set flags.
* See the FilesystemIterator constants.
* @since 5.3.0
* @since 5.3
*/
public function key () {}
@ -993,7 +993,7 @@ class PharData extends Phar {
* @link https://php.net/manual/en/filesystemiterator.current.php
* @return mixed The filename, file information, or $this depending on the set flags.
* See the FilesystemIterator constants.
* @since 5.3.0
* @since 5.3
*/
public function current () {}
@ -1014,7 +1014,7 @@ class PharData extends Phar {
* The zero-based numeric position to seek to.
* </p>
* @return void No value is returned.
* @since 5.3.0
* @since 5.3
*/
public function seek ($position) {}

View File

@ -100,7 +100,7 @@ abstract class ReflectionFunctionAbstract implements Reflector {
* Checks if function in namespace
* @link https://php.net/manual/en/reflectionfunctionabstract.innamespace.php
* @return bool <b>TRUE</b> if it's in a namespace, otherwise <b>FALSE</b>
* @since 5.3.0
* @since 5.3
*/
public function inNamespace () {}
@ -108,7 +108,7 @@ abstract class ReflectionFunctionAbstract implements Reflector {
* Checks if closure
* @link https://php.net/manual/en/reflectionfunctionabstract.isclosure.php
* @return bool <b>TRUE</b> if it's a closure, otherwise <b>FALSE</b>
* @since 5.3.0
* @since 5.3
*/
public function isClosure () {}
@ -150,7 +150,7 @@ abstract class ReflectionFunctionAbstract implements Reflector {
* @link https://php.net/manual/en/reflectionfunctionabstract.getclosurescopeclass.php
* @return ReflectionClass Returns the class on success.
* Returns <b>NULL</b> on failure.
* @since 5.4.0
* @since 5.4
*/
public function getClosureScopeClass () {}
@ -158,7 +158,7 @@ abstract class ReflectionFunctionAbstract implements Reflector {
* Gets doc comment
* @link https://php.net/manual/en/reflectionfunctionabstract.getdoccomment.php
* @return string|false The doc comment if it exists, otherwise <b>FALSE</b>
* @since 5.1.0
* @since 5.1
*/
public function getDocComment () {}
@ -206,7 +206,7 @@ abstract class ReflectionFunctionAbstract implements Reflector {
* Gets namespace name
* @link https://php.net/manual/en/reflectionfunctionabstract.getnamespacename.php
* @return string The namespace name.
* @since 5.3.0
* @since 5.3
*/
public function getNamespaceName () {}
@ -246,7 +246,7 @@ abstract class ReflectionFunctionAbstract implements Reflector {
* Gets function short name
* @link https://php.net/manual/en/reflectionfunctionabstract.getshortname.php
* @return string The short name of the function.
* @since 5.3.0
* @since 5.3
*/
public function getShortName () {}
@ -286,7 +286,7 @@ abstract class ReflectionFunctionAbstract implements Reflector {
* Returns whether this function is a generator
* @link https://php.net/manual/en/reflectionfunctionabstract.isgenerator.php
* @return bool <b>TRUE</b> if the function is generator, otherwise <b>FALSE</b>
* @since 5.5.0
* @since 5.5
*/
public function isGenerator() {}
@ -294,7 +294,7 @@ abstract class ReflectionFunctionAbstract implements Reflector {
* Returns whether this function is variadic
* @link https://php.net/manual/en/reflectionfunctionabstract.isvariadic.php
* @return bool <b>TRUE</b> if the function is variadic, otherwise <b>FALSE</b>
* @since 5.6.0
* @since 5.6
*/
public function isVariadic() {}
}
@ -377,7 +377,7 @@ class ReflectionFunction extends ReflectionFunctionAbstract implements Reflector
* <b>call_user_func_array</b> works.
* </p>
* @return mixed the result of the invoked function
* @since 5.1.0
* @since 5.1
*/
public function invokeArgs (array $args) {}
@ -488,7 +488,7 @@ class ReflectionParameter implements Reflector {
* @link https://php.net/manual/en/reflectionparameter.canbepassedbyvalue.php
* @return bool <b>TRUE</b> if the parameter can be passed by value, <b>FALSE</b> otherwise.
* Returns <b>NULL</b> in case of an error.
* @since 5.4.0
* @since 5.4
*/
public function canBePassedByValue () {}
@ -520,7 +520,7 @@ class ReflectionParameter implements Reflector {
* Checks if parameter expects an array
* @link https://php.net/manual/en/reflectionparameter.isarray.php
* @return bool <b>TRUE</b> if an array is expected, <b>FALSE</b> otherwise.
* @since 5.1.0
* @since 5.1
*/
public function isArray () {}
@ -528,7 +528,7 @@ class ReflectionParameter implements Reflector {
* Returns whether parameter MUST be callable
* @link https://php.net/manual/en/reflectionparameter.iscallable.php
* @return bool|null Returns TRUE if the parameter is callable, FALSE if it is not or NULL on failure.
* @since 5.4.0
* @since 5.4
*/
public function isCallable () {}
@ -592,7 +592,7 @@ class ReflectionParameter implements Reflector {
* Returns whether this function is variadic
* @link https://php.net/manual/en/reflectionparameter.isvariadic.php
* @return bool <b>TRUE</b> if the function is variadic, otherwise <b>FALSE</b>
* @since 5.6.0
* @since 5.6
*/
public function isVariadic() {}
@ -728,7 +728,7 @@ class ReflectionMethod extends ReflectionFunctionAbstract implements Reflector {
* @param object $object [optional] Forbidden for static methods, required for other methods.
* @return Closure <b>Closure</b>.
* Returns <b>NULL</b> in case of an error.
* @since 5.4.0
* @since 5.4
*/
public function getClosure ($object) {}
@ -813,7 +813,7 @@ class ReflectionMethod extends ReflectionFunctionAbstract implements Reflector {
* The parameters to be passed to the function, as an array.
* </p>
* @return mixed the method result.
* @since 5.1.0
* @since 5.1
*/
public function invokeArgs ($object, array $args) {}
@ -942,7 +942,7 @@ class ReflectionClass implements Reflector {
* Returns whether this class is cloneable
* @link https://php.net/manual/en/reflectionclass.iscloneable.php
* @return bool <b>TRUE</b> if the class is cloneable, <b>FALSE</b> otherwise.
* @since 5.4.0
* @since 5.4
*/
public function isCloneable () {}
@ -976,7 +976,7 @@ class ReflectionClass implements Reflector {
* Gets doc comments
* @link https://php.net/manual/en/reflectionclass.getdoccomment.php
* @return string|false The doc comment if it exists, otherwise <b>FALSE</b>
* @since 5.1.0
* @since 5.1
*/
public function getDocComment () {}
@ -996,7 +996,7 @@ class ReflectionClass implements Reflector {
* Name of the method being checked for.
* </p>
* @return bool <b>TRUE</b> if it has the method, otherwise <b>FALSE</b>
* @since 5.1.0
* @since 5.1
*/
public function hasMethod ($name) {}
@ -1040,7 +1040,7 @@ class ReflectionClass implements Reflector {
* Name of the property being checked for.
* </p>
* @return bool <b>TRUE</b> if it has the property, otherwise <b>FALSE</b>
* @since 5.1.0
* @since 5.1
*/
public function hasProperty ($name) {}
@ -1095,7 +1095,7 @@ class ReflectionClass implements Reflector {
* The name of the constant being checked for.
* </p>
* @return bool <b>TRUE</b> if the constant is defined, otherwise <b>FALSE</b>.
* @since 5.1.0
* @since 5.1
*/
public function hasConstant ($name) {}
@ -1132,7 +1132,7 @@ class ReflectionClass implements Reflector {
* Gets the interface names
* @link https://php.net/manual/en/reflectionclass.getinterfacenames.php
* @return array A numerical array with interface names as the values.
* @since 5.2.0
* @since 5.2
*/
public function getInterfaceNames () {}
@ -1157,7 +1157,7 @@ class ReflectionClass implements Reflector {
* @return ReflectionClass[] an array with trait names in keys and instances of trait's
* <b>ReflectionClass</b> in values.
* Returns <b>NULL</b> in case of an error.
* @since 5.4.0
* @since 5.4
*/
public function getTraits () {}
@ -1166,7 +1166,7 @@ class ReflectionClass implements Reflector {
* @link https://php.net/manual/en/reflectionclass.gettraitnames.php
* @return array an array with trait names in values.
* Returns <b>NULL</b> in case of an error.
* @since 5.4.0
* @since 5.4
*/
public function getTraitNames () {}
@ -1176,7 +1176,7 @@ class ReflectionClass implements Reflector {
* @return array an array with new method names in keys and original names (in the
* format "TraitName::original") in values.
* Returns <b>NULL</b> in case of an error.
* @since 5.4.0
* @since 5.4
*/
public function getTraitAliases () {}
@ -1185,7 +1185,7 @@ class ReflectionClass implements Reflector {
* @link https://php.net/manual/en/reflectionclass.istrait.php
* @return bool <b>TRUE</b> if this is a trait, <b>FALSE</b> otherwise.
* Returns <b>NULL</b> in case of an error.
* @since 5.4.0
* @since 5.4
*/
public function isTrait () {}
@ -1241,7 +1241,7 @@ class ReflectionClass implements Reflector {
* Creates a new class instance without invoking the constructor.
* @link https://php.net/manual/en/reflectionclass.newinstancewithoutconstructor.php
* @return object
* @since 5.4.0
* @since 5.4
*/
public function newInstanceWithoutConstructor() {}
@ -1292,7 +1292,7 @@ class ReflectionClass implements Reflector {
* @param string $default [optional] <p>
* </p>
* @return mixed The value of the static property.
* @since 5.1.0
* @since 5.1
*/
public function getStaticPropertyValue ($name, $default = null) {}
@ -1306,7 +1306,7 @@ class ReflectionClass implements Reflector {
* New property value.
* </p>
* @return void No value is returned.
* @since 5.1.0
* @since 5.1
*/
public function setStaticPropertyValue ($name, $value) {}
@ -1369,7 +1369,7 @@ class ReflectionClass implements Reflector {
* Checks if in namespace
* @link https://php.net/manual/en/reflectionclass.innamespace.php
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.3.0
* @since 5.3
*/
public function inNamespace () {}
@ -1377,7 +1377,7 @@ class ReflectionClass implements Reflector {
* Gets namespace name
* @link https://php.net/manual/en/reflectionclass.getnamespacename.php
* @return string The namespace name.
* @since 5.3.0
* @since 5.3
*/
public function getNamespaceName () {}
@ -1385,7 +1385,7 @@ class ReflectionClass implements Reflector {
* Gets short name
* @link https://php.net/manual/en/reflectionclass.getshortname.php
* @return string The class short name.
* @since 5.3.0
* @since 5.3
*/
public function getShortName () {}
@ -1589,7 +1589,7 @@ class ReflectionProperty implements Reflector {
* Gets doc comment
* @link https://php.net/manual/en/reflectionproperty.getdoccomment.php
* @return string|false The doc comment if it exists, otherwise <b>FALSE</b>
* @since 5.1.0
* @since 5.1
*/
public function getDocComment () {}
@ -1600,21 +1600,21 @@ class ReflectionProperty implements Reflector {
* <b>TRUE</b> to allow accessibility, or <b>FALSE</b>.
* </p>
* @return void No value is returned.
* @since 5.3.0
* @since 5.3
*/
public function setAccessible ($accessible) {}
/**
* Gets property type
* @return ReflectionType|null
* @since 7.4.0
* @since 7.4
*/
public function getType() {}
/**
* Checks if property has type
* @return bool
* @since 7.4.0
* @since 7.4
*/
public function hasType() {}
@ -1624,7 +1624,7 @@ class ReflectionProperty implements Reflector {
* If the property is non-static an object must be provided.
* </p>
* @return bool
* @since 7.4.0
* @since 7.4
*/
public function isInitialized ($object) {}
}
@ -1769,7 +1769,7 @@ class ReflectionExtension implements Reflector {
* @link https://php.net/manual/en/reflectionextension.ispersistent.php
* @return bool <b>TRUE</b> for extensions loaded by extension, <b>FALSE</b>
* otherwise.
* @since 5.4.0
* @since 5.4
*/
public function isPersistent () {}
@ -1778,7 +1778,7 @@ class ReflectionExtension implements Reflector {
* @link https://php.net/manual/en/reflectionextension.istemporary.php
* @return bool <b>TRUE</b> for extensions loaded by <b>dl</b>,
* <b>FALSE</b> otherwise.
* @since 5.4.0
* @since 5.4
*/
public function isTemporary () {}
@ -1787,7 +1787,7 @@ class ReflectionExtension implements Reflector {
/**
* @link https://secure.php.net/manual/en/class.reflectionzendextension.php
* @since 5.4.0
* @since 5.4
*/
class ReflectionZendExtension implements Reflector {
public $name;
@ -1797,7 +1797,7 @@ class ReflectionZendExtension implements Reflector {
* Clone handler
* @link https://php.net/manual/en/reflectionzendextension.clone.php
* @return void
* @since 5.4.0
* @since 5.4
*/
final private function __clone () {}
@ -1809,7 +1809,7 @@ class ReflectionZendExtension implements Reflector {
* @param string $return [optional] <p>
* </p>
* @return string
* @since 5.4.0
* @since 5.4
* @deprecated 7.4
*/
public static function export ($name, $return = null) {}
@ -1820,7 +1820,7 @@ class ReflectionZendExtension implements Reflector {
* @param string $name <p>
* </p>
* @throws \ReflectionException if the extension does not exist.
* @since 5.4.0
* @since 5.4
*/
public function __construct ($name) {}
@ -1828,7 +1828,7 @@ class ReflectionZendExtension implements Reflector {
* To string handler
* @link https://php.net/manual/en/reflectionzendextension.tostring.php
* @return string
* @since 5.4.0
* @since 5.4
*/
public function __toString () {}
@ -1836,7 +1836,7 @@ class ReflectionZendExtension implements Reflector {
* Gets name
* @link https://php.net/manual/en/reflectionzendextension.getname.php
* @return string
* @since 5.4.0
* @since 5.4
*/
public function getName () {}
@ -1844,7 +1844,7 @@ class ReflectionZendExtension implements Reflector {
* Gets version
* @link https://php.net/manual/en/reflectionzendextension.getversion.php
* @return string
* @since 5.4.0
* @since 5.4
*/
public function getVersion () {}
@ -1852,7 +1852,7 @@ class ReflectionZendExtension implements Reflector {
* Gets author
* @link https://php.net/manual/en/reflectionzendextension.getauthor.php
* @return string
* @since 5.4.0
* @since 5.4
*/
public function getAuthor () {}
@ -1860,7 +1860,7 @@ class ReflectionZendExtension implements Reflector {
* Gets URL
* @link https://php.net/manual/en/reflectionzendextension.geturl.php
* @return string
* @since 5.4.0
* @since 5.4
*/
public function getURL () {}
@ -1868,7 +1868,7 @@ class ReflectionZendExtension implements Reflector {
* Gets copyright
* @link https://php.net/manual/en/reflectionzendextension.getcopyright.php
* @return string
* @since 5.4.0
* @since 5.4
*/
public function getCopyright () {}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -103,7 +103,7 @@ function spl_autoload_call ($class_name) {}
* method.
* </p>
* @return array An array on success, or false on error.
* @since 5.1.0
* @since 5.1
*/
function class_parents ($class, $autoload = null) {}
@ -119,7 +119,7 @@ function class_parents ($class, $autoload = null) {}
* method.
* </p>
* @return array An array on success, or false on error.
* @since 5.1.0
* @since 5.1
*/
function class_implements ($class, $autoload = null) {}
@ -129,7 +129,7 @@ function class_implements ($class, $autoload = null) {}
* @param object $obj
* @return string A string that is unique for each object and is always the same for
* the same object.
* @since 5.2.0
* @since 5.2
*/
function spl_object_hash ($obj) {}
@ -143,7 +143,7 @@ function spl_object_hash ($obj) {}
* Whether to use the iterator element keys as index.
* </p>
* @return array An array containing the elements of the iterator.
* @since 5.1.0
* @since 5.1
*/
function iterator_to_array ($iterator, $use_keys = true) {}
@ -154,7 +154,7 @@ function iterator_to_array ($iterator, $use_keys = true) {}
* The iterator being counted.
* </p>
* @return int The number of elements in iterator.
* @since 5.1.0
* @since 5.1
*/
function iterator_count ($iterator) {}
@ -173,7 +173,7 @@ function iterator_count ($iterator) {}
* Arguments to pass to the callback function.
* </p>
* @return int the iteration count.
* @since 5.1.0
* @since 5.1
*/
function iterator_apply ($iterator, $function, array $args = null) {}
@ -187,7 +187,7 @@ function iterator_apply ($iterator, $function, array $args = null) {}
* @link https://php.net/manual/en/function.class-uses.php
* @see class_parents()
* @see get_declared_traits()
* @since 5.4.0
* @since 5.4
*/
function class_uses($class, bool $autoload = true ) {}

View File

@ -56,7 +56,7 @@ class SimpleXMLElement implements Traversable, ArrayAccess, Countable {
* returns a string on success and false on error. If the
* parameter is specified, it returns true if the file was written
* successfully and false otherwise.
* @since 5.2.0
* @since 5.2
*/
public function saveXML ($filename = null) {}
@ -68,7 +68,7 @@ class SimpleXMLElement implements Traversable, ArrayAccess, Countable {
* </p>
* @return SimpleXMLElement[] an array of SimpleXMLElement objects or <b>FALSE</b> in
* case of an error.
* @since 5.2.0
* @since 5.2
*/
public function xpath ($path) {}
@ -85,7 +85,7 @@ class SimpleXMLElement implements Traversable, ArrayAccess, Countable {
* <i>prefix</i> will not return any results.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.2.0
* @since 5.2
*/
public function registerXPathNamespace ($prefix, $ns) {}
@ -212,7 +212,7 @@ class SimpleXMLElement implements Traversable, ArrayAccess, Countable {
* Counts the children of an element
* @link https://php.net/manual/en/simplexmlelement.count.php
* @return int the number of elements of an element.
* @since 5.3.0
* @since 5.3
*/
public function count () {}
@ -260,7 +260,7 @@ class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator, C
* Rewind to the first element
* @link https://php.net/manual/en/simplexmliterator.rewind.php
* @return void No value is returned.
* @since 5.1.0
* @since 5.1
*/
public function rewind () {}
@ -268,7 +268,7 @@ class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator, C
* Check whether the current element is valid
* @link https://php.net/manual/en/simplexmliterator.valid.php
* @return bool <b>TRUE</b> if the current element is valid, otherwise <b>FALSE</b>
* @since 5.1.0
* @since 5.1
*/
public function valid () {}
@ -276,7 +276,7 @@ class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator, C
* Returns the current element
* @link https://php.net/manual/en/simplexmliterator.current.php
* @return mixed the current element as a <b>SimpleXMLIterator</b> object or <b>NULL</b> on failure.
* @since 5.1.0
* @since 5.1
*/
public function current () {}
@ -284,7 +284,7 @@ class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator, C
* Return current key
* @link https://php.net/manual/en/simplexmliterator.key.php
* @return mixed the XML tag name of the element referenced by the current <b>SimpleXMLIterator</b> object or <b>FALSE</b>
* @since 5.1.0
* @since 5.1
*/
public function key () {}
@ -292,7 +292,7 @@ class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator, C
* Move to next element
* @link https://php.net/manual/en/simplexmliterator.next.php
* @return void No value is returned.
* @since 5.1.0
* @since 5.1
*/
public function next () {}
@ -300,7 +300,7 @@ class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator, C
* Checks whether the current element has sub elements.
* @link https://php.net/manual/en/simplexmliterator.haschildren.php
* @return bool <b>TRUE</b> if the current element has sub-elements, otherwise <b>FALSE</b>
* @since 5.1.0
* @since 5.1
*/
public function hasChildren () {}
@ -309,7 +309,7 @@ class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator, C
* @link https://php.net/manual/en/simplexmliterator.getchildren.php
* @return SimpleXMLIterator a <b>SimpleXMLIterator</b> object containing
* the sub-elements of the current element.
* @since 5.1.0
* @since 5.1
*/
public function getChildren () {}
@ -325,7 +325,7 @@ class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator, C
* Counts the children of an element
* @link https://php.net/manual/en/simplexmlelement.count.php
* @return int the number of elements of an element.
* @since 5.3.0
* @since 5.3
*/
public function count () {}

View File

@ -40,7 +40,7 @@ function apache_get_version () {}
* Whether to get the top-level variable available to all Apache layers.
* </p>
* @return string|false The value of the Apache environment variable on success, or <b>FALSE</b> on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function apache_getenv ( $variable, $walk_to_top = false ) {}
@ -80,7 +80,7 @@ function apache_note ( $note_name, $note_value = '' ) {}
* Fetches all HTTP request headers from the current request
* @link https://php.net/manual/en/function.apache-request-headers.php
* @return array|false An associative array of all the HTTP headers in the current request, or <b>FALSE</b on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function apache_request_headers () {}
@ -91,7 +91,7 @@ function apache_request_headers () {}
* This function requires Apache 1.
* @link https://php.net/manual/en/function.apache-reset-timeout.php
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.1.0
* @since 5.1
*/
function apache_reset_timeout () {}
@ -99,7 +99,7 @@ function apache_reset_timeout () {}
* Fetch all HTTP response headers
* @link https://php.net/manual/en/function.apache-response-headers.php
* @return array|false An array of all Apache response headers on success or <b>FALSE</b> on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function apache_response_headers () {}
@ -118,7 +118,7 @@ function apache_response_headers () {}
* Whether to set the top-level variable available to all Apache layers.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function apache_setenv ( $variable, $value, $walk_to_top = false ) {}

View File

@ -109,7 +109,7 @@ function bcdiv ($dividend, $divisor, $scale = 0) {}
* @since 4.0
* @since 5.0
* @since 7.0
* @since 7.2.0 scale param added, dividend/divisor no longer truncated
* @since 7.2 scale param added, dividend/divisor no longer truncated
*/
function bcmod ($dividend, $divisor, $scale = 0) {}

View File

@ -257,7 +257,7 @@ function jdtounix ($jday) {}
* on the <i>calendar</i>
* </p>
* @return int A Julian Day number.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function cal_to_jd ($calendar, $month, $day, $year) {}
@ -274,7 +274,7 @@ function cal_to_jd ($calendar, $month, $day, $year) {}
* @return array an array containing calendar information like month, day, year,
* day of week, abbreviated and full names of weekday and month and the
* date in string form "month/day/year".
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function cal_from_jd ($jd, $calendar) {}
@ -292,7 +292,7 @@ function cal_from_jd ($jd, $calendar) {}
* Year in the selected calendar
* </p>
* @return int The length in days of the selected month in the given calendar
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function cal_days_in_month ($calendar, $month, $year) {}
@ -305,7 +305,7 @@ function cal_days_in_month ($calendar, $month, $year) {}
* information about all calendars is returned.
* </p>
* @return array
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function cal_info ($calendar = -1) {}

View File

@ -11,7 +11,7 @@ class CURLFile {
* @param string $filename <p>Path to the file which will be uploaded.</p>
* @param string $mimetype [optional] <p>Mimetype of the file.</p>
* @param string $postname [optional] <p>Name of the file.</p>
* @since 5.5.0
* @since 5.5
*/
function __construct($filename, $mimetype, $postname) {
}
@ -20,7 +20,7 @@ class CURLFile {
* Get file name
* @link https://secure.php.net/manual/en/curlfile.getfilename.php
* @return string Returns file name.
* @since 5.5.0
* @since 5.5
*/
public function getFilename() {
}
@ -29,7 +29,7 @@ class CURLFile {
* Get MIME type
* @link https://secure.php.net/manual/en/curlfile.getmimetype.php
* @return string Returns MIME type.
* @since 5.5.0
* @since 5.5
*/
public function getMimeType() {
}
@ -38,7 +38,7 @@ class CURLFile {
* Get file name for POST
* @link https://secure.php.net/manual/en/curlfile.getpostfilename.php
* @return string Returns file name for POST.
* @since 5.5.0
* @since 5.5
*/
public function getPostFilename() {
}
@ -47,7 +47,7 @@ class CURLFile {
* Set MIME type
* @link https://secure.php.net/manual/en/curlfile.setmimetype.php
* @param string $mime
* @since 5.5.0
* @since 5.5
*/
public function setMimeType($mime) {
}
@ -56,7 +56,7 @@ class CURLFile {
* Set file name for POST
* https://secure.php.net/manual/en/curlfile.setpostfilename.php
* @param string $postname
* @since 5.5.0
* @since 5.5
*/
public function setPostFilename($postname) {
}
@ -64,7 +64,7 @@ class CURLFile {
/**
* @link https://secure.php.net/manual/en/curlfile.wakeup.php
* Unserialization handler
* @since 5.5.0
* @since 5.5
*/
public function __wakeup() {
}
@ -2137,7 +2137,7 @@ function curl_setopt_array ($ch, array $options) {}
* A cURL share handle returned by {@link https://secure.php.net/manual/en/function.curl-share-init.php curl_share_init()}
* </p>
* @return void
* @since 5.5.0
* @since 5.5
*/
function curl_share_close ($sh) {}
@ -2146,7 +2146,7 @@ function curl_share_close ($sh) {}
* Initialize a cURL share handle
* @link https://secure.php.net/manual/en/function.curl-share-init.php
* @return resource Returns resource of type "cURL Share Handle".
* @since 5.5.0
* @since 5.5
*/
function curl_share_init () {}
@ -2227,7 +2227,7 @@ function curl_share_init () {}
* </p>
* @return bool
* Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.5.0
* @since 5.5
*/
function curl_share_setopt ($sh, $option, $value ) {}
@ -2239,7 +2239,7 @@ function curl_share_setopt ($sh, $option, $value ) {}
* One of the {@link https://curl.haxx.se/libcurl/c/libcurl-errors.html &nbsp;cURL error codes} constants.
* </p>
* @return string|null Returns error description or <b>NULL</b> for invalid error code.
* @since 5.5.0
* @since 5.5
*/
function curl_strerror ($errornum ) {}
@ -2253,7 +2253,7 @@ function curl_strerror ($errornum ) {}
* The URL encoded string to be decoded.
* </p>
* @return string|false Returns decoded string or FALSE on failure.
* @since 5.5.0
* @since 5.5
*/
function curl_unescape ($ch, $str) {}
/**
@ -2333,7 +2333,7 @@ function curl_errno ($ch) {}
* @param string $str <p>
* The string to be encoded.</p>
* @return string|false Returns escaped string or FALSE on failure.
* @since 5.5.0
* @since 5.5
*/
function curl_escape($ch, $str) {}
@ -2346,7 +2346,7 @@ function curl_escape($ch, $str) {}
* @param string $postname [optional] <p>Name of the file.</p>
* @return CURLFile
* Returns a {@link https://secure.php.net/manual/en/class.curlfile.php CURLFile} object.
* @since 5.5.0
* @since 5.5
*/
function curl_file_create($filename, $mimetype, $postname) {}
@ -2451,7 +2451,7 @@ function curl_multi_select ($mh, $timeout = 1.0) {}
* </tbody>
* </table>
* @return bool Returns TRUE on success or FALSE on failure.
* @since 5.5.0
* @since 5.5
*/
function curl_multi_setopt ($mh, $option, $value) {}
@ -2463,7 +2463,7 @@ function curl_multi_setopt ($mh, $option, $value) {}
* One of the {@link https://curl.haxx.se/libcurl/c/libcurl-errors.html CURLM error codes} constants.
* </p>
* @return string|null Returns error string for valid error code, NULL otherwise.
* @since 5.5.0
* @since 5.5
*/
function curl_multi_strerror ($errornum) {}
@ -2475,7 +2475,7 @@ function curl_multi_strerror ($errornum) {}
* <p>A cURL handle returned by {@link https://secure.php.net/manual/en/function.curl-init.php curl_init()}.</p>
* @param int $bitmask <p>One of <b>CURLPAUSE_*</b> constants.</p>
* @return int Returns an error code (<b>CURLE_OK</b> for no error).
* @since 5.5.0
* @since 5.5
*/
function curl_pause ($ch, $bitmask ) {}
@ -2486,7 +2486,7 @@ function curl_pause ($ch, $bitmask ) {}
* @param resource $ch <p>A cURL handle returned by
* {@link https://secure.php.net/manual/en/function.curl-init.php curl_init()}.</p>
* @return void
* @since 5.5.0
* @since 5.5
*/
function curl_reset ($ch) {}

View File

@ -13,7 +13,7 @@
define('CURLOPT_SSH_AUTH_TYPES', 151);
/**
* @since 5.5.0
* @since 5.5
* @link https://php.net/manual/en/function.curl-setopt.php
* <b>TRUE</b> tells the library to perform all the required proxy authentication
* and connection setup, but no data transfer. This option is implemented for
@ -45,7 +45,7 @@ define('CURLINFO_LOCAL_PORT', 2097194);
/**
* A result of {@see curl_share_init()}. Makes the cURL handle to use the data from the shared handle.
* @link https://php.net/manual/en/function.curl-setopt.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLOPT_SHARE', 10100);
define ('CURLOPT_IPRESOLVE', 113);
@ -68,7 +68,7 @@ define ('CURLOPT_NOPROGRESS', 43);
/**
* @link https://php.net/manual/en/curl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('CURLOPT_PROGRESSFUNCTION', 20056);
define ('CURLOPT_NOBODY', 44);
@ -129,13 +129,13 @@ define ('CURLOPT_COOKIE', 10022);
/**
* @link https://php.net/manual/en/curl.constants.php
* @since 5.1.0
* @since 5.1
*/
define ('CURLOPT_COOKIESESSION', 96);
/**
* @link https://php.net/manual/en/curl.constants.php
* @since 5.1.0
* @since 5.1
*/
define ('CURLOPT_AUTOREFERER', 58);
define ('CURLOPT_SSLCERT', 10025);
@ -242,97 +242,97 @@ define ('CURLOPT_PRIVATE', 10103);
/**
* The last response code
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLINFO_RESPONSE_CODE', 2097154);
/**
* The CONNECT response code
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLINFO_HTTP_CONNECTCODE', 2097174);
/**
* Bitmask indicating the authentication method(s) available according to the previous response
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLINFO_HTTPAUTH_AVAIL', 2097175);
/**
* Bitmask indicating the proxy authentication method(s) available according to the previous response
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLINFO_PROXYAUTH_AVAIL', 2097176);
/**
* Errno from a connect failure. The number is OS and system specific.
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLINFO_OS_ERRNO', 2097177);
/**
* Number of connections curl had to create to achieve the previous transfer
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLINFO_NUM_CONNECTS', 2097178);
/**
* OpenSSL crypto-engines supported
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLINFO_SSL_ENGINES', 4194331);
/**
* All known cookies
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLINFO_COOKIELIST', 4194332);
/**
* Entry path in FTP server
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLINFO_FTP_ENTRY_PATH', 1048606);
/**
* Time in seconds it took from the start until the SSL/SSH connect/handshake to the remote host was completed
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLINFO_APPCONNECT_TIME',3145761);
/**
* TLS certificate chain
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLINFO_CERTINFO', 4194338);
/**
* Info on unmet time conditional
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLINFO_CONDITION_UNMET', 2097187);
/**
* Next RTSP client CSeq
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLINFO_RTSP_CLIENT_CSEQ', 2097189);
/**
* Recently received CSeq
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLINFO_RTSP_CSEQ_RECV', 2097191);
/**
* Next RTSP server CSeq
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLINFO_RTSP_SERVER_CSEQ', 2097190);
/**
* RTSP session ID
* @link https://php.net/manual/en/function.curl-getinfo.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLINFO_RTSP_SESSION_ID', 1048612);
define ('CURLCLOSEPOLICY_LEAST_RECENTLY_USED', 2);
@ -462,55 +462,55 @@ define ('CURLMSG_DONE', 1);
/**
* @link https://php.net/manual/en/curl.constants.php
* @since 5.1.0
* @since 5.1
*/
define ('CURLOPT_FTPSSLAUTH', 129);
/**
* @link https://php.net/manual/en/curl.constants.php
* @since 5.1.0
* @since 5.1
*/
define ('CURLFTPAUTH_DEFAULT', 0);
/**
* @link https://php.net/manual/en/curl.constants.php
* @since 5.1.0
* @since 5.1
*/
define ('CURLFTPAUTH_SSL', 1);
/**
* @link https://php.net/manual/en/curl.constants.php
* @since 5.1.0
* @since 5.1
*/
define ('CURLFTPAUTH_TLS', 2);
/**
* @link https://php.net/manual/en/curl.constants.php
* @since 5.2.0
* @since 5.2
*/
define ('CURLOPT_FTP_SSL', 119);
/**
* @link https://php.net/manual/en/curl.constants.php
* @since 5.2.0
* @since 5.2
*/
define ('CURLFTPSSL_NONE', 0);
/**
* @link https://php.net/manual/en/curl.constants.php
* @since 5.2.0
* @since 5.2
*/
define ('CURLFTPSSL_TRY', 1);
/**
* @link https://php.net/manual/en/curl.constants.php
* @since 5.2.0
* @since 5.2
*/
define ('CURLFTPSSL_CONTROL', 2);
/**
* @link https://php.net/manual/en/curl.constants.php
* @since 5.2.0
* @since 5.2
*/
define ('CURLFTPSSL_ALL', 3);
define ('CURLOPT_FTP_FILEMETHOD', 138);
@ -536,13 +536,13 @@ define ('CURLPROTO_ALL', -1);
/**
* @link https://php.net/manual/en/curl.constants.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLMOPT_PIPELINING', 3);
/**
* @link https://php.net/manual/en/curl.constants.php
* @since 5.5.0
* @since 5.5
*/
define ('CURLMOPT_MAXCONNECTS', 6);
@ -1422,14 +1422,14 @@ define("CURLOPT_GSSAPI_DELEGATION",210);
define("CURLOPT_ACCEPTTIMEOUT_MS",212);
define("CURLOPT_MAIL_AUTH",10217);
/**
* @since 5.5.0
* @since 5.5
*/
define("CURLOPT_SSL_OPTIONS",216);
define("CURLOPT_TCP_KEEPALIVE",213);
define("CURLOPT_TCP_KEEPIDLE",214);
define("CURLOPT_TCP_KEEPINTVL",215);
/**
* @since 5.5.0
* @since 5.5
*/
define("CURLSSLOPT_ALLOW_BEAST",1);
/**

View File

@ -910,7 +910,7 @@ function getdate ($timestamp = null) {}
* Time zone of the time.
* </p>
* @return DateTime|false DateTime object on success or false on failure.
* @since 5.2.0
* @since 5.2
*/
function date_create ($time = null, DateTimeZone $timezone = null ) {}
@ -952,7 +952,7 @@ function date_create_immutable_from_format ($format, $time, DateTimeZone $timezo
* @param DateTimeZone $timezone [optional] A DateTimeZone object representing the desired time zone.
* @return DateTime|false <p> Returns a new
* {@see DateTime} instance or <b>FALSE</b> on failure.</p>
* @since 5.3.0
* @since 5.3
*/
function date_create_from_format ($format, $time, $timezone = null) {}
@ -964,7 +964,7 @@ function date_create_from_format ($format, $time, $timezone = null) {}
* </p>
* @return array|false array with information about the parsed date
* on success or false on failure.
* @since 5.2.0
* @since 5.2
*/
function date_parse ($date) {}
@ -978,7 +978,7 @@ function date_parse ($date) {}
* String representing the date.
* </p>
* @return array associative array with detailed info about given date.
* @since 5.3.0
* @since 5.3
*/
function date_parse_from_format ($format, $date) {}
@ -987,7 +987,7 @@ function date_parse_from_format ($format, $date) {}
* {@see DateTime::getLastErrors}
* @link https://php.net/manual/en/function.date-get-last-errors.php
* @return array <p>Returns array containing info about warnings and errors.</p>
* @since 5.3.0
* @since 5.3
*/
function date_get_last_errors () {}
@ -998,7 +998,7 @@ function date_get_last_errors () {}
* @param $object
* @param $format
* @return string|false formatted date string on success or <b>FALSE</b> on failure.
* @since 5.2.0
* @since 5.2
*/
function date_format ($object, $format) {}
@ -1011,7 +1011,7 @@ function date_format ($object, $format) {}
* @param DateTime $object A DateTime object returned by date_create(). The function modifies this object.
* @param string $modify A date/time string. Valid formats are explained in {@link https://secure.php.net/manual/en/datetime.formats.php Date and Time Formats}.
* @return DateTime|false Returns the DateTime object for method chaining or <b>FALSE</b> on failure.
* @since 5.2.0
* @since 5.2
*/
function date_modify ($object, $modify) {}
@ -1025,7 +1025,7 @@ function date_modify ($object, $modify) {}
* {@see DateInterval} object</p>
* @return DateTime|false <p>Returns the
* {@see DateTime} object for method chaining or <b>FALSE</b> on failure.</p>
* @since 5.3.0
* @since 5.3
*/
function date_add ($object, $interval) {}
@ -1040,7 +1040,7 @@ function date_add ($object, $interval) {}
* {@see DateInterval} object</p>
* @return DateTime|false <p>Returns the
* {@see DateTime} object for method chaining or <b>FALSE</b> on failure.</p>
* @since 5.3.0
* @since 5.3
*/
function date_sub ($object, $interval) {}
@ -1058,7 +1058,7 @@ function date_sub ($object, $interval) {}
* {@see DateTimeZone} object on success
* or <b>FALSE</b> on failure.
* </p>
* @since 5.2.0
* @since 5.2
*/
function date_timezone_get ($object) {}
@ -1073,7 +1073,7 @@ function date_timezone_get ($object) {}
* {@see DateTimeZone} object representing the desired time zone.</p>
* @return DateTime|false <p>Returns the
* {@see DateTime} object for method chaining or <b>FALSE</b> on failure.</p>
* @since 5.2.0
* @since 5.2
*/
function date_timezone_set ($object, $timezone) {}
@ -1084,7 +1084,7 @@ function date_timezone_set ($object, $timezone) {}
* @param $object <p>Procedural style only: A {@see DateTime} object
* returned by {@see date_create()}</p>
* @return int|false <p>Returns the timezone offset in seconds from UTC on success or <b>FALSE</b> on failure.</p>
* @since 5.2.0
* @since 5.2
*/
function date_offset_get ($object) {}
@ -1096,7 +1096,7 @@ function date_offset_get ($object) {}
* @param DateTime $object2 The date to compare to
* @param bool $absolute [optional] Whether to return absolute difference.
* @return DateInterval|false The DateInterval object representing the difference between the two dates or FALSE on failure.
* @since 5.3.0
* @since 5.3
*/
function date_diff ($object, $object2, $absolute = false) {}
@ -1110,7 +1110,7 @@ function date_diff ($object, $object2, $absolute = false) {}
* @param $microseconds [optional]
* @return DateTime|false <p>Returns the
* {@see DateTime} object for method chaining or <b>FALSE</b> on failure.</p>
* @since 5.2.0
* @since 5.2
*/
function date_time_set ($object, $hour, $minute, $second = 0, $microseconds = 0) {}
@ -1128,7 +1128,7 @@ function date_time_set ($object, $hour, $minute, $second = 0, $microseconds = 0)
* Returns the
* {@see DateTime} object for method chaining or <b>FALSE</b> on failure.
* </p>
* @since 5.2.0
* @since 5.2
*/
function date_date_set ($object, $year, $month, $day) {}
@ -1143,7 +1143,7 @@ function date_date_set ($object, $year, $month, $day) {}
* @return DateTime|false <p>
* Returns the {@see DateTime} object for method chaining or <strong><code>FALSE</code></strong> on failure.
* </p>
* @since 5.2.0
* @since 5.2
*/
function date_isodate_set ($object, $year, $week, $day = 1) {}
@ -1156,7 +1156,7 @@ function date_isodate_set ($object, $year, $week, $day = 1) {}
* @param int $unixtimestamp <p>Unix timestamp representing the date.</p>
* @return DateTime|false
* {@see DateTime} object for call chaining or <b>FALSE</b> on failure
* @since 5.3.0
* @since 5.3
*/
function date_timestamp_set ($object, $unixtimestamp) {}
@ -1166,7 +1166,7 @@ function date_timestamp_set ($object, $unixtimestamp) {}
* @link https://php.net/manual/en/function.date-timestamp-get.php
* @param DateTimeInterface $object
* @return int <p>Returns the Unix timestamp representing the date.</p>
* @since 5.3.0
* @since 5.3
*/
function date_timestamp_get ($object) {}
@ -1178,7 +1178,7 @@ function date_timestamp_get ($object) {}
* (e.g. CET).
* </p>
* @return DateTimeZone|false DateTimeZone object on success or false on failure.
* @since 5.1.0
* @since 5.1
*/
function timezone_open ($timezone) {}
@ -1188,7 +1188,7 @@ function timezone_open ($timezone) {}
* @param $object <p>The
* {@see DateTimeZone} for which to get a name.</p>
* @return string One of the timezone names in the list of timezones.
* @since 5.1.0
* @since 5.1
*/
function timezone_name_get ($object) {}
@ -1224,7 +1224,7 @@ function timezone_name_from_abbr ($abbr, $gmtOffset = null, $isdst = null) {}
* {@see timezone_open()}</p>
* @param $datetime <p>DateTime that contains the date/time to compute the offset from.</p>
* @return int|false <p>Returns time zone offset in seconds on success or <b>FALSE</b> on failure.</p>
* @since 5.1.0
* @since 5.1
*/
function timezone_offset_get ($object, $datetime) {}
@ -1238,7 +1238,7 @@ function timezone_offset_get ($object, $datetime) {}
* @param int $timestamp_begin [optional] <p>Begin timestamp</p>
* @param int $timestamp_end [optional] <p>End timestamp</p>
* @return array|false <p>Returns numerically indexed array containing associative array with all transitions on success or FALSE on failure.</p>
* @since 5.2.0
* @since 5.2
*/
function timezone_transitions_get ($object, $timestamp_begin, $timestamp_end) {}
@ -1247,7 +1247,7 @@ function timezone_transitions_get ($object, $timestamp_begin, $timestamp_end) {}
* @link https://php.net/manual/en/function.timezone-location-get.php
* @param $object <p>Procedural style only: A {@see DateTimeZone} object returned by {@see timezone_open()}
* @return array <p>Array containing location information about timezone.</p>
* @since 5.3.0
* @since 5.3
*/
function timezone_location_get ($object) {}
@ -1259,7 +1259,7 @@ function timezone_location_get ($object) {}
* @param string $country [optional] A two-letter ISO 3166-1 compatible country code.
* @return array|false Returns array on success or FALSE on failure.
* Note: This option is only used when what is set to DateTimeZone::PER_COUNTRY.
* @since 5.1.0
* @since 5.1
*/
function timezone_identifiers_list ($what = DateTimeZone::ALL, $country = null) {}
@ -1269,7 +1269,7 @@ function timezone_identifiers_list ($what = DateTimeZone::ALL, $country = null)
* {@see DateTimeZone::listAbbreviations}
* @link https://php.net/manual/en/function.timezone-abbreviations-list.php
* @return array|false Array on success or <b>FALSE</b> on failure.
* @since 5.2.0
* @since 5.2
*/
function timezone_abbreviations_list () {}
@ -1277,7 +1277,7 @@ function timezone_abbreviations_list () {}
* Gets the version of the timezonedb
* @link https://php.net/manual/en/function.timezone-version-get.php
* @return string a string.
* @since 5.3.0
* @since 5.3
*/
function timezone_version_get () {}
@ -1291,7 +1291,7 @@ function timezone_version_get () {}
* {@see DateInterval}.</p>
* @return DateInterval
* <p>Returns a new DateInterval instance.</p>
* @since 5.3.0
* @since 5.3
*/
function date_interval_create_from_date_string ($time) {}
@ -1301,7 +1301,7 @@ function date_interval_create_from_date_string ($time) {}
* @param $object
* @param $format
* @return DateInterval
* @since 5.3.0
* @since 5.3
*/
function date_interval_format ($object, $format) {}
@ -1316,7 +1316,7 @@ function date_interval_format ($object, $format) {}
* @return bool This function returns false if the
* timezone_identifier isn't valid, or true
* otherwise.
* @since 5.1.0
* @since 5.1
*/
function date_default_timezone_set ($timezone_identifier) {}
@ -1324,7 +1324,7 @@ function date_default_timezone_set ($timezone_identifier) {}
* Gets the default timezone used by all date/time functions in a script
* @link https://php.net/manual/en/function.date-default-timezone-get.php
* @return string a string.
* @since 5.1.0
* @since 5.1
*/
function date_default_timezone_get () {}

View File

@ -203,7 +203,7 @@ class DateTimeImmutable implements DateTimeInterface {
* @param int $second [optional] <p> Second of the time. </p>
* @param int $microseconds [optional] <p> Microseconds of the time. </p>
* @return static|false
* @since 7.1.0 $microseconds parameter added.
* @since 7.1 $microseconds parameter added.
* Returns the {@link https://secure.php.net/manual/en/class.datetimeimmutable.php DateTimeImmutable} object for method chaining or <b>FALSE</b> on failure.
*/
public function setTime($hour, $minute, $second = 0, $microseconds = 0) { }
@ -417,7 +417,7 @@ class DateTime implements DateTimeInterface {
* @param int $second
* @param int $microseconds
* @return static|false
* @since 7.1.0 $microseconds parameter added.
* @since 7.1 $microseconds parameter added.
* @link https://php.net/manual/en/datetime.settime.php
*/
public function setTime ($hour, $minute, $second=0, $microseconds=0) {}
@ -671,7 +671,7 @@ class DateInterval {
/**
* Representation of date period.
* @link https://php.net/manual/en/class.dateperiod.php
* @since 5.3.0
* @since 5.3
*/
class DatePeriod implements Traversable {
const EXCLUDE_START_DATE = 1;
@ -718,7 +718,7 @@ class DatePeriod implements Traversable {
* @param DateTimeInterface $end
* @param int $options Can be set to DatePeriod::EXCLUDE_START_DATE.
* @link https://php.net/manual/en/dateperiod.construct.php
* @since 5.3.0
* @since 5.3
*/
public function __construct (DateTimeInterface $start, DateInterval $interval, DateTimeInterface $end, $options=0) {}
@ -728,7 +728,7 @@ class DatePeriod implements Traversable {
* @param int $recurrences Number of recurrences
* @param int $options Can be set to DatePeriod::EXCLUDE_START_DATE.
* @link https://php.net/manual/en/dateperiod.construct.php
* @since 5.3.0
* @since 5.3
*/
public function __construct (DateTimeInterface $start, DateInterval $interval, $recurrences, $options=0) {}
@ -736,7 +736,7 @@ class DatePeriod implements Traversable {
* @param string $isostr String containing the ISO interval.
* @param int $options Can be set to DatePeriod::EXCLUDE_START_DATE.
* @link https://php.net/manual/en/dateperiod.construct.php
* @since 5.3.0
* @since 5.3
*/
public function __construct ($isostr, $options=0) {}

View File

@ -344,7 +344,7 @@ function dba_sync ($handle) {}
* <p>
* When the internal cdb library is used you will see
* cdb and cdb_make.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function dba_handlers ($full_info = false) {}
@ -353,7 +353,7 @@ function dba_handlers ($full_info = false) {}
* List all open database files
* @link https://php.net/manual/en/function.dba-list.php
* @return array An associative array, in the form resourceid =&gt; filename.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function dba_list () {}

View File

@ -322,7 +322,7 @@ class DOMNode {
* Gets an XPath location path for the node
* @return string|null the XPath, or NULL in case of an error.
* @link https://secure.php.net/manual/en/domnode.getnodepath.php
* @since 5.3.0
* @since 5.3
*/
public function getNodePath () {}
@ -331,7 +331,7 @@ class DOMNode {
* Get line number for a node
* @link https://php.net/manual/en/domnode.getlineno.php
* @return int Always returns the line number where the node was defined in.
* @since 5.3.0
* @since 5.3
*/
public function getLineNo () {}
@ -525,7 +525,7 @@ class DOMDocumentFragment extends DOMNode {
* XML to append.
* </p>
* @return bool true on success or false on failure.
* @since 5.1.0
* @since 5.1
*/
public function appendXML ($data) {}
@ -1121,7 +1121,7 @@ class DOMDocument extends DOMNode {
* be removed.
* </p>
* @return bool true on success or false on failure.
* @since 5.2.0
* @since 5.2
*/
public function registerNodeClass ($baseclass, $extendedclass) {}
@ -1156,7 +1156,7 @@ class DOMNodeList implements Traversable, Countable {
public function item ($index) {}
/**
* @since 7.2.0
* @since 7.2
*/
public function count() {}
@ -1231,7 +1231,7 @@ class DOMNamedNodeMap implements Traversable, Countable {
public function removeNamedItemNS ($namespaceURI, $localName) {}
/**
* @since 7.2.0
* @since 7.2
*/
public function count() {}
@ -2169,7 +2169,7 @@ class DOMXPath {
* </p>
* @return mixed a typed result if possible or a DOMNodeList
* containing all nodes matching the given XPath expression.
* @since 5.1.0
* @since 5.1
*/
public function evaluate ($expression, $contextnode = null, $registerNodeNS = true) {}
@ -2184,7 +2184,7 @@ class DOMXPath {
* an array of function names.
* </p>
* @return void
* @since 5.3.0
* @since 5.3
*/
public function registerPhpFunctions ($restrict = null) {}

View File

@ -75,7 +75,7 @@
* the header names and the array values are the values associated with
* those headers. If no data can be returned,
* <b>exif_read_data</b> will return <b>FALSE</b>.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function exif_read_data ($stream, $sections = null, $arrays = false, $thumbnail = false) {}
@ -101,7 +101,7 @@ function read_exif_data ($filename, $sections = null, $arrays = false, $thumbnai
* </p>
* @return string|false the header name, or <b>FALSE</b> if <i>index</i> is
* not a defined EXIF tag id.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function exif_tagname ($index) {}
@ -126,7 +126,7 @@ function exif_tagname ($index) {}
* </p>
* @return string|false the embedded thumbnail, or <b>FALSE</b> if the image contains no
* thumbnail.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function exif_thumbnail ($stream, &$width = null, &$height = null, &$imagetype = null) {}
@ -144,7 +144,7 @@ function exif_thumbnail ($stream, &$width = null, &$height = null, &$imagetype =
* <b>exif_imagetype</b> will emit an <b>E_NOTICE</b>
* and return <b>FALSE</b> if it is unable to read enough bytes from the file to
* determine the image type.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function exif_imagetype ($filename) {}

View File

@ -161,7 +161,7 @@ function finfo_buffer ($finfo ,$string, $options = FILEINFO_NONE, $context = NUL
* </p>
* @return string the content type in MIME format, like
* text/plain or application/octet-stream.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function mime_content_type ($filename) {}
@ -187,14 +187,14 @@ define ('FILEINFO_MIME', 1040);
/**
* Return the mime type.
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/fileinfo.constants.php
*/
define ('FILEINFO_MIME_TYPE', 16);
/**
* Return the mime encoding of the file.
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/fileinfo.constants.php
*/
define ('FILEINFO_MIME_ENCODING', 1024);

View File

@ -25,7 +25,7 @@
* or <b>NULL</b> if the <i>variable_name</i> variable is not set.
* If the flag <b>FILTER_NULL_ON_FAILURE</b> is used, it
* returns <b>FALSE</b> if the variable is not set and <b>NULL</b> if the filter fails.
* @since 5.2.0
* @since 5.2
*/
function filter_input ($type, $variable_name, $filter = FILTER_DEFAULT, $options = null) {}
@ -81,7 +81,7 @@ function filter_input ($type, $variable_name, $filter = FILTER_DEFAULT, $options
* </code>
* </p>
* @return mixed the filtered data, or <b>FALSE</b> if the filter fails.
* @since 5.2.0
* @since 5.2
*/
function filter_var ($variable, $filter = FILTER_DEFAULT, $options = null) {}
@ -115,7 +115,7 @@ function filter_var ($variable, $filter = FILTER_DEFAULT, $options = null) {}
* the variable is not set. Or if the flag <b>FILTER_NULL_ON_FAILURE</b>
* is used, it returns <b>FALSE</b> if the variable is not set and <b>NULL</b> if the filter
* fails.
* @since 5.2.0
* @since 5.2
*/
function filter_input_array ($type, $definition = null, $add_empty = true) {}
@ -146,7 +146,7 @@ function filter_input_array ($type, $definition = null, $add_empty = true) {}
* @return mixed An array containing the values of the requested variables on success, or <b>FALSE</b>
* on failure. An array value will be <b>FALSE</b> if the filter fails, or <b>NULL</b> if
* the variable is not set.
* @since 5.2.0
* @since 5.2
*/
function filter_var_array (array $data, $definition = null, $add_empty = true) {}
@ -156,7 +156,7 @@ function filter_var_array (array $data, $definition = null, $add_empty = true) {
* @return array an array of names of all supported filters, empty array if there
* are no such filters. Indexes of this array are not filter IDs, they can be
* obtained with <b>filter_id</b> from a name instead.
* @since 5.2.0
* @since 5.2
*/
function filter_list () {}
@ -172,7 +172,7 @@ function filter_list () {}
* Name of a variable to check.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.2.0
* @since 5.2
*/
function filter_has_var ($type, $variable_name) {}
@ -183,7 +183,7 @@ function filter_has_var ($type, $variable_name) {}
* Name of a filter to get.
* </p>
* @return int|false ID of a filter on success or <b>FALSE</b> if filter doesn't exist.
* @since 5.2.0
* @since 5.2
*/
function filter_id ($filtername) {}

View File

@ -1,7 +1,7 @@
<?php
/**
* Returns FPM status info array
* @since 7.3.0
* @since 7.3
* @return array
*/
function fpm_get_status() : array { }

View File

@ -61,7 +61,7 @@ function ftp_connect ($host, $port = 21, $timeout = 90) {}
* <b>ftp_get_option</b>.
* </p>
* @return resource|false a SSL-FTP stream on success or <b>FALSE</b> on error.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function ftp_ssl_connect ($host, $port = 21, $timeout = 90) {}
@ -476,7 +476,7 @@ function ftp_site ($ftp_stream, $command) {}
* The link identifier of the FTP connection.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function ftp_close ($ftp_stream) {}
@ -518,7 +518,7 @@ function ftp_close ($ftp_stream) {}
* message will be thrown if the <i>option</i> is not
* supported or the passed <i>value</i> doesn't match the
* expected value for the given <i>option</i>.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function ftp_set_option ($ftp_stream, $option, $value) {}
@ -550,7 +550,7 @@ function ftp_set_option ($ftp_stream, $option, $value) {}
* @return mixed the value on success or <b>FALSE</b> if the given
* <i>option</i> is not supported. In the latter case, a
* warning message is also thrown.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function ftp_get_option ($ftp_stream, $option) {}
@ -574,7 +574,7 @@ function ftp_get_option ($ftp_stream, $option) {}
* @param int $resumepos [optional] <p>The position in the remote file to start downloading from.</p>
* @return int <b>FTP_FAILED</b> or <b>FTP_FINISHED</b>
* or <b>FTP_MOREDATA</b>.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function ftp_nb_fget ($ftp_stream, $handle, $remote_file, $mode = FTP_BINARY, $resumepos = 0) {}
@ -598,7 +598,7 @@ function ftp_nb_fget ($ftp_stream, $handle, $remote_file, $mode = FTP_BINARY, $r
* @param int $resumepos [optional] <p>The position in the remote file to start downloading from.</p>
* @return int <b>FTP_FAILED</b> or <b>FTP_FINISHED</b>
* or <b>FTP_MOREDATA</b>.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function ftp_nb_get ($ftp_stream, $local_file, $remote_file, $mode = FTP_BINARY, $resumepos = 0) {}
@ -611,7 +611,7 @@ function ftp_nb_get ($ftp_stream, $local_file, $remote_file, $mode = FTP_BINARY,
* </p>
* @return int <b>FTP_FAILED</b> or <b>FTP_FINISHED</b>
* or <b>FTP_MOREDATA</b>.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function ftp_nb_continue ($ftp_stream) {}
@ -635,7 +635,7 @@ function ftp_nb_continue ($ftp_stream) {}
* @param int $startpos [optional] <p>The position in the remote file to start uploading to.</p>
* @return int <b>FTP_FAILED</b> or <b>FTP_FINISHED</b>
* or <b>FTP_MOREDATA</b>.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function ftp_nb_put ($ftp_stream, $remote_file, $local_file, $mode = FTP_BINARY, $startpos = 0) {}
@ -659,7 +659,7 @@ function ftp_nb_put ($ftp_stream, $remote_file, $local_file, $mode = FTP_BINARY,
* @param int $startpos [optional] <p>The position in the remote file to start uploading to.</p>
* @return int <b>FTP_FAILED</b> or <b>FTP_FINISHED</b>
* or <b>FTP_MOREDATA</b>.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function ftp_nb_fput ($ftp_stream, $remote_file, $handle, $mode = FTP_BINARY, $startpos = 0) {}

102
gd/gd.php
View File

@ -77,7 +77,7 @@
* <p>
* Previous to PHP 5.3.0, the JPEG Support attribute was named
* JPG Support.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function gd_info () {}
@ -838,7 +838,7 @@ function imagecopyresampled ($dst_image, $src_image, $dst_x, $dst_y, $src_x, $sr
* If set and non-zero, transparent colors are ignored (otherwise kept).
* </p>
* @return resource|false the rotated image or <b>FALSE</b> on failure
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function imagerotate ($image, $angle, $bgd_color, $ignore_transparent = null) {}
@ -953,7 +953,7 @@ function imagecreatefromwbmp ($filename) {}
* Path to the WebP image.
* </p>
* @return resource|false an image resource identifier on success, false on errors.
* @since 5.4.0
* @since 5.4
*/
function imagecreatefromwebp ($filename) {}
@ -2218,7 +2218,7 @@ function image2wbmp ($image, $filename = null, $threshold = null) {}
* Use pixel replacement (equivalent of passing true to
* imagealphablending)
* @return bool true on success or false on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function imagelayereffect ($image, $effect) {}
@ -2290,7 +2290,7 @@ function imagefilter ($image, $filtertype, $arg1 = null, $arg2 = null, $arg3 = n
* Color offset.
* </p>
* @return bool true on success or false on failure.
* @since 5.1.0
* @since 5.1
*/
function imageconvolution ($image, array $matrix, $div, $offset) {}
@ -2430,7 +2430,7 @@ define('IMG_WEBP', 32);
/**
* Used as a return value by {@see imagetypes()}
* @since 7.2.0
* @since 7.2
* @link https://php.net/manual/en/image.constants.php#constant.img-bmp
*/
define('IMG_BMP', 64);
@ -2542,7 +2542,7 @@ define ('IMG_EFFECT_OVERLAY', 3);
/**
* Alpha blending effect used by the {@see imagelayereffect()} function.
* @link https://php.net/manual/en/image.constants.php#constant.img-effect-multiply
* @since 7.2.0
* @since 7.2
*/
define ('IMG_EFFECT_MULTIPLY', 4);
@ -2621,7 +2621,7 @@ define ('IMG_FILTER_SMOOTH', 10);
/**
* Special GD filter used by the {@see imagefilter()} function.
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/image.constants.php#constant.img-filter-pixelate
*/
define ('IMG_FILTER_PIXELATE', 11);
@ -2706,35 +2706,35 @@ define ('PNG_ALL_FILTERS', 248);
/**
* An affine transformation type constant used by the {@see imageaffinematrixget()} function.
* @since 5.5.0
* @since 5.5
* @link https://php.net/manual/en/image.constants.php#constant.img-affine-translate
*/
define('IMG_AFFINE_TRANSLATE', 0);
/**
* An affine transformation type constant used by the {@see imageaffinematrixget()} function.
* @since 5.5.0
* @since 5.5
* @link https://php.net/manual/en/image.constants.php#constant.img-affine-scale
*/
define('IMG_AFFINE_SCALE', 1);
/**
* An affine transformation type constant used by the {@see imageaffinematrixget()} function.
* @since 5.5.0
* @since 5.5
* @link https://php.net/manual/en/image.constants.php#constant.img-affine-rotate
*/
define('IMG_AFFINE_ROTATE', 2);
/**
* An affine transformation type constant used by the {@see imageaffinematrixget()} function.
* @since 5.5.0
* @since 5.5
* @link https://php.net/manual/en/image.constants.php#constant.img-affine-shear-horizontal
*/
define('IMG_AFFINE_SHEAR_HORIZONTAL', 3);
/**
* An affine transformation type constant used by the {@see imageaffinematrixget()} function.
* @since 5.5.0
* @since 5.5
* @link https://php.net/manual/en/image.constants.php#constant.img-affine-shear-vertical
*/
define('IMG_AFFINE_SHEAR_VERTICAL', 4);
@ -2743,62 +2743,62 @@ define('IMG_AFFINE_SHEAR_VERTICAL', 4);
* Same as {@see IMG_CROP_TRANSPARENT}. Before PHP 7.4.0, the bundled libgd fell back to
* {@see IMG_CROP_SIDES}, if the image had no transparent color.
* Used together with {@see imagecropauto()}.
* @since 5.5.0
* @since 5.5
*/
define('IMG_CROP_DEFAULT', 0);
/**
* Crops out a transparent background.
* Used together with {@see imagecropauto()}.
* @since 5.5.0
* @since 5.5
*/
define('IMG_CROP_TRANSPARENT', 1);
/**
* Crops out a black background.
* Used together with {@see imagecropauto()}.
* @since 5.5.0
* @since 5.5
*/
define('IMG_CROP_BLACK', 2);
/**
* Crops out a white background.
* Used together with {@see imagecropauto()}.
* @since 5.5.0
* @since 5.5
*/
define('IMG_CROP_WHITE', 3);
/**
* Uses the 4 corners of the image to attempt to detect the background to crop.
* Used together with {@see imagecropauto()}.
* @since 5.5.0
* @since 5.5
*/
define('IMG_CROP_SIDES', 4);
/**
* Crops an image using the given <b>threshold</b> and <b>color</b>.
* Used together with {@see imagecropauto()}.
* @since 5.5.0
* @since 5.5
*/
define('IMG_CROP_THRESHOLD', 5);
/**
* Used together with {@see imageflip()}
* @since 5.5.0
* @since 5.5
* @link https://php.net/manual/en/image.constants.php#constant.img-flip-both
*/
define('IMG_FLIP_BOTH', 3);
/**
* Used together with {@see imageflip()}
* @since 5.5.0
* @since 5.5
* @link https://php.net/manual/en/image.constants.php#constant.img-flip-horizontal
*/
define('IMG_FLIP_HORIZONTAL', 1);
/**
* Used together with {@see imageflip()}
* @since 5.5.0
* @since 5.5
* @link https://php.net/manual/en/image.constants.php#constant.img-flip-vertical
*/
define('IMG_FLIP_VERTICAL', 2);
@ -2806,147 +2806,147 @@ define('IMG_FLIP_VERTICAL', 2);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-bell
* @since 5.5.0
* @since 5.5
*/
define('IMG_BELL', 1);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-bessel
* @since 5.5.0
* @since 5.5
*/
define('IMG_BESSEL', 2);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-bicubic
* @since 5.5.0
* @since 5.5
*/
define('IMG_BICUBIC', 4);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-bicubic-fixed
* @since 5.5.0
* @since 5.5
*/
define('IMG_BICUBIC_FIXED', 5);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-bilinear-fixed
* @since 5.5.0
* @since 5.5
*/
define('IMG_BILINEAR_FIXED', 3);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-blackman
* @since 5.5.0
* @since 5.5
*/
define('IMG_BLACKMAN', 6);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-box
* @since 5.5.0
* @since 5.5
*/
define('IMG_BOX', 7);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-bspline
* @since 5.5.0
* @since 5.5
*/
define('IMG_BSPLINE', 8);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-catmullrom
* @since 5.5.0
* @since 5.5
*/
define('IMG_CATMULLROM', 9);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-gaussian
* @since 5.5.0
* @since 5.5
*/
define('IMG_GAUSSIAN', 10);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-generalized-cubic
* @since 5.5.0
* @since 5.5
*/
define('IMG_GENERALIZED_CUBIC', 11);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-hermite
* @since 5.5.0
* @since 5.5
*/
define('IMG_HERMITE', 12);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-hamming
* @since 5.5.0
* @since 5.5
*/
define('IMG_HAMMING', 13);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-hanning
* @since 5.5.0
* @since 5.5
*/
define('IMG_HANNING', 14);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-mitchell
* @since 5.5.0
* @since 5.5
*/
define('IMG_MITCHELL', 15);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-power
* @since 5.5.0
* @since 5.5
*/
define('IMG_POWER', 17);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-quadratic
* @since 5.5.0
* @since 5.5
*/
define('IMG_QUADRATIC', 18);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-sinc
* @since 5.5.0
* @since 5.5
*/
define('IMG_SINC', 19);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-nearest-neighbour
* @since 5.5.0
* @since 5.5
*/
define('IMG_NEAREST_NEIGHBOUR', 16);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-weighted4
* @since 5.5.0
* @since 5.5
*/
define('IMG_WEIGHTED4', 21);
/**
* Used together with {@see imagesetinterpolation()}.
* @link https://php.net/manual/en/image.constants.php#constant.img-triangle
* @since 5.5.0
* @since 5.5
*/
define('IMG_TRIANGLE', 20);
@ -2967,7 +2967,7 @@ function imageaffine($image, $affine, $clip = null) {}
* @param array $m1 <p>Array with keys 0 to 5.</p>
* @param array $m2 <p>Array with keys 0 to 5.</p>
* @return array|bool Array with keys 0 to 5 and float values or <b>FALSE</b> on failure.
* @since 5.5.0
* @since 5.5
*/
function imageaffinematrixconcat(array $m1, array $m2) {}
@ -2977,7 +2977,7 @@ function imageaffinematrixconcat(array $m1, array $m2) {}
* @param int $type <p> One of <b>IMG_AFFINE_*</b> constants.
* @param mixed $options [optional]
* @return array|bool Array with keys 0 to 5 and float values or <b>FALSE</b> on failure.
* @since 5.5.0
* @since 5.5
*/
function imageaffinematrixget ($type, $options = null) {}
@ -2990,7 +2990,7 @@ function imageaffinematrixget ($type, $options = null) {}
* </p>
* @param array $rect <p>Array with keys "x", "y", "width" and "height".</p>
* @return resource|bool Return cropped image resource on success or FALSE on failure.
* @since 5.5.0
* @since 5.5
*/
function imagecrop ($image, $rect) {}
@ -3011,7 +3011,7 @@ function imagecrop ($image, $rect) {}
* Used in <b>IMG_CROP_THRESHOLD</b> mode.
* </p>
* @return resource|bool Return cropped image resource on success or <b>FALSE</b> on failure.
* @since 5.5.0
* @since 5.5
*/
function imagecropauto ($image, $mode = -1, $threshold = .5, $color = -1) {}
@ -3052,7 +3052,7 @@ function imagecropauto ($image, $mode = -1, $threshold = .5, $color = -1) {}
* </tbody>
* </table>
* @return bool Returns <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.5.0
* @since 5.5
*/
function imageflip ($image, $mode) {}
@ -3063,12 +3063,12 @@ function imageflip ($image, $mode) {}
* An image resource, returnd by one of the image creation functions, such as {@link https://secure.php.net/manual/en/function.imagecreatetruecolor.php imagecreatetruecolor()}.
* </p>
* @return bool Returns <b>TRUE</b> if the convertion was complete, or if the source image already is a true color image, otherwise <b>FALSE</b> is returned.
* @since 5.5.0
* @since 5.5
*/
function imagepalettetotruecolor ($image) {}
/**
* @since 5.5.0
* @since 5.5
* Scale an image using the given new width and height
* @link https://secure.php.net/manual/en/function.imagescale.php
* @param resource $image <p>
@ -3157,6 +3157,6 @@ function imagescale ($image, $new_width, $new_height = -1, $mode = IMG_BILINEAR_
* </ul>
* </p>
* @return bool Returns TRUE on success or FALSE on failure.
* @since 5.5.0
* @since 5.5
*/
function imagesetinterpolation ($image, $method = IMG_BILINEAR_FIXED) {}

View File

@ -99,7 +99,7 @@ function bindtextdomain ($domain, $directory) {}
* @return string correct plural form of message identified by
* <i>msgid1</i> and <i>msgid2</i>
* for count <i>n</i>.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function ngettext ($msgid1, $msgid2, $n) {}
@ -114,7 +114,7 @@ function ngettext ($msgid1, $msgid2, $n) {}
* @param string $msgid2
* @param int $n
* @return string A string on success.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function dngettext ($domain, $msgid1, $msgid2, $n) {}
@ -130,7 +130,7 @@ function dngettext ($domain, $msgid1, $msgid2, $n) {}
* @param int $n
* @param int $category
* @return string A string on success.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function dcngettext ($domain, $msgid1, $msgid2, $n, $category) {}
@ -145,7 +145,7 @@ function dcngettext ($domain, $msgid1, $msgid2, $n, $category) {}
* The code set
* </p>
* @return string A string on success.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function bind_textdomain_codeset ($domain, $codeset) {}

View File

@ -665,7 +665,7 @@ function gmp_scan1 ($a, $start) {}
* The bit to test
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.3.0
* @since 5.3
*/
function gmp_testbit ($a, $index) {}
@ -730,7 +730,7 @@ function gmp_export (GMP $gmpnumber, $word_size = 1, $options = GMP_MSW_FIRST |
* and later, or a numeric string provided that it is possible to convert the latter to a number.</p>
* @param integer $nth The positive root to take of a.
* @return GMP The integer component of the resultant root, as a GMP number.
* @since 5.6.0
* @since 5.6
*/
function gmp_root (GMP $a, $nth) {}
@ -742,7 +742,7 @@ function gmp_root (GMP $a, $nth) {}
* @param integer $nth The positive root to take of a.
* @return array|GMP[] A two element array, where the first element is the integer component of
* the root, and the second element is the remainder, both represented as GMP numbers.</p>
* @since 5.6.0
* @since 5.6
*/
function gmp_rootrem (GMP $a, $nth) {}
@ -753,7 +753,7 @@ function gmp_rootrem (GMP $a, $nth) {}
* numeric string given that it is possible to convert the latter to a number.</p>
* @return resource Return the next prime number greater than <i>a</i>,
* as a GMP number.
* @since 5.2.0
* @since 5.2
*/
function gmp_nextprime ($a) {}
@ -778,7 +778,7 @@ class GMP implements Serializable {
* String representation of object
* @link https://php.net/manual/en/serializable.serialize.php
* @return string the string representation of the object or null
* @since 5.1.0
* @since 5.1
*/
public function serialize() {}
@ -789,7 +789,7 @@ class GMP implements Serializable {
* The string representation of the object.
* </p>
* @return void
* @since 5.1.0
* @since 5.1
*/
public function unserialize($serialized) {}
}

View File

@ -28,7 +28,7 @@ function hash ($algo, $data, $raw_output = false) {}
* @param string $known_string <p>The string of known length to compare against</p>
* @param string $user_string <p>The user-supplied string</p>
* @return bool <p>Returns <b>TRUE</b> when the two strings are equal, <b>FALSE</b> otherwise.</p>
* @since 5.6.0
* @since 5.6
*/
function hash_equals($known_string, $user_string) {}
@ -197,7 +197,7 @@ function hash_final ($context, $raw_output = false) {}
* Hashing context returned by <b>hash_init</b>.
* </p>
* @return resource a copy of Hashing Context resource.
* @since 5.3.0
* @since 5.3
*/
function hash_copy ($context) {}
@ -266,7 +266,7 @@ function hash_hmac_algos() {}
* @return mixed a string containing the derived key as lowercase hexits unless
* <i>raw_output</i> is set to <b>TRUE</b> in which case the raw
* binary representation of the derived key is returned.
* @since 5.5.0
* @since 5.5
*/
function hash_pbkdf2 ($algo, $password, $salt, $iterations, $length = 0, $raw_output = FALSE) {}

View File

@ -482,7 +482,7 @@ function imap_fetchstructure ($imap_stream, $msg_number, $options = 0) {}
* <b>IMAP_GC_TEXTS</b> (texts).
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.3.0
* @since 5.3
*/
function imap_gc ($imap_stream, $caches) {}
@ -1291,7 +1291,7 @@ function imap_get_quota ($imap_stream, $quota_root) {}
* This function will return <b>FALSE</b> in the case of call failure, and an
* array of information about the connection upon an un-parsable response
* from the server.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function imap_get_quotaroot ($imap_stream, $quota_root) {}

View File

@ -182,7 +182,7 @@ function ibase_fetch_row ($result_identifier, $fetch_flag = null) {}
* @return array|false an associative array that corresponds to the fetched row.
* Subsequent calls will return the next row in the result set, or false if
* there are no more rows.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function ibase_fetch_assoc ($result, $fetch_flag = null) {}
@ -616,7 +616,7 @@ function ibase_errcode () {}
* @param string $middle_name [optional]
* @param string $last_name [optional]
* @return bool true on success or false on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function ibase_add_user ($service_handle, $user_name, $password, $first_name = null, $middle_name = null, $last_name = null) {}
@ -631,7 +631,7 @@ function ibase_add_user ($service_handle, $user_name, $password, $first_name = n
* @param string $middle_name [optional]
* @param string $last_name [optional]
* @return bool true on success or false on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function ibase_modify_user ($service_handle, $user_name, $password, $first_name = null, $middle_name = null, $last_name = null) {}
@ -642,7 +642,7 @@ function ibase_modify_user ($service_handle, $user_name, $password, $first_name
* @param resource $service_handle
* @param string $user_name
* @return bool true on success or false on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function ibase_delete_user ($service_handle, $user_name) {}

View File

@ -3195,6 +3195,7 @@ class IntlTimeZone {
* @link https://secure.php.net/manual/en/intltimezone.getwindowsid.php
* @param string $timezone
* @return string|false the Windows timezone or <b>FALSE</b> on failure
* @since 7.1
*/
public static function getWindowsID($timezone) { }

View File

@ -15,7 +15,7 @@ interface JsonSerializable {
* @link https://php.net/manual/en/jsonserializable.jsonserialize.php
* @return mixed data which can be serialized by <b>json_encode</b>,
* which is a value of any type other than a resource.
* @since 5.4.0
* @since 5.4
*/
public function jsonSerialize ();
@ -132,7 +132,7 @@ function json_decode ($json, $assoc = false, $depth = 512, $options = 0) {}
* @link https://php.net/manual/en/function.json-last-error.php
* @return int an integer, the value can be one of the following
* constants:
* @since 5.3.0
* @since 5.3
*/
function json_last_error () {}
@ -140,35 +140,35 @@ function json_last_error () {}
* Returns the error string of the last json_encode() or json_decode() call
* @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.
* @since 5.5.0
* @since 5.5
*/
function json_last_error_msg () {}
/**
* All &lt; and &gt; are converted to \u003C and \u003E.
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/json.constants.php
*/
define ('JSON_HEX_TAG', 1);
/**
* All &#38;#38;s are converted to \u0026.
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/json.constants.php
*/
define ('JSON_HEX_AMP', 2);
/**
* All ' are converted to \u0027.
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/json.constants.php
*/
define ('JSON_HEX_APOS', 4);
/**
* All " are converted to \u0022.
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/json.constants.php
*/
define ('JSON_HEX_QUOT', 8);
@ -177,7 +177,7 @@ define ('JSON_HEX_QUOT', 8);
* Outputs an object rather than an array when a non-associative array is
* used. Especially useful when the recipient of the output is expecting
* an object and the array is empty.
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/json.constants.php
*/
define ('JSON_FORCE_OBJECT', 16);
@ -191,21 +191,21 @@ define ('JSON_NUMERIC_CHECK', 32);
/**
* Don't escape /.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/json.constants.php
*/
define ('JSON_UNESCAPED_SLASHES', 64);
/**
* Use whitespace in returned data to format it.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/json.constants.php
*/
define ('JSON_PRETTY_PRINT', 128);
/**
* Encode multibyte Unicode characters literally (default is to escape as \uXXXX).
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/json.constants.php
*/
define ('JSON_UNESCAPED_UNICODE', 256);
@ -213,14 +213,14 @@ define ('JSON_PARTIAL_OUTPUT_ON_ERROR', 512);
/**
* Occurs with underflow or with the modes mismatch.
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/json.constants.php
*/
define ('JSON_ERROR_STATE_MISMATCH', 2);
/**
* Control character error, possibly incorrectly encoded.
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/json.constants.php
*/
define ('JSON_ERROR_CTRL_CHAR', 3);
@ -278,28 +278,28 @@ define ('JSON_ERROR_UNSUPPORTED_TYPE', 8);
/**
* No error has occurred.
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/json.constants.php
*/
define ('JSON_ERROR_NONE', 0);
/**
* The maximum stack depth has been exceeded.
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/json.constants.php
*/
define ('JSON_ERROR_DEPTH', 1);
/**
* Syntax error.
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/json.constants.php
*/
define ('JSON_ERROR_SYNTAX', 4);
/**
* Decodes JSON objects as PHP array.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/json.constants.php
*/
define ('JSON_OBJECT_AS_ARRAY', 1);
@ -307,7 +307,7 @@ define ('JSON_PARSER_NOTSTRICT', 4);
/**
* Decodes large integers as their original string value.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/json.constants.php
*/
define ('JSON_BIGINT_AS_STRING', 2);
@ -374,7 +374,7 @@ define('JSON_THROW_ON_ERROR', 4194304);
* precedence over <b>JSON_THROW_ON_ERROR</b>.
* </p>
*
* @since 7.3.0
* @since 7.3
* @link https://wiki.php.net/rfc/json_throw_on_error
*/
class JsonException extends \Exception {

View File

@ -871,7 +871,7 @@ function ldap_compare ($link_identifier, $dn, $attribute, $value, $serverctrls =
* </p>
* @deprecated 7.0
* @return bool
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function ldap_sort ($link, $result, $sortfilter) {}
@ -1161,7 +1161,7 @@ function ldap_parse_result ($link, $result, &$errcode, &$matcheddn = null, &$err
* @link https://php.net/manual/en/function.ldap-start-tls.php
* @param resource $link
* @return bool
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function ldap_start_tls ($link) {}
@ -1172,7 +1172,7 @@ function ldap_start_tls ($link) {}
* @param resource $link
* @param callable $callback
* @return bool
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function ldap_set_rebind_proc ($link, callable $callback) {}
@ -1196,7 +1196,7 @@ function ldap_set_rebind_proc ($link, callable $callback) {}
* (<b>ldap_control_paged_result_response</b>).
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.4.0
* @since 5.4
* @deprecated Since 7.4
*/
function ldap_control_paged_result ($link, $pagesize, $iscritical = false, $cookie = "") {}
@ -1215,7 +1215,7 @@ function ldap_control_paged_result ($link, $pagesize, $iscritical = false, $cook
* The estimated number of entries to retrieve.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.4.0
* @since 5.4
* @deprecated Since 7.4
*/
function ldap_control_paged_result_response ($link, $result, &$cookie = null, &$estimated = null) {}
@ -1226,7 +1226,7 @@ function ldap_control_paged_result_response ($link, $result, &$cookie = null, &$
* @param string $ignore [optional] Characters to ignore when escaping.
* @param int $flags [optional] The context the escaped string will be used in: LDAP_ESCAPE_FILTER for filters to be used with ldap_search(), or LDAP_ESCAPE_DN for DNs. If neither flag is passed, all chars are escaped.
* @return string
* @since 5.6.0
* @since 5.6
*/
function ldap_escape ($value, $ignore = "", $flags = 0) {}
@ -1308,7 +1308,7 @@ function ldap_escape ($value, $ignore = "", $flags = 0) {}
* </p></p>
* @param array $serverctrls [optional] Array of LDAP Controls to send with the request.
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.4.0
* @since 5.4
*/
function ldap_modify_batch ( $link_identifier , $dn , $entry, $serverctrls = []) {}

View File

@ -80,7 +80,7 @@ function libxml_set_streams_context ($streams_context) {}
* </p>
* @return bool This function returns the previous value of
* <i>use_errors</i>.
* @since 5.1.0
* @since 5.1
*/
function libxml_use_internal_errors ($use_errors = false) {}
@ -89,7 +89,7 @@ function libxml_use_internal_errors ($use_errors = false) {}
* @link https://php.net/manual/en/function.libxml-get-last-error.php
* @return LibXMLError a LibXMLError object if there is any error in the
* buffer, <b>FALSE</b> otherwise.
* @since 5.1.0
* @since 5.1
*/
function libxml_get_last_error () {}
@ -97,7 +97,7 @@ function libxml_get_last_error () {}
* Clear libxml error buffer
* @link https://php.net/manual/en/function.libxml-clear-errors.php
* @return void No value is returned.
* @since 5.1.0
* @since 5.1
*/
function libxml_clear_errors () {}
@ -106,7 +106,7 @@ function libxml_clear_errors () {}
* @link https://php.net/manual/en/function.libxml-get-errors.php
* @return array an array with LibXMLError objects if there are any
* errors in the buffer, or an empty array otherwise.
* @since 5.1.0
* @since 5.1
*/
function libxml_get_errors () {}
@ -133,7 +133,7 @@ function libxml_disable_entity_loader ($disable = true) {}
* opened, or <b>NULL</b>.
* </p>
* @return void No value is returned.
* @since 5.4.0
* @since 5.4
*/
function libxml_set_external_entity_loader (callable $resolver_function) {}
@ -220,7 +220,7 @@ define ('LIBXML_NONET', 2048);
/**
* Sets XML_PARSE_PEDANTIC flag, which enables pedentic error reporting.
* @link https://php.net/manual/en/libxml.constants.php
* @since 5.4.0
* @since 5.4
*/
define ('LIBXML_PEDANTIC', 128);

View File

@ -17,7 +17,7 @@
* @param string $encoding [optional] &mbstring.encoding.parameter;
* @return string A case folded version of string converted in the
* way specified by mode.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function mb_convert_case ($str, $mode, $encoding = null) {}
@ -30,7 +30,7 @@ function mb_convert_case ($str, $mode, $encoding = null) {}
* </p>
* @param string $encoding [optional] &mbstring.encoding.parameter;
* @return string str with all alphabetic characters converted to uppercase.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function mb_strtoupper ($str, $encoding = null) {}
@ -43,7 +43,7 @@ function mb_strtoupper ($str, $encoding = null) {}
* </p>
* @param string $encoding [optional] &mbstring.encoding.parameter;
* @return string str with all alphabetic characters converted to lowercase.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function mb_strtolower ($str, $encoding = null) {}
@ -321,7 +321,7 @@ function mb_strrpos ($haystack, $needle, $offset = 0, $encoding = null) {}
* @return int|false Return the numeric position of the first occurrence of
* needle in the haystack
* string, or false if needle is not found.
* @since 5.2.0
* @since 5.2
*/
function mb_stripos ($haystack, $needle, $offset = 0, $encoding = null) {}
@ -347,7 +347,7 @@ function mb_stripos ($haystack, $needle, $offset = 0, $encoding = null) {}
* the last occurrence of needle in the
* haystack string, or false
* if needle is not found.
* @since 5.2.0
* @since 5.2
*/
function mb_strripos ($haystack, $needle, $offset = 0, $encoding = null) {}
@ -375,7 +375,7 @@ function mb_strripos ($haystack, $needle, $offset = 0, $encoding = null) {}
* </p>
* @return string|false the portion of haystack,
* or false if needle is not found.
* @since 5.2.0
* @since 5.2
*/
function mb_strstr ($haystack, $needle, $before_needle = false, $encoding = null) {}
@ -403,7 +403,7 @@ function mb_strstr ($haystack, $needle, $before_needle = false, $encoding = null
* </p>
* @return string|false the portion of haystack.
* or false if needle is not found.
* @since 5.2.0
* @since 5.2
*/
function mb_strrchr ($haystack, $needle, $before_needle = false, $encoding = null) {}
@ -431,7 +431,7 @@ function mb_strrchr ($haystack, $needle, $before_needle = false, $encoding = nul
* </p>
* @return string|false the portion of haystack,
* or false if needle is not found.
* @since 5.2.0
* @since 5.2
*/
function mb_stristr ($haystack, $needle, $before_needle = false, $encoding = null) {}
@ -459,7 +459,7 @@ function mb_stristr ($haystack, $needle, $before_needle = false, $encoding = nul
* </p>
* @return string|false the portion of haystack.
* or false if needle is not found.
* @since 5.2.0
* @since 5.2
*/
function mb_strrichr ($haystack, $needle, $before_needle = false, $encoding = null) {}
@ -476,7 +476,7 @@ function mb_strrichr ($haystack, $needle, $before_needle = false, $encoding = nu
* @return int The number of times the
* needle substring occurs in the
* haystack string.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function mb_substr_count ($haystack, $needle, $encoding = null) {}
@ -910,7 +910,7 @@ function mb_send_mail ($to, $subject, $message, $additional_headers = null, $add
* </p>
* @return array|mixed An array of type information if type
* is not specified, otherwise a specific type.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function mb_get_info ($type = null) {}
@ -939,7 +939,7 @@ function mb_check_encoding ($var = null, $encoding = null) {}
* or FALSE on failure. In this case, the internal character encoding
* is NOT changed. If encoding is omitted, then the current character
* encoding name for a multibyte regex is returned.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function mb_regex_encoding ($encoding = null) {}
@ -952,7 +952,7 @@ function mb_regex_encoding ($encoding = null) {}
* </p>
* @return string The previous options. If options is omitted,
* it returns the string that describes the current options.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function mb_regex_set_options ($options = null) {}
@ -970,7 +970,7 @@ function mb_regex_set_options ($options = null) {}
* Contains a substring of the matched string.
* </p>
* @return int
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function mb_ereg ($pattern, $string, array &$regs = null) {}
@ -988,7 +988,7 @@ function mb_ereg ($pattern, $string, array &$regs = null) {}
* Contains a substring of the matched string.
* </p>
* @return int
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function mb_eregi ($pattern, $string, array &$regs = null) {}
@ -1020,7 +1020,7 @@ function mb_eregi ($pattern, $string, array &$regs = null) {}
* evaluated as PHP expression.
* <p>PHP 7.1: The <i>e</i> modifier has been deprecated.</p>
* @return string|false The resultant string on success, or false on error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function mb_ereg_replace ($pattern, $replacement, $string, $option = "msr") {}
@ -1086,7 +1086,7 @@ function mb_ereg_replace_callback ($pattern, callable $callback, $string, $optio
* mb_ereg_replace.
* <p>PHP 7.1: The <i>e</i> modifier has been deprecated.</p>
* @return string|false The resultant string or false on error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function mb_eregi_replace ($pattern, $replace, $string, $option = "msr") {}
@ -1104,7 +1104,7 @@ function mb_eregi_replace ($pattern, $replace, $string, $option = "msr") {}
* it will be split in limit elements as
* maximum.
* @return string[] The result as an array.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function mb_split ($pattern, $string, $limit = null) {}
@ -1121,7 +1121,7 @@ function mb_split ($pattern, $string, $limit = null) {}
* @param string $option [optional] <p>
* </p>
* @return bool
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function mb_ereg_match ($pattern, $string, $option = null) {}
@ -1136,7 +1136,7 @@ function mb_ereg_match ($pattern, $string, $option = null) {}
* The search option.
* </p>
* @return bool
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function mb_ereg_search ($pattern = null, $option = null) {}
@ -1154,7 +1154,7 @@ function mb_ereg_search ($pattern = null, $option = null) {}
* element is the offset, in bytes, where the match begins relative
* to the start of the search string, and the second element is the
* length in bytes of the match. If an error occurs, FALSE is returned.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function mb_ereg_search_pos ($pattern = null, $option = null) {}
@ -1173,7 +1173,7 @@ function mb_ereg_search_pos ($pattern = null, $option = null) {}
* returns an array including substring of matched part as first element,
* the first grouped part with brackets as second element, the second grouped
* part as third element, and so on. It returns FALSE on error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function mb_ereg_search_regs ($pattern = null, $option = null) {}
@ -1191,7 +1191,7 @@ function mb_ereg_search_regs ($pattern = null, $option = null) {}
* The search option.
* </p>
* @return bool
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function mb_ereg_search_init ($string, $pattern = null, $option = null) {}
@ -1205,7 +1205,7 @@ function mb_ereg_search_init ($string, $pattern = null, $option = null) {}
* sub-string, the second element will have the first part grouped with
* brackets, the third element will have the second part grouped with
* brackets, and so on. It returns FALSE on error;
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function mb_ereg_search_getregs () {}
@ -1214,7 +1214,7 @@ function mb_ereg_search_getregs () {}
* Returns start point for next regular expression match
* @link https://php.net/manual/en/function.mb-ereg-search-getpos.php
* @return int
* @since 4.2.0
* @since 4.2
* @since 5.0
* @deprecated 7.3
*/
@ -1227,7 +1227,7 @@ function mb_ereg_search_getpos () {}
* The position to set.
* </p>
* @return bool
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function mb_ereg_search_setpos ($position) {}

View File

@ -270,7 +270,7 @@ function mysql_list_fields ($database_name, $table_name, $link_identifier = null
* @link https://php.net/manual/en/function.mysql-list-processes.php
* @param resource $link_identifier [optional]
* @return resource|false A result pointer resource on success or false on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function mysql_list_processes ($link_identifier = null) {}
@ -667,7 +667,7 @@ function mysql_escape_string ($unescaped_string) {}
* </p>
* @param resource $link_identifier [optional]
* @return string|false the escaped string, or false on error.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function mysql_real_escape_string ($unescaped_string, $link_identifier = null) {}
@ -681,7 +681,7 @@ function mysql_real_escape_string ($unescaped_string, $link_identifier = null) {
* flush tables and queries per second. For a complete list of other status
* variables, you have to use the SHOW STATUS SQL command.
* If <i>link_identifier</i> is invalid, null is returned.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function mysql_stat ($link_identifier = null) {}
@ -692,7 +692,7 @@ function mysql_stat ($link_identifier = null) {}
* @link https://php.net/manual/en/function.mysql-thread-id.php
* @param resource $link_identifier [optional]
* @return int|false The thread ID on success or false on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function mysql_thread_id ($link_identifier = null) {}
@ -703,7 +703,7 @@ function mysql_thread_id ($link_identifier = null) {}
* @link https://php.net/manual/en/function.mysql-client-encoding.php
* @param resource $link_identifier [optional]
* @return string the default character set name for the current connection.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function mysql_client_encoding ($link_identifier = null) {}
@ -715,7 +715,7 @@ function mysql_client_encoding ($link_identifier = null) {}
* @param resource $link_identifier [optional]
* @return bool true if the connection to the server MySQL server is working,
* otherwise false.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function mysql_ping ($link_identifier = null) {}
@ -773,7 +773,7 @@ function mysql_get_server_info ($link_identifier = null) {}
* failure. See the example below for which statements provide information,
* and what the returned value may look like. Statements that are not listed
* will return false.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function mysql_info ($link_identifier = null) {}

View File

@ -163,7 +163,7 @@ class mysqli {
* @param int $flags [optional]
* @param string $name [optional]
* @return bool true on success or false on failure.
* @since 5.5.0
* @since 5.5
*/
public function begin_transaction ($flags = 0, $name = null) {}
@ -268,7 +268,7 @@ class mysqli {
* <p>Internal character set number</p>
* <i>state</i>
* <p>Character set status (?)</p>
* @since 5.1.0
* @since 5.1
*/
public function get_charset () {}
@ -284,7 +284,7 @@ class mysqli {
* Returns statistics about the client connection
* @link https://php.net/manual/en/mysqli.get-connection-stats.php
* @return array|false an array with connection stats if success, false otherwise.
* @since 5.3.0
* @since 5.3
*/
public function get_connection_stats () {}
@ -299,7 +299,7 @@ class mysqli {
* Get result of SHOW WARNINGS
* @link https://php.net/manual/en/mysqli.get-warnings.php
* @return mysqli_warning
* @since 5.1.0
* @since 5.1
*/
public function get_warnings () {}
@ -604,7 +604,7 @@ class mysqli {
* Number of microseconds to wait, must be non-negative.
* </p>
* @return int|false number of ready connections in success, false otherwise.
* @since 5.3.0
* @since 5.3
*/
public static function poll (array &$read , array &$error , array &$reject , $sec, $usec = null) {}
@ -612,7 +612,7 @@ class mysqli {
* Get result from async query
* @link https://php.net/manual/en/mysqli.reap-async-query.php
* @return mysqli_result|false mysqli_result in success, false otherwise.
* @since 5.3.0
* @since 5.3
*/
public function reap_async_query () {}
@ -644,7 +644,7 @@ class mysqli {
* @link https://php.net/manual/en/mysqli.release-savepoint.php
* @param string $name
* @return bool Returns TRUE on success or FALSE on failure.
* @since 5.5.0
* @since 5.5
*/
public function release_savepoint ($name) {}
@ -664,7 +664,7 @@ class mysqli {
* @link https://secure.php.net/manual/en/mysqli.savepoint.php
* @param string $name
* @return bool Returns TRUE on success or FALSE on failure.
* @since 5.5.0
* @since 5.5
*/
public function savepoint ($name) {}
@ -1085,7 +1085,7 @@ class mysqli_result implements Traversable {
* MYSQLI_NUM, or MYSQLI_BOTH.
* </p>
* @return mixed an array of associative or numeric arrays holding result rows.
* @since 5.3.0
* @since 5.3
*/
public function fetch_all ($resulttype = null) {}
@ -1385,7 +1385,7 @@ class mysqli_stmt {
* Get result of SHOW WARNINGS
* @link https://php.net/manual/en/mysqli-stmt.get-warnings.php
* @return object
* @since 5.1.0
* @since 5.1
*/
public function get_warnings () {}
@ -1535,7 +1535,7 @@ function mysqli_autocommit ($link, $mode) {}
* @param int $flags [optional]
* @param string $name [optional]
* @return bool true on success or false on failure.
* @since 5.5.0
* @since 5.5
*/
function mysqli_begin_transaction ($link, $flags = 0, $name = null) {}
@ -1815,7 +1815,7 @@ function mysqli_free_result ($result) {}
/**
* Returns client Zval cache statistics
* @since 5.3.0
* @since 5.3
* Available only with mysqlnd.
* @link https://php.net/manual/en/mysqli.get-cache-stats.php
* @param mysqli $link A link identifier returned by mysqli_connect() or mysqli_init()
@ -1833,7 +1833,7 @@ function mysqli_get_connection_stats ($link) {}
/**
* Returns client per-process statistics
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/mysqli.get-client-stats.php
* @return array|false an array with client stats if success, false otherwise.
*/
@ -2184,7 +2184,7 @@ function mysqli_reap_async_query ($link) {}
* @param mysqli $link A link identifier returned by mysqli_connect() or mysqli_init()
* @param string $name
* @return bool Returns TRUE on success or FALSE on failure.
* @since 5.5.0
* @since 5.5
*/
function mysqli_release_savepoint ($link ,$name) {}
@ -2204,7 +2204,7 @@ function mysqli_rollback ($link, $flags = 0, $name = null) {}
* @param mysqli $link A link identifier returned by mysqli_connect() or mysqli_init()
* @param string $name
* @return bool Returns TRUE on success or FALSE on failure.
* @since 5.5.0
* @since 5.5
*/
function mysqli_savepoint ($link ,$name) {}

View File

@ -380,7 +380,7 @@ class OCI_Collection {
* See the parameter description and an example on <a href="https://www.php.net/manual/en/oci8.taf.php">OCI8 Transparent Application Failover (TAF) Support</a> page.
* </p>
* @return bool TRUE on success or FALSE on failure.
* @since 7.2.0
* @since 7.2
*/
function oci_register_taf_callback($connection, $callbackFn) {}
@ -391,7 +391,7 @@ function oci_register_taf_callback($connection, $callbackFn) {}
* An Oracle connection identifier.
* </p>
* @return bool TRUE on success or FALSE on failure.
* @since 7.2.0
* @since 7.2
*/
function oci_unregister_taf_callback($connection) {}

View File

@ -171,7 +171,7 @@ function odbc_cursor ($result_id) {}
* called, thereafter use the <b>SQL_FETCH_NEXT</b>.
* </p>
* @return array|false <b>FALSE</b> on error, and an array upon success.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function odbc_data_source ($connection_id, $fetch_type) {}

View File

@ -9,7 +9,7 @@
* Resource holding the key.
* </p>
* @return void
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function openssl_pkey_free($key) { }
@ -25,7 +25,7 @@ function openssl_pkey_free($key) { }
* </p>
* @return resource|false a resource identifier for the pkey on success, or false on
* error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function openssl_pkey_new(array $configargs = null) { }
@ -45,7 +45,7 @@ function openssl_pkey_new(array $configargs = null) { }
* information about <i>configargs</i>.
* </p>
* @return bool true on success or false on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function openssl_pkey_export($key, &$out, $passphrase = null, array $configargs = null) { }
@ -68,7 +68,7 @@ function openssl_pkey_export($key, &$out, $passphrase = null, array $configargs
* information about <i>configargs</i>.
* </p>
* @return bool true on success or false on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function openssl_pkey_export_to_file($key, $outfilename, $passphrase = null, array $configargs = null) { }
@ -91,7 +91,7 @@ function openssl_pkey_export_to_file($key, $outfilename, $passphrase = null, arr
* if the specified key is encrypted (protected by a passphrase).
* </p>
* @return resource|false Returns a positive key resource identifier on success, or <b>FALSE</b> on error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function openssl_pkey_get_private($key, $passphrase = "") { }
@ -110,7 +110,7 @@ function openssl_pkey_get_private($key, $passphrase = "") { }
* <li>A PEM formatted public key.</li>
* </ol></p>
* @return resource|false a positive key resource identifier on success, or false on error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function openssl_pkey_get_public($certificate) { }
@ -133,7 +133,7 @@ function openssl_pkey_get_public($certificate) { }
* <p>
* Depending on the key type used, additional details may be returned. Note that
* some elements may not always be available.
* @since 5.2.0
* @since 5.2
*/
function openssl_pkey_get_details($key) { }
@ -203,7 +203,7 @@ function openssl_get_publickey($certificate) { }
* @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.0
* @since 5.6
*/
function openssl_spki_new(&$privkey, &$challenge, $algorithm = 0) {}
@ -213,7 +213,7 @@ function openssl_spki_new(&$privkey, &$challenge, $algorithm = 0) {}
* @link https://php.net/manual/en/function.openssl-spki-verify.php
* @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.0
* @since 5.6
*/
function openssl_spki_verify(&$spkac) {}
@ -222,7 +222,7 @@ function openssl_spki_verify(&$spkac) {}
* @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>
* @return string|null Returns the associated challenge string or NULL on failure.
* @since 5.6.0
* @since 5.6
*/
function openssl_spki_export_challenge (&$spkac ) {}
@ -231,7 +231,7 @@ function openssl_spki_export_challenge (&$spkac ) {}
* @link https://php.net/manual/en/function.openssl-spki-export.php
* @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.0
* @since 5.6
*/
function openssl_spki_export (&$spkac ) {}
/**
@ -250,7 +250,7 @@ function openssl_x509_read($x509certdata) { }
* @param string $type [optional] hash method
* @param bool $binary [optional]
* @return string|false <b>FALSE</b> on failure
* @since 5.6.0
* @since 5.6
*/
function openssl_x509_fingerprint($x509, $type, $binary) {}
/**
@ -355,7 +355,7 @@ function openssl_x509_checkpurpose($x509cert, $purpose, array $cainfo = null, $u
* </p>
* @return bool true if <i>key</i> is the private key that
* corresponds to <i>cert</i>, or false otherwise.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function openssl_x509_check_private_key($cert, $key) { }
@ -369,7 +369,7 @@ function openssl_x509_check_private_key($cert, $key) { }
* </p>
* @param bool $notext [optional] &note.openssl.param-notext;
* @return bool true on success or false on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function openssl_x509_export($x509, &$output, $notext = true) { }
@ -383,7 +383,7 @@ function openssl_x509_export($x509, &$output, $notext = true) { }
* </p>
* @param bool $notext [optional] &note.openssl.param-notext;
* @return bool true on success or false on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function openssl_x509_export_to_file($x509, $outfilename, $notext = true) { }
@ -533,7 +533,7 @@ function openssl_pkcs12_read($pkcs12, array &$certs, $pass) { }
* converted to OIDs and applied to the relevant part of the request.
* </p>
* @return false|resource the CSR.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function openssl_csr_new(array $dn, &$privkey, array $configargs = null, array $extraattribs = null) { }
@ -545,7 +545,7 @@ function openssl_csr_new(array $dn, &$privkey, array $configargs = null, array $
* @param string $out
* @param bool $notext [optional] &note.openssl.param-notext;
* @return bool true on success or false on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function openssl_csr_export($csr, &$out, $notext = true) { }
@ -559,7 +559,7 @@ function openssl_csr_export($csr, &$out, $notext = true) { }
* </p>
* @param bool $notext [optional] &note.openssl.param-notext;
* @return bool true on success or false on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function openssl_csr_export_to_file($csr, $outfilename, $notext = true) { }
@ -596,7 +596,7 @@ function openssl_csr_export_to_file($csr, $outfilename, $notext = true) { }
* it will default to 0.
* </p>
* @return resource|false an x509 certificate resource on success, false on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function openssl_csr_sign($csr, $cacert, $priv_key, $days, array $configargs = null, $serial = 0) { }
@ -607,7 +607,7 @@ function openssl_csr_sign($csr, $cacert, $priv_key, $days, array $configargs = n
* @param mixed $csr
* @param bool $use_shortnames [optional]
* @return array|false
* @since 5.2.0
* @since 5.2
*/
function openssl_csr_get_subject($csr, $use_shortnames = true) { }
@ -617,7 +617,7 @@ function openssl_csr_get_subject($csr, $use_shortnames = true) { }
* @param mixed $csr
* @param bool $use_shortnames [optional]
* @return resource|false
* @since 5.2.0
* @since 5.2
*/
function openssl_csr_get_public_key($csr, $use_shortnames = true) { }
@ -635,7 +635,7 @@ function openssl_csr_get_public_key($csr, $use_shortnames = true) { }
* value is binhex encoded.
* </p>
* @return string|false the digested hash value on success or false on failure.
* @since 5.3.0
* @since 5.3
*/
function openssl_digest($data, $method, $raw_output = false) { }
@ -663,7 +663,7 @@ function openssl_digest($data, $method, $raw_output = false) { }
* The length of the authentication tag. Its value can be between 4 and 16 for GCM mode.
* </p>
* @return string|false the encrypted string on success or false on failure.
* @since 5.3.0
* @since 5.3
*/
function openssl_encrypt($data, $method, $key, $options = 0, $iv = "", &$tag = NULL, $aad = "", $tag_length = 16) { }
@ -692,7 +692,7 @@ function openssl_encrypt($data, $method, $key, $options = 0, $iv = "", &$tag = N
* </p>
* @param string $aad [optional] <p>Additional authentication data.</p>
* @return string|false The decrypted string on success or false on failure.
* @since 5.3.0
* @since 5.3
*/
function openssl_decrypt($data, $method, $password, $options = 1, $iv = "", $tag = "", $aad = "") { }
@ -786,7 +786,7 @@ function openssl_open($sealed_data, &$open_data, $env_key, $priv_key_id, $method
* @param int $iterations
* @param string $digest_algorithm [optional]
* @return string|false Returns string or FALSE on failure.
* @since 5.5.0
* @since 5.5
*/
function openssl_pbkdf2($password, $salt, $key_length, $iterations, $digest_algorithm) { }
@ -994,7 +994,7 @@ function openssl_public_decrypt($data, &$decrypted, $key, $padding = OPENSSL_PKC
* returned array.
* </p>
* @return array An array of available digest methods.
* @since 5.3.0
* @since 5.3
*/
function openssl_get_md_methods($aliases = false) { }
@ -1006,7 +1006,7 @@ function openssl_get_md_methods($aliases = false) { }
* returned array.
* </p>
* @return array An array of available cipher methods.
* @since 5.3.0
* @since 5.3
*/
function openssl_get_cipher_methods($aliases = false) { }
@ -1047,7 +1047,7 @@ function openssl_pkey_derive($peer_pub_key, $priv_key, $keylen) {}
* passwords, etc. true if it did, otherwise false
* </p>
* @return string|false the generated &string; of bytes on success, or false on failure.
* @since 5.3.0
* @since 5.3
*/
function openssl_random_pseudo_bytes($length, &$crypto_strong = null) { }
@ -1064,7 +1064,7 @@ function openssl_error_string() { }
* Retrieve the available certificate locations
* @link https://php.net/manual/en/function.openssl-get-cert-locations.php
* @return array an array with the available certificate locations
* @since 5.6.0
* @since 5.6
*/
function openssl_get_cert_locations() { }

View File

@ -10,7 +10,7 @@
* thread of execution. On failure, a -1 will be returned in the
* parent's context, no child process will be created, and a PHP
* error is raised.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function pcntl_fork () {}
@ -93,7 +93,7 @@ function pcntl_fork () {}
* @return int <b>pcntl_waitpid</b> returns the process ID of the
* child which exited, -1 on error or zero if <b>WNOHANG</b> was used and no
* child was available
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function pcntl_waitpid ($pid, &$status, $options = 0, array &$rusage) {}
@ -172,7 +172,7 @@ function pcntl_wait (&$status, $options = 0, &$rusage) {}
* signal arrives.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function pcntl_signal ($signo, $handler, $restart_syscalls = true) {}
@ -181,7 +181,7 @@ function pcntl_signal ($signo, $handler, $restart_syscalls = true) {}
* Calls signal handlers for pending signals
* @link https://php.net/manual/en/function.pcntl-signal-dispatch.php
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.3.0
* @since 5.3
*/
function pcntl_signal_dispatch () {}
@ -193,7 +193,7 @@ function pcntl_signal_dispatch () {}
* call to <b>pcntl_waitpid</b>.</p>
* @return bool <b>TRUE</b> if the child status code represents a normal exit, <b>FALSE</b>
* otherwise.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function pcntl_wifexited ($status) {}
@ -206,7 +206,7 @@ function pcntl_wifexited ($status) {}
* call to <b>pcntl_waitpid</b>.</p>
* @return bool <b>TRUE</b> if the child process which caused the return is
* currently stopped, <b>FALSE</b> otherwise.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function pcntl_wifstopped ($status) {}
@ -219,7 +219,7 @@ function pcntl_wifstopped ($status) {}
* call to <b>pcntl_waitpid</b>.</p>
* @return bool <b>TRUE</b> if the child process exited because of a signal which was
* not caught, <b>FALSE</b> otherwise.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function pcntl_wifsignaled ($status) {}
@ -231,7 +231,7 @@ function pcntl_wifsignaled ($status) {}
* parameter is the status parameter supplied to a successful
* call to <b>pcntl_waitpid</b>.</p>
* @return int the return code, as an integer.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function pcntl_wexitstatus ($status) {}
@ -247,7 +247,7 @@ function pcntl_wifcontinued ( $status){}
* parameter is the status parameter supplied to a successful
* call to <b>pcntl_waitpid</b>.</p>
* @return int the signal number, as an integer.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function pcntl_wtermsig ($status) {}
@ -259,7 +259,7 @@ function pcntl_wtermsig ($status) {}
* parameter is the status parameter supplied to a successful
* call to <b>pcntl_waitpid</b>.</p>
* @return int the signal number.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function pcntl_wstopsig ($status) {}
@ -284,7 +284,7 @@ function pcntl_wstopsig ($status) {}
* the value of that variable.
* </p>
* @return void <b>FALSE</b> on error and does not return on success.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pcntl_exec ($path, array $args = null, array $envs = null) {}
@ -299,7 +299,7 @@ function pcntl_exec ($path, array $args = null, array $envs = null) {}
* @return int the time in seconds that any previously scheduled alarm had
* remaining before it was to be delivered, or 0 if there
* was no previously scheduled alarm.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function pcntl_alarm ($seconds) {}
@ -390,7 +390,7 @@ function pcntl_setpriority ($priority, $pid, $process_identifier = PRIO_PROCESS)
* containing the list of the previously blocked signals.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.3.0
* @since 5.3
*/
function pcntl_sigprocmask ($how, array $set, array &$oldset = null) {}
@ -431,7 +431,7 @@ function pcntl_sigprocmask ($how, array $set, array &$oldset = null) {}
* fd: File descriptor number
* </p>
* @return int On success, <b>pcntl_sigwaitinfo</b> returns a signal number.
* @since 5.3.0
* @since 5.3
*/
function pcntl_sigwaitinfo (array $set, array &$siginfo = null) {}
@ -453,7 +453,7 @@ function pcntl_sigwaitinfo (array $set, array &$siginfo = null) {}
* Timeout in nanoseconds.
* </p>
* @return int On success, <b>pcntl_sigtimedwait</b> returns a signal number.
* @since 5.3.0
* @since 5.3
*/
function pcntl_sigtimedwait (array $set, array &$siginfo = null, $seconds = 0, $nanoseconds = 0) {}
@ -532,284 +532,284 @@ define ('PRIO_PROCESS', 0);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('SIG_BLOCK', 0);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('SIG_UNBLOCK', 1);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('SIG_SETMASK', 2);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('SIGRTMIN', 34);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('SIGRTMAX', 64);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('SI_USER', 0);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('SI_KERNEL', 128);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('SI_QUEUE', -1);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('SI_TIMER', -2);
define ('SI_MESGQ', -3);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('SI_ASYNCIO', -4);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('SI_SIGIO', -5);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('SI_TKILL', -6);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('CLD_EXITED', 1);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('CLD_KILLED', 2);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('CLD_DUMPED', 3);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('CLD_TRAPPED', 4);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('CLD_STOPPED', 5);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('CLD_CONTINUED', 6);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('TRAP_BRKPT', 1);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('TRAP_TRACE', 2);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('POLL_IN', 1);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('POLL_OUT', 2);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('POLL_MSG', 3);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('POLL_ERR', 4);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('POLL_PRI', 5);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('POLL_HUP', 6);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('ILL_ILLOPC', 1);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('ILL_ILLOPN', 2);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('ILL_ILLADR', 3);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('ILL_ILLTRP', 4);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('ILL_PRVOPC', 5);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('ILL_PRVREG', 6);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('ILL_COPROC', 7);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('ILL_BADSTK', 8);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('FPE_INTDIV', 1);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('FPE_INTOVF', 2);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('FPE_FLTDIV', 3);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('FPE_FLTOVF', 4);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('FPE_FLTUND', 7);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('FPE_FLTRES', 6);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('FPE_FLTINV', 7);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('FPE_FLTSUB', 8);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('SEGV_MAPERR', 1);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('SEGV_ACCERR', 2);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('BUS_ADRALN', 1);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('BUS_ADRERR', 2);
/**
* @link https://php.net/manual/en/pcntl.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('BUS_OBJERR', 3);
define ('PCNTL_EINTR', 4);

View File

@ -409,7 +409,7 @@ function preg_replace_callback_array ($patterns_and_callbacks, $subject , $limit
* If no matches are found or an error occurred, an empty array
* is returned when <i>subject</i> is an array
* or <b>NULL</b> otherwise.
* @since 5.3.0
* @since 5.3
*/
function preg_filter ($pattern, $replacement, $subject, $limit = -1, &$count = null) {}
@ -492,7 +492,7 @@ function preg_grep ($pattern, array $input, $flags = 0) {}
* <b>PREG_RECURSION_LIMIT_ERROR</b> (see also pcre.recursion_limit)
* <b>PREG_BAD_UTF8_ERROR</b>
* <b>PREG_BAD_UTF8_OFFSET_ERROR</b> (since PHP 5.3.0)
* @since 5.2.0
* @since 5.2
*/
function preg_last_error () {}
@ -598,7 +598,7 @@ define ('PREG_BAD_UTF8_OFFSET_ERROR', 5);
* to include unmatched subpatterns in <b>$matches</b> as NULL values.
* Without this flag, unmatched subpatterns are reported as empty strings,
* as if they were empty matches. Setting this flag allows to distinguish between these two cases.
* @since 7.2.0
* @since 7.2
*/
define ('PREG_UNMATCHED_AS_NULL', 512);
/**

View File

@ -96,7 +96,7 @@ function pg_close ($connection = null) {}
* </p>
* @return int <b>PGSQL_POLLING_FAILED</b>, <b>PGSQL_POLLING_READING</b>, <b>PGSQL_POLLING_WRITING</b>,
* <b>PGSQL_POLLING_OK</b>, or <b>PGSQL_POLLING_ACTIVE</b>.
* @since 5.6.0
* @since 5.6
*/
function pg_connect_poll ($connection = null) {}
@ -108,7 +108,7 @@ function pg_connect_poll ($connection = null) {}
* </p>
* @return int <b>PGSQL_CONNECTION_OK</b> or
* <b>PGSQL_CONNECTION_BAD</b>.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_connection_status ($connection) {}
@ -120,7 +120,7 @@ function pg_connection_status ($connection) {}
* PostgreSQL database connection resource.
* </p>
* @return bool <b>TRUE</b> if the connection is busy, <b>FALSE</b> otherwise.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_connection_busy ($connection) {}
@ -132,7 +132,7 @@ function pg_connection_busy ($connection) {}
* PostgreSQL database connection resource.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_connection_reset ($connection) {}
@ -144,7 +144,7 @@ function pg_connection_reset ($connection) {}
* PostgreSQL database connection resource.
* </p>
* @return resource|false A socket resource on success or <b>FALSE</b> on failure.
* @since 5.6.0
* @since 5.6
*/
function pg_socket ($connection) {}
@ -255,7 +255,7 @@ function pg_version ($connection = null) {}
* <b>pg_connect</b> or <b>pg_pconnect</b>.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function pg_ping ($connection = null) {}
@ -295,7 +295,7 @@ function pg_parameter_status ($connection = null, $param_name) {}
* <b>PGSQL_TRANSACTION_UNKNOWN</b> is reported if the connection is bad.
* <b>PGSQL_TRANSACTION_ACTIVE</b> is reported only when a query
* has been sent to the server and not yet completed.
* @since 5.1.0
* @since 5.1
*/
function pg_transaction_status ($connection) {}
@ -326,7 +326,7 @@ function pg_transaction_status ($connection) {}
* be properly escaped.
* </p>
* @return resource|false A query result resource on success or <b>FALSE</b> on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_query ($connection = null, $query) {}
@ -364,13 +364,13 @@ function pg_query ($connection = null, $query) {}
* large object functions.
* </p>
* @return resource|false A query result resource on success or <b>FALSE</b> on failure.
* @since 5.1.0
* @since 5.1
*/
function pg_query_params ($connection = null, $query, array $params) {}
/**
* Submits a request to create a prepared statement with the
* @since 5.1.0
* @since 5.1
given parameters, and waits for completion.
* @link https://php.net/manual/en/function.pg-prepare.php
* @param resource $connection [optional] <p>
@ -418,7 +418,7 @@ function pg_prepare ($connection = null, $stmtname, $query) {}
* Elements are converted to strings by calling this function.
* </p>
* @return resource|false A query result resource on success or <b>FALSE</b> on failure.
* @since 5.1.0
* @since 5.1
*/
function pg_execute ($connection = null, $stmtname, array $params) {}
@ -437,7 +437,7 @@ function pg_execute ($connection = null, $stmtname, array $params) {}
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.</p>
* <p>
* Use <b>pg_get_result</b> to determine the query result.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_send_query ($connection, $query) {}
@ -461,7 +461,7 @@ function pg_send_query ($connection, $query) {}
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.</p>
* <p>
* Use <b>pg_get_result</b> to determine the query result.
* @since 5.1.0
* @since 5.1
*/
function pg_send_query_params ($connection, $query, array $params) {}
@ -486,7 +486,7 @@ function pg_send_query_params ($connection, $query, array $params) {}
* </p>
* @return bool <b>TRUE</b> on success, <b>FALSE</b> on failure. Use <b>pg_get_result</b>
* to determine the query result.
* @since 5.1.0
* @since 5.1
*/
function pg_send_prepare ($connection, $stmtname, $query) {}
@ -513,7 +513,7 @@ function pg_send_prepare ($connection, $stmtname, $query) {}
* </p>
* @return bool <b>TRUE</b> on success, <b>FALSE</b> on failure. Use <b>pg_get_result</b>
* to determine the query result.
* @since 5.1.0
* @since 5.1
*/
function pg_send_execute ($connection, $stmtname, array $params) {}
@ -524,7 +524,7 @@ function pg_send_execute ($connection, $stmtname, array $params) {}
* PostgreSQL database connection resource.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_cancel_query ($connection) {}
@ -555,7 +555,7 @@ function pg_cancel_query ($connection) {}
* <p>
* <b>FALSE</b> is returned if <i>row</i> exceeds the number
* of rows in the set, or on any other error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_fetch_result ($result, $row = null, $field) {}
@ -605,7 +605,7 @@ function pg_fetch_row ($result, $row = null, $result_type = null) {}
* <p>
* <b>FALSE</b> is returned if <i>row</i> exceeds the number
* of rows in the set, there are no more rows, or on any other error.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function pg_fetch_assoc ($result, $row = null) {}
@ -701,7 +701,7 @@ function pg_fetch_object ($result, $row = null, $result_type = PGSQL_ASSOC) {}
* <p>
* <b>FALSE</b> is returned if there are no rows in the result, or on any
* other error.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function pg_fetch_all ($result, $result_type = PGSQL_ASSOC) {}
@ -723,7 +723,7 @@ function pg_fetch_all ($result, $result_type = PGSQL_ASSOC) {}
* <p>
* <b>FALSE</b> is returned if <i>column</i> is larger than the number
* of columns in the result, or on any other error.
* @since 5.1.0
* @since 5.1
*/
function pg_fetch_all_columns ($result, $column = 0) {}
@ -737,7 +737,7 @@ function pg_fetch_all_columns ($result, $column = 0) {}
* </p>
* @return int The number of rows affected by the query. If no tuple is
* affected, it will return 0.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_affected_rows ($result) {}
@ -749,7 +749,7 @@ function pg_affected_rows ($result) {}
* PostgreSQL database connection resource.
* </p>
* @return resource|false The result resource, or <b>FALSE</b> if no more results are available.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_get_result ($connection = null) {}
@ -767,7 +767,7 @@ function pg_get_result ($connection = null) {}
* Rows are numbered starting from zero.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function pg_result_seek ($result, $offset) {}
@ -791,7 +791,7 @@ function pg_result_seek ($result, $offset) {}
* <b>PGSQL_COPY_IN</b>, <b>PGSQL_BAD_RESPONSE</b>, <b>PGSQL_NONFATAL_ERROR</b> and
* <b>PGSQL_FATAL_ERROR</b> if <b>PGSQL_STATUS_LONG</b> is
* specified. Otherwise, a string containing the PostgreSQL command tag is returned.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_result_status ($result, $type = PGSQL_STATUS_LONG) {}
@ -805,7 +805,7 @@ function pg_result_status ($result, $type = PGSQL_STATUS_LONG) {}
* (among others).
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_free_result ($result) {}
@ -821,7 +821,7 @@ function pg_free_result ($result) {}
* @return string A string containing the OID assigned to the most recently inserted
* row in the specified <i>connection</i>, or <b>FALSE</b> on error or
* no available OID.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_last_oid ($result) {}
@ -835,7 +835,7 @@ function pg_last_oid ($result) {}
* (among others).
* </p>
* @return int The number of rows in the result. On error, -1 is returned.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_num_rows ($result) {}
@ -849,7 +849,7 @@ function pg_num_rows ($result) {}
* (among others).
* </p>
* @return int The number of fields (columns) in the result. On error, -1 is returned.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_num_fields ($result) {}
@ -866,7 +866,7 @@ function pg_num_fields ($result) {}
* Field number, starting from 0.
* </p>
* @return string|false The field name, or <b>FALSE</b> on error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_field_name ($result, $field_number) {}
@ -883,7 +883,7 @@ function pg_field_name ($result, $field_number) {}
* The name of the field.
* </p>
* @return int The field number (numbered from 0), or -1 on error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_field_num ($result, $field_name) {}
@ -901,7 +901,7 @@ function pg_field_num ($result, $field_name) {}
* </p>
* @return int The internal field storage size (in bytes). -1 indicates a variable
* length field. <b>FALSE</b> is returned on error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_field_size ($result, $field_number) {}
@ -919,7 +919,7 @@ function pg_field_size ($result, $field_number) {}
* </p>
* @return string|false A string containing the base name of the field's type, or <b>FALSE</b>
* on error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_field_type ($result, $field_number) {}
@ -936,7 +936,7 @@ function pg_field_type ($result, $field_number) {}
* Field number, starting from 0.
* </p>
* @return int|false The OID of the field's base type. <b>FALSE</b> is returned on error.
* @since 5.1.0
* @since 5.1
*/
function pg_field_type_oid ($result, $field_number) {}
@ -951,7 +951,7 @@ function pg_field_type_oid ($result, $field_number) {}
* @param int $row_number
* @param mixed $field_name_or_number
* @return int|false The field printed length, or <b>FALSE</b> on error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_field_prtlen ($result, $row_number, $field_name_or_number) {}
@ -974,7 +974,7 @@ function pg_field_prtlen ($result, $row_number, $field_name_or_number) {}
* </p>
* @return int 1 if the field in the given row is SQL NULL, 0
* if not. <b>FALSE</b> is returned if the row is out of range, or upon any other error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_field_is_null ($result, $row, $field) {}
@ -996,7 +996,7 @@ function pg_field_is_null ($result, $row, $field) {}
* oid will instead be returned.
* </p>
* @return mixed On success either the fields table name or oid. Or, <b>FALSE</b> on failure.
* @since 5.2.0
* @since 5.2
*/
function pg_field_table ($result, $field_number, $oid_only = false) {}
@ -1020,7 +1020,7 @@ function pg_field_table ($result, $field_number, $oid_only = false) {}
* </p>
* @return array|false An array containing the NOTIFY message name and backend PID.
* Otherwise if no NOTIFY is waiting, then <b>FALSE</b> is returned.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function pg_get_notify ($connection, $result_type = null) {}
@ -1032,7 +1032,7 @@ function pg_get_notify ($connection, $result_type = null) {}
* PostgreSQL database connection resource.
* </p>
* @return int The backend database process ID.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function pg_get_pid ($connection) {}
@ -1047,7 +1047,7 @@ function pg_get_pid ($connection) {}
* </p>
* @return string a string if there is an error associated with the
* <i>result</i> parameter, <b>FALSE</b> otherwise.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_result_error ($result) {}
@ -1072,7 +1072,7 @@ function pg_result_error ($result) {}
* </p>
* @return string|null|false A string containing the contents of the error field, <b>NULL</b> if the field does not exist or <b>FALSE</b>
* on failure.
* @since 5.1.0
* @since 5.1
*/
function pg_result_error_field ($result, $fieldcode) {}
@ -1087,7 +1087,7 @@ function pg_result_error_field ($result, $fieldcode) {}
* </p>
* @return string A string containing the last error message on the
* given <i>connection</i>, or <b>FALSE</b> on error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_last_error ($connection = null) {}
@ -1159,7 +1159,7 @@ function pg_end_copy ($connection = null) {}
* </p>
* @return array|false An array with one element for each line of COPY data.
* It returns <b>FALSE</b> on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_copy_to ($connection, $table_name, $delimiter = null, $null_as = null) {}
@ -1188,7 +1188,7 @@ function pg_copy_to ($connection, $table_name, $delimiter = null, $null_as = nul
* <i>rows</i>. Default is \N ("\\N").
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_copy_from ($connection, $table_name, array $rows, $delimiter = null, $null_as = null) {}
@ -1248,7 +1248,7 @@ function pg_untrace ($connection = null) {}
* appeared in PostgreSQL 8.1.
* </p>
* @return int|false A large object OID or <b>FALSE</b> on error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_lo_create ($connection = null, $object_id = null) {}
@ -1266,7 +1266,7 @@ function pg_lo_create ($connection = null, $object_id = null) {}
* The OID of the large object in the database.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_lo_unlink ($connection, $oid) {}
@ -1288,7 +1288,7 @@ function pg_lo_unlink ($connection, $oid) {}
* write.
* </p>
* @return resource|false A large object resource or <b>FALSE</b> on error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_lo_open ($connection, $oid, $mode) {}
@ -1298,7 +1298,7 @@ function pg_lo_open ($connection, $oid, $mode) {}
* @link https://php.net/manual/en/function.pg-lo-close.php
* @param resource $large_object
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_lo_close ($large_object) {}
@ -1314,7 +1314,7 @@ function pg_lo_close ($large_object) {}
* </p>
* @return string A string containing <i>len</i> bytes from the
* large object, or <b>FALSE</b> on error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_lo_read ($large_object, $len = 8192) {}
@ -1336,7 +1336,7 @@ function pg_lo_read ($large_object, $len = 8192) {}
* the length of <i>data</i>.
* </p>
* @return int|false The number of bytes written to the large object, or <b>FALSE</b> on error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_lo_write ($large_object, $data, $len = null) {}
@ -1348,7 +1348,7 @@ function pg_lo_write ($large_object, $data, $len = null) {}
* PostgreSQL large object (LOB) resource, returned by <b>pg_lo_open</b>.
* </p>
* @return int|false Number of bytes read or <b>FALSE</b> on error.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_lo_read_all ($large_object) {}
@ -1375,7 +1375,7 @@ function pg_lo_read_all ($large_object) {}
* </p>
* @return int The OID of the newly created large object, or
* <b>FALSE</b> on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_lo_import ($connection = null, $pathname, $object_id = null) {}
@ -1397,7 +1397,7 @@ function pg_lo_import ($connection = null, $pathname, $object_id = null) {}
* large object on the client filesystem.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_lo_export ($connection = null, $oid, $pathname) {}
@ -1417,7 +1417,7 @@ function pg_lo_export ($connection = null, $oid, $pathname) {}
* or <b>PGSQL_SEEK_END</b> (seek from object end) .
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_lo_seek ($large_object, $offset, $whence = PGSQL_SEEK_CUR) {}
@ -1430,7 +1430,7 @@ function pg_lo_seek ($large_object, $offset, $whence = PGSQL_SEEK_CUR) {}
* </p>
* @return int The current seek offset (in number of bytes) from the beginning of the large
* object. If there is an error, the return value is negative.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_lo_tell ($large_object) {}
@ -1448,7 +1448,7 @@ function pg_lo_tell ($large_object) {}
* A string containing text to be escaped.
* </p>
* @return string A string containing the escaped data.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_escape_string ($connection = null, $data) {}
@ -1467,7 +1467,7 @@ function pg_escape_string ($connection = null, $data) {}
* column.
* </p>
* @return string A string containing the escaped data.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function pg_escape_bytea ($connection = null, $data) {}
@ -1514,14 +1514,14 @@ function pg_escape_literal ($connection = null, $data) {}
* a PHP binary string.
* </p>
* @return string A string containing the unescaped data.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function pg_unescape_bytea ($data) {}
/**
* Determines the verbosity of messages returned by <b>pg_last_error</b>
* @since 5.1.0
* @since 5.1
and <b>pg_result_error</b>.
* @link https://php.net/manual/en/function.pg-set-error-verbosity.php
* @param resource $connection [optional] <p>
@ -1592,7 +1592,7 @@ function pg_set_client_encoding ($connection = null, $encoding) {}
* The name of the table.
* </p>
* @return array An array of the table definition, or <b>FALSE</b> on error.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function pg_meta_data ($connection, $table_name) {}
@ -1615,7 +1615,7 @@ function pg_meta_data ($connection, $table_name) {}
* <b>PGSQL_CONV_IGNORE_NOT_NULL</b>, combined.
* </p>
* @return array An array of converted values, or <b>FALSE</b> on error.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function pg_convert ($connection, $table_name, array $assoc_array, $options = 0) {}
@ -1644,7 +1644,7 @@ function pg_convert ($connection, $table_name, array $assoc_array, $options = 0)
* </p>
* @return mixed <b>TRUE</b> on success or <b>FALSE</b> on failure. Returns string if <b>PGSQL_DML_STRING</b> is passed
* via <i>options</i>.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function pg_insert ($connection, $table_name, array $assoc_array, $options = PGSQL_DML_EXEC) {}
@ -1675,7 +1675,7 @@ function pg_insert ($connection, $table_name, array $assoc_array, $options = PGS
* </p>
* @return mixed <b>TRUE</b> on success or <b>FALSE</b> on failure. Returns string if <b>PGSQL_DML_STRING</b> is passed
* via <i>options</i>.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function pg_update ($connection, $table_name, array $data, array $condition, $options = PGSQL_DML_EXEC) {}
@ -1702,7 +1702,7 @@ function pg_update ($connection, $table_name, array $data, array $condition, $op
* </p>
* @return mixed <b>TRUE</b> on success or <b>FALSE</b> on failure. Returns string if <b>PGSQL_DML_STRING</b> is passed
* via <i>options</i>.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function pg_delete ($connection, $table_name, array $assoc_array, $options = PGSQL_DML_EXEC) {}
@ -1742,7 +1742,7 @@ function pg_delete ($connection, $table_name, array $assoc_array, $options = PGS
* </p>
* @return mixed <b>TRUE</b> on success or <b>FALSE</b> on failure. Returns string if <b>PGSQL_DML_STRING</b> is passed
* via <i>options</i>.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function pg_select ($connection, $table_name, array $assoc_array, $options = PGSQL_DML_EXEC, $result_type = PGSQL_ASSOC) {}

View File

@ -341,7 +341,7 @@ function posix_mkfifo ($pathname, $mode) {}
* The minor device kernel identifier.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.1.0
* @since 5.1
*/
function posix_mknod ($pathname, $mode, $major = 0, $minor = 0) {}
@ -364,7 +364,7 @@ function posix_mknod ($pathname, $mode, $major = 0, $minor = 0) {}
* existence of the file.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.1.0
* @since 5.1
*/
function posix_access ($file, $mode = POSIX_F_OK) {}
@ -712,7 +712,7 @@ function posix_getrlimit () {}
* @link https://php.net/manual/en/function.posix-get-last-error.php
* @return int the errno (error number) set by the last posix function that
* failed. If no errors exist, 0 is returned.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function posix_get_last_error () {}
@ -720,7 +720,7 @@ function posix_get_last_error () {}
/**
* Alias of <b>posix_get_last_error</b>
* @link https://php.net/manual/en/function.posix-errno.php
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function posix_errno () {}
@ -734,7 +734,7 @@ function posix_errno () {}
* string "Success" is returned.
* </p>
* @return string the error message, as a string.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function posix_strerror ($errno) {}
@ -749,7 +749,7 @@ function posix_strerror ($errno) {}
* Typically the group number from the password file.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.2.0
* @since 5.2
*/
function posix_initgroups ($name, $base_group_id) {}

View File

@ -116,7 +116,7 @@ function readline_completion_function (callable $function) {}
* user input returned.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.1.0
* @since 5.1
*/
function readline_callback_handler_install ($prompt, callable $callback) {}
@ -124,7 +124,7 @@ function readline_callback_handler_install ($prompt, callable $callback) {}
* Reads a character and informs the readline callback interface when a line is received
* @link https://php.net/manual/en/function.readline-callback-read-char.php
* @return void No value is returned.
* @since 5.1.0
* @since 5.1
*/
function readline_callback_read_char () {}
@ -133,7 +133,7 @@ function readline_callback_read_char () {}
* @link https://php.net/manual/en/function.readline-callback-handler-remove.php
* @return bool <b>TRUE</b> if a previously installed callback handler was removed, or
* <b>FALSE</b> if one could not be found.
* @since 5.1.0
* @since 5.1
*/
function readline_callback_handler_remove () {}
@ -141,7 +141,7 @@ function readline_callback_handler_remove () {}
* Redraws the display
* @link https://php.net/manual/en/function.readline-redisplay.php
* @return void No value is returned.
* @since 5.1.0
* @since 5.1
*/
function readline_redisplay () {}
@ -149,7 +149,7 @@ function readline_redisplay () {}
* Inform readline that the cursor has moved to a new line
* @link https://php.net/manual/en/function.readline-on-new-line.php
* @return void No value is returned.
* @since 5.1.0
* @since 5.1
*/
function readline_on_new_line () {}

View File

@ -6,7 +6,7 @@
* session_set_save_handler() using its OOP invocation,
* the class must implement this interface.
* @link https://php.net/manual/en/class.sessionhandlerinterface.php
* @since 5.4.0
* @since 5.4
*/
interface SessionHandlerInterface {
@ -17,7 +17,7 @@ interface SessionHandlerInterface {
* The return value (usually TRUE on success, FALSE on failure).
* Note this value is returned internally to PHP for processing.
* </p>
* @since 5.4.0
* @since 5.4
*/
public function close();
@ -29,7 +29,7 @@ interface SessionHandlerInterface {
* The return value (usually TRUE on success, FALSE on failure).
* Note this value is returned internally to PHP for processing.
* </p>
* @since 5.4.0
* @since 5.4
*/
public function destroy($session_id);
@ -44,7 +44,7 @@ interface SessionHandlerInterface {
* The return value (usually TRUE on success, FALSE on failure).
* Note this value is returned internally to PHP for processing.
* </p>
* @since 5.4.0
* @since 5.4
*/
public function gc($maxlifetime);
@ -57,7 +57,7 @@ interface SessionHandlerInterface {
* The return value (usually TRUE on success, FALSE on failure).
* Note this value is returned internally to PHP for processing.
* </p>
* @since 5.4.0
* @since 5.4
*/
public function open($save_path, $name);
@ -71,7 +71,7 @@ interface SessionHandlerInterface {
* If nothing was read, it must return an empty string.
* Note this value is returned internally to PHP for processing.
* </p>
* @since 5.4.0
* @since 5.4
*/
public function read($session_id);
@ -90,7 +90,7 @@ interface SessionHandlerInterface {
* The return value (usually TRUE on success, FALSE on failure).
* Note this value is returned internally to PHP for processing.
* </p>
* @since 5.4.0
* @since 5.4
*/
public function write($session_id, $session_data);
}
@ -114,7 +114,7 @@ interface SessionIdInterface {
* defines a prototype for updating the life time of an existing session.
* In order to use the lazy_write option must be enabled and a custom session
* handler must implement this interface.
* @since 7.0.0
* @since 7.0
*/
interface SessionUpdateTimestampHandlerInterface {
@ -156,7 +156,7 @@ interface SessionUpdateTimestampHandlerInterface {
* PHP extensions such as SQLite (as sqlite),
* Memcache (as memcache), and Memcached (as memcached).
* @link https://php.net/manual/en/class.reflectionzendextension.php
* @since 5.4.0
* @since 5.4
*/
class SessionHandler implements SessionHandlerInterface, SessionIdInterface
{
@ -168,7 +168,7 @@ class SessionHandler implements SessionHandlerInterface, SessionIdInterface
* The return value (usually TRUE on success, FALSE on failure).
* Note this value is returned internally to PHP for processing.
* </p>
* @since 5.4.0
* @since 5.4
*/
public function close() { }
@ -188,7 +188,7 @@ class SessionHandler implements SessionHandlerInterface, SessionIdInterface
* The return value (usually TRUE on success, FALSE on failure).
* Note this value is returned internally to PHP for processing.
* </p>
* @since 5.4.0
* @since 5.4
*/
public function destroy($session_id) { }
@ -203,7 +203,7 @@ class SessionHandler implements SessionHandlerInterface, SessionIdInterface
* The return value (usually TRUE on success, FALSE on failure).
* Note this value is returned internally to PHP for processing.
* </p>
* @since 5.4.0
* @since 5.4
*/
public function gc($maxlifetime) { }
@ -216,7 +216,7 @@ class SessionHandler implements SessionHandlerInterface, SessionIdInterface
* The return value (usually TRUE on success, FALSE on failure).
* Note this value is returned internally to PHP for processing.
* </p>
* @since 5.4.0
* @since 5.4
*/
public function open($save_path, $session_name) { }
@ -230,7 +230,7 @@ class SessionHandler implements SessionHandlerInterface, SessionIdInterface
* If nothing was read, it must return an empty string.
* Note this value is returned internally to PHP for processing.
* </p>
* @since 5.4.0
* @since 5.4
*/
public function read($session_id) { }
@ -249,7 +249,7 @@ class SessionHandler implements SessionHandlerInterface, SessionIdInterface
* The return value (usually TRUE on success, FALSE on failure).
* Note this value is returned internally to PHP for processing.
* </p>
* @since 5.4.0
* @since 5.4
*/
public function write($session_id, $session_data) { }

View File

@ -355,7 +355,7 @@ function session_cache_limiter ($cache_limiter = null) {}
* </p>
* @return int the current setting of session.cache_expire.
* The value returned should be read in minutes, defaults to 180.
* @since 4.2.0
* @since 4.2
* @since 5.0
* @since 7.0
*/
@ -426,7 +426,7 @@ function session_write_close () {}
* Alias of <b>session_write_close</b>
* @link https://php.net/manual/en/function.session-commit.php
* @return void|bool since 7.2.0 returns true on success or false on failure.
* @since 4.4.0
* @since 4.4
* @since 5.0
*/
function session_commit () {}

View File

@ -114,7 +114,7 @@ class SNMP {
* @param $community string <p>The purpuse of <i>community</i> is
* <acronym title="Simple Network Management Protocol">SNMP</acronym> version specific:</p>
* <table>
* @since 5.4.0
* @since 5.4
*
* <tbody>
* <tr><td>SNMP::VERSION_1</td><td><acronym title="Simple Network Management Protocol">SNMP</acronym> community</td></tr>
@ -132,7 +132,7 @@ class SNMP {
* Close SNMP session
* @link https://php.net/manual/en/snmp.close.php
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.4.0
* @since 5.4
*/
public function close () {}
@ -147,7 +147,7 @@ class SNMP {
* @param $contextName string [optional] the context name
* @param $contextEngineID string [optional] the context EngineID
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.4.0
* @since 5.4
*/
public function setSecurity ($sec_level, $auth_protocol, $auth_passphrase, $priv_protocol, $priv_passphrase, $contextName, $contextEngineID) {}
@ -158,7 +158,7 @@ class SNMP {
* @param $preserve_keys bool [optional] When object_id is a array and preserve_keys set to <b>TRUE</b> keys in results will be taken exactly as in object_id, otherwise SNMP::oid_output_format property is used to determinate the form of keys.
* @return mixed SNMP objects requested as string or array
* depending on <i>object_id</i> type or <b>FALSE</b> on error.
* @since 5.4.0
* @since 5.4
*/
public function get ($object_id, $preserve_keys = FALSE) {}
@ -171,7 +171,7 @@ class SNMP {
* </p>
* @return mixed SNMP objects requested as string or array
* depending on <i>object_id</i> type or <b>FALSE</b> on error.
* @since 5.4.0
* @since 5.4
*/
public function getnext ($object_id) {}
@ -187,7 +187,7 @@ class SNMP {
* <b>SNMP::getError</b> can be used for retrieving error
* number (specific to SNMP extension, see class constants) and error message
* respectively.
* @since 5.4.0
* @since 5.4
*/
public function walk ($object_id, $suffix_as_keys = FALSE, $max_repetitions, $non_repeaters) {}
@ -195,7 +195,7 @@ class SNMP {
* Set the value of an SNMP object
* @link https://php.net/manual/en/snmp.set.php
* @param $object_id string <p>The SNMP object id</p>
* @since 5.4.0
* @since 5.4
*
* <p>When count of OIDs in object_id array is greater than
* max_oids object property set method will have to use multiple queries
@ -268,7 +268,7 @@ class SNMP {
* Get last error code
* @link https://php.net/manual/en/snmp.geterrno.php
* @return int one of SNMP error code values described in constants chapter.
* @since 5.4.0
* @since 5.4
*/
public function getErrno () {}
@ -276,7 +276,7 @@ class SNMP {
* Get last error message
* @link https://php.net/manual/en/snmp.geterror.php
* @return string String describing error from last SNMP request.
* @since 5.4.0
* @since 5.4
*/
public function getError () {}
@ -507,7 +507,7 @@ function snmp_set_quick_print ($quick_print) {}
* As the value is interpreted as boolean by the Net-SNMP library, it can only be "0" or "1".
* </p>
* @return bool
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function snmp_set_enum_print ($enum_print) {}
@ -529,7 +529,7 @@ function snmp_set_enum_print ($enum_print) {}
* </table>
* </p>
* @return bool No value is returned.
* @since 5.2.0
* @since 5.2
*/
function snmp_set_oid_output_format ($oid_format = SNMP_OID_OUTPUT_MODULE) {}
@ -538,7 +538,7 @@ function snmp_set_oid_output_format ($oid_format = SNMP_OID_OUTPUT_MODULE) {}
* @link https://php.net/manual/en/function.snmp-set-oid-numeric-print.php
* @param int $oid_format
* @return void
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function snmp_set_oid_numeric_print ($oid_format) {}
@ -562,7 +562,7 @@ function snmp_set_oid_numeric_print ($oid_format) {}
* The number of times to retry if timeouts occur.
* </p>
* @return string|false SNMP object value on success or <b>FALSE</b> on error.
* @since 5.2.0
* @since 5.2
*/
function snmp2_get ($host, $community, $object_id, $timeout = 1000000, $retries = 5) {}
@ -586,7 +586,7 @@ function snmp2_get ($host, $community, $object_id, $timeout = 1000000, $retries
* </p>
* @return string|false SNMP object value on success or <b>FALSE</b> on error.
* In case of an error, an E_WARNING message is shown.
* @since 5.2.0
* @since 5.2
*/
function snmp2_getnext ($host, $community, $object_id, $timeout = 1000000, $retries = 5) {}
@ -616,7 +616,7 @@ function snmp2_getnext ($host, $community, $object_id, $timeout = 1000000, $retr
* </p>
* @return array an array of SNMP object values starting from the
* <i>object_id</i> as root or <b>FALSE</b> on error.
* @since 5.2.0
* @since 5.2
*/
function snmp2_walk ($host, $community, $object_id, $timeout = 1000000, $retries = 5) {}
@ -640,7 +640,7 @@ function snmp2_walk ($host, $community, $object_id, $timeout = 1000000, $retries
* </p>
* @return array|false an associative array of the SNMP object ids and their values on success or <b>FALSE</b> on error.
* In case of an error, an E_WARNING message is shown.
* @since 5.2.0
* @since 5.2
*/
function snmp2_real_walk ($host, $community, $object_id, $timeout = 1000000, $retries = 5) {}
@ -706,7 +706,7 @@ function snmp2_real_walk ($host, $community, $object_id, $timeout = 1000000, $re
* <p>
* If the SNMP host rejects the data type, an E_WARNING message like "Warning: Error in packet. Reason: (badValue) The value given has the wrong type or length." is shown.
* If an unknown or invalid OID is specified the warning probably reads "Could not add variable".
* @since 5.2.0
* @since 5.2
*/
function snmp2_set ($host, $community, $object_id, $type, $value, $timeout = 1000000, $retries = 5) {}
@ -1010,37 +1010,37 @@ function snmp_read_mib ($filename) {}
/**
* As of 5.4.0
* As of 5.4
* @link https://php.net/manual/en/snmp.constants.php
*/
define ('SNMP_OID_OUTPUT_SUFFIX', 1);
/**
* As of 5.4.0
* As of 5.4
* @link https://php.net/manual/en/snmp.constants.php
*/
define ('SNMP_OID_OUTPUT_MODULE', 2);
/**
* As of 5.2.0
* As of 5.2
* @link https://php.net/manual/en/snmp.constants.php
*/
define ('SNMP_OID_OUTPUT_FULL', 3);
/**
* As of 5.2.0
* As of 5.2
* @link https://php.net/manual/en/snmp.constants.php
*/
define ('SNMP_OID_OUTPUT_NUMERIC', 4);
/**
* As of 5.4.0
* As of 5.4
* @link https://php.net/manual/en/snmp.constants.php
*/
define ('SNMP_OID_OUTPUT_UCD', 5);
/**
* As of 5.4.0
* As of 5.4
* @link https://php.net/manual/en/snmp.constants.php
*/
define ('SNMP_OID_OUTPUT_NONE', 6);

View File

@ -556,7 +556,7 @@ class SoapServer {
* The object to handle the requests.
* </p>
* @return void No value is returned.
* @since 5.2.0
* @since 5.2
*/
public function setObject ($object) {}
@ -860,25 +860,25 @@ define ('WSDL_CACHE_BOTH', 3);
/**
* @link https://php.net/manual/en/soap.constants.php
* @since 5.5.0
* @since 5.5
*/
define ('SOAP_SSL_METHOD_TLS', 0);
/**
* @link https://php.net/manual/en/soap.constants.php
* @since 5.5.0
* @since 5.5
*/
define ('SOAP_SSL_METHOD_SSLv2', 1);
/**
* @link https://php.net/manual/en/soap.constants.php
* @since 5.5.0
* @since 5.5
*/
define ('SOAP_SSL_METHOD_SSLv3', 2);
/**
* @link https://php.net/manual/en/soap.constants.php
* @since 5.5.0
* @since 5.5
*/
define ('SOAP_SSL_METHOD_SSLv23', 3);

View File

@ -16,7 +16,7 @@
* Hints provide criteria for selecting addresses returned. You may specify the hints as defined by getadrinfo.
* </p>
* @return array of AddrInfo resource handles that can be used with the other socket_addrinfo functions.
* @since 7.2.0
* @since 7.2
*/
function socket_addrinfo_lookup($host, $service, $hints) {}
@ -29,6 +29,7 @@ function socket_addrinfo_lookup($host, $service, $hints) {}
* Resource created from {@see socket_addrinfo_lookup()}
* </p>
* @return resource Socket resource on success or NULL on failure.
* @since 7.2
*/
function socket_addrinfo_connect($addr) {}
@ -41,6 +42,7 @@ function socket_addrinfo_connect($addr) {}
* Resource created from {@see socket_addrinfo_lookup()}
* </p>
* @return resource Socket resource on success or NULL on failure.
* @since 7.2
*/
function socket_addrinfo_bind($addr) {}
@ -52,6 +54,7 @@ function socket_addrinfo_bind($addr) {}
* Resource created from {@see socket_addrinfo_lookup()}
* </p>
* @return array containing the fields in the addrinfo structure.
* @since 7.2
*/
function socket_addrinfo_explain($addr) {}
@ -102,7 +105,7 @@ function socket_addrinfo_explain($addr) {}
* socket_strerror(socket_last_error()) . "\n";
* }
* </code>
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_select (array &$read, array &$write, array &$except, $tv_sec, $tv_usec = 0) {}
@ -242,7 +245,7 @@ function socket_select (array &$read, array &$write, array &$except, $tv_sec, $t
* <b>socket_last_error</b>. This error code may be passed to
* <b>socket_strerror</b> to get a textual explanation of the
* error.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_create ($domain, $type, $protocol) {}
@ -271,7 +274,7 @@ function socket_export_stream($socket) {}
* <b>socket_last_error</b>. This code may be passed to
* <b>socket_strerror</b> to get a textual explanation of the
* error.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_create_listen ($port, $backlog = 128) {}
@ -306,7 +309,7 @@ function socket_create_listen ($port, $backlog = 128) {}
* 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.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_create_pair ($domain, $type, $protocol, array &$fd) {}
@ -322,7 +325,7 @@ function socket_create_pair ($domain, $type, $protocol, array &$fd) {}
* <b>socket_last_error</b>. This error code may be passed to
* <b>socket_strerror</b> to get a textual explanation of the
* error.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_accept ($socket) {}
@ -335,7 +338,7 @@ function socket_accept ($socket) {}
* or <b>socket_accept</b>.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_set_nonblock ($socket) {}
@ -348,7 +351,7 @@ function socket_set_nonblock ($socket) {}
* or <b>socket_accept</b>.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function socket_set_block ($socket) {}
@ -379,7 +382,7 @@ function socket_set_block ($socket) {}
* <b>socket_last_error</b>. This code may be passed to
* <b>socket_strerror</b> to get a textual explanation of the
* error.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_listen ($socket, $backlog = 0) {}
@ -392,7 +395,7 @@ function socket_listen ($socket, $backlog = 0) {}
* or <b>socket_accept</b>.
* </p>
* @return void No value is returned.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_close ($socket) {}
@ -421,7 +424,7 @@ function socket_close ($socket) {}
* return zero which means no bytes have been written. Be sure to use the
* === operator to check for <b>FALSE</b> in case of an
* error.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_write ($socket, $buffer, $length = 0) {}
@ -454,7 +457,7 @@ function socket_write ($socket, $buffer, $length = 0) {}
* <p>
* <b>socket_read</b> returns a zero length string ("")
* when there is no more data to read.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_read ($socket, $length, $type = PHP_BINARY_READ) {}
@ -487,7 +490,7 @@ function socket_read ($socket, $length, $type = PHP_BINARY_READ) {}
* <b>FALSE</b> if the socket type is not any of <b>AF_INET</b>,
* <b>AF_INET6</b>, or <b>AF_UNIX</b>, in which
* case the last socket error code is not updated.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_getsockname ($socket, &$addr, &$port = null) {}
@ -522,7 +525,7 @@ function socket_getsockname ($socket, &$addr, &$port = null) {}
* <b>FALSE</b> if the socket type is not any of <b>AF_INET</b>,
* <b>AF_INET6</b>, or <b>AF_UNIX</b>, in which
* case the last socket error code is not updated.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_getpeername ($socket, &$address, &$port = null) {}
@ -554,7 +557,7 @@ function socket_getpeername ($socket, &$address, &$port = null) {}
* <p>
* If the socket is non-blocking then this function returns <b>FALSE</b> with an
* error Operation now in progress.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_connect ($socket, $address, $port = 0) {}
@ -568,7 +571,7 @@ function socket_connect ($socket, $address, $port = 0) {}
* </p>
* @return string the error message associated with the <i>errno</i>
* parameter.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_strerror ($errno) {}
@ -600,7 +603,7 @@ function socket_strerror ($errno) {}
* The error code can be retrieved with <b>socket_last_error</b>.
* This code may be passed to <b>socket_strerror</b> to get a
* textual explanation of the error.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_bind ($socket, $address, $port = 0) {}
@ -666,7 +669,7 @@ function socket_bind ($socket, $address, $port = 0) {}
* calling <b>socket_last_error</b>. This error code may be
* passed to <b>socket_strerror</b> to get a textual explanation
* of the error.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_recv ($socket, &$buf, $len, $flags) {}
@ -720,7 +723,7 @@ function socket_recv ($socket, &$buf, $len, $flags) {}
* </table>
* </p>
* @return int|false <b>socket_send</b> returns the number of bytes sent, or <b>FALSE</b> on error.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_send ($socket, $buf, $len, $flags) {}
@ -733,7 +736,7 @@ function socket_send ($socket, $buf, $len, $flags) {}
* @param array $message
* @param int $flags
* @return int|false
* @since 5.5.0
* @since 5.5
*/
function socket_sendmsg ($socket, array $message, $flags ) {}
@ -808,7 +811,7 @@ function socket_sendmsg ($socket, array $message, $flags ) {}
* calling <b>socket_last_error</b>. This error code may be
* passed to <b>socket_strerror</b> to get a textual explanation
* of the error.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_recvfrom ($socket, &$buf, $len, $flags, &$name, &$port = null) {}
@ -820,7 +823,7 @@ function socket_recvfrom ($socket, &$buf, $len, $flags, &$name, &$port = null) {
* @param string $message
* @param int $flags [optional]
* @return int|false
* @since 5.5.0
* @since 5.5
*/
function socket_recvmsg ($socket , $message, $flags) {}
@ -880,7 +883,7 @@ function socket_recvmsg ($socket , $message, $flags) {}
* </p>
* @return int|false <b>socket_sendto</b> returns the number of bytes sent to the
* remote host, or <b>FALSE</b> if an error occurred.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_sendto ($socket, $buf, $len, $flags, $addr, $port = 0) {}
@ -1248,7 +1251,7 @@ function socket_sendto ($socket, $buf, $len, $flags, $addr, $port = 0) {}
* </tr>
* </table>
* @return mixed|false the value of the given option, or <b>FALSE</b> on errors.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function socket_get_option ($socket, $level, $optname) {}
@ -1277,7 +1280,7 @@ function socket_get_option ($socket, $level, $optname) {}
* The option value.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function socket_set_option ($socket, $level, $optname, $optval) {}
@ -1313,7 +1316,7 @@ function socket_set_option ($socket, $level, $optname, $optval) {}
* </table>
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_shutdown ($socket, $how = 2) {}
@ -1325,7 +1328,7 @@ function socket_shutdown ($socket, $how = 2) {}
* A valid socket resource created with <b>socket_create</b>.
* </p>
* @return int This function returns a socket error code.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function socket_last_error ($socket = null) {}
@ -1337,7 +1340,7 @@ function socket_last_error ($socket = null) {}
* A valid socket resource created with <b>socket_create</b>.
* </p>
* @return void No value is returned.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function socket_clear_error ($socket = null) {}
@ -1349,7 +1352,7 @@ function socket_clear_error ($socket = null) {}
* The stream resource to import.
* </p>
* @return resource|false|null <b>FALSE</b> or <b>NULL</b> on failure.
* @since 5.4.0
* @since 5.4
*/
function socket_import_stream ($stream) {}
@ -1360,7 +1363,7 @@ function socket_import_stream ($stream) {}
* @param int $type
* @param int $n [optional]
* @return int
* @since 5.5.0
* @since 5.5
*/
function socket_cmsg_space ($level, $type, $n = 0) {}
@ -1454,20 +1457,20 @@ define ('PHP_NORMAL_READ', 1);
define ('PHP_BINARY_READ', 2);
/**
* Joins a multicast group.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.socket-get-option.php
*/
define('MCAST_JOIN_GROUP', 42);
/**
* Leaves a multicast group.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.socket-get-option.php
*/
define('MCAST_LEAVE_GROUP', 45);
/**
* Blocks packets arriving from a specific source to a specific multicast group,
* which must have been previously joined.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.socket-get-option.php
*/
define('MCAST_BLOCK_SOURCE', 43);
@ -1475,33 +1478,33 @@ define('MCAST_BLOCK_SOURCE', 43);
* Unblocks (start receiving again) packets arriving from
* a specific source address to a specific multicast group,
* which must have been previously joined.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.socket-get-option.php
*/
define('MCAST_UNBLOCK_SOURCE', 44);
/**
* Receive packets destined to a specific multicast group
* whose source address matches a specific value.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.socket-get-option.php
*/
define('MCAST_JOIN_SOURCE_GROUP', 46);
/**
* Stop receiving packets destined to a specific multicast group
* whose soure address matches a specific value.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.socket-get-option.php
*/
define('MCAST_LEAVE_SOURCE_GROUP', 47);
/**
* The outgoing interface for IPv4 multicast packets.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.socket-get-option.php
*/
define('IP_MULTICAST_IF', 32);
/**
* The outgoing interface for IPv6 multicast packets.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.socket-get-option.php
*/
define('IP_MULTICAST_TTL', 33);
@ -1510,13 +1513,13 @@ define('IP_MULTICAST_TTL', 33);
* which determines whether multicast packets sent by this socket
* also reach receivers in the same host that have joined the same multicast group
* on the outgoing interface used by this socket. This is the case by default.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.socket-get-option.php
*/
define('IP_MULTICAST_LOOP', 34);
/**
* Analogous to IP_MULTICAST_LOOP, but for IPv6.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.socket-get-option.php
*/
define('IPV6_MULTICAST_IF', 17);
@ -1524,14 +1527,14 @@ define('IPV6_MULTICAST_IF', 17);
* The time-to-live of outgoing IPv4 multicast packets.
* This should be a value between 0 (don't leave the interface) and 255.
* The default value is 1 (only the local network is reached).
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.socket-get-option.php
*/
define('IPV6_MULTICAST_HOPS', 18);
/**
* Analogous to IP_MULTICAST_TTL, but for IPv6 packets.
* The value -1 is also accepted, meaning the route default should be used.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.socket-get-option.php
*/
define('IPV6_MULTICAST_LOOP', 19);

View File

@ -1169,7 +1169,7 @@ function sodium_crypto_scalarmult_base(
* It is equivalent to calling random_bytes() but improves code clarity and can
* prevent misuse by ensuring that the provided key length is always be correct.
*
* @since 7.2.0
* @since 7.2
* @see https://secure.php.net/manual/en/function.sodium-crypto-secretbox-keygen.php
*/
function sodium_crypto_secretbox_keygen(): string {}
@ -1180,7 +1180,7 @@ function sodium_crypto_secretbox_keygen(): string {}
* It is equivalent to calling random_bytes() but improves code clarity and can
* prevent misuse by ensuring that the provided key length is always be correct.
*
* @since 7.2.0
* @since 7.2
* @see https://secure.php.net/manual/en/function.sodium-crypto-aead-aes256gcm-keygen.php
*/
function sodium_crypto_aead_aes256gcm_keygen(): string {}
@ -1190,7 +1190,7 @@ function sodium_crypto_aead_aes256gcm_keygen(): string {}
* It is equivalent to calling random_bytes() but improves code clarity and can
* prevent misuse by ensuring that the provided key length is always be correct.
*
* @since 7.2.0
* @since 7.2
* @see https://secure.php.net/manual/en/function.sodium-crypto-aead-chacha20poly1305-keygen.php
*/
function sodium_crypto_aead_chacha20poly1305_keygen(): string {}
@ -1201,43 +1201,43 @@ function sodium_crypto_aead_chacha20poly1305_keygen(): string {}
* It is equivalent to calling random_bytes() but improves code clarity and can
* prevent misuse by ensuring that the provided key length is always be correct.
*
* @since 7.2.0
* @since 7.2
* @see https://secure.php.net/manual/en/function.sodium-crypto-aead-chacha20poly1305-ietf-keygen.php
*/
function sodium_crypto_aead_chacha20poly1305_ietf_keygen(): string {}
/**
* @since 7.2.0
* @since 7.2
* @see https://www.php.net/manual/en/function.sodium-crypto-aead-xchacha20poly1305-ietf-decrypt.php
*/
function sodium_crypto_aead_xchacha20poly1305_ietf_decrypt(string $ciphertext,string $ad,string $nonce,string $key): string {}
/**
* @since 7.2.0
* @since 7.2
* https://www.php.net/manual/en/function.sodium-crypto-aead-xchacha20poly1305-ietf-encrypt.php
*/
function sodium_crypto_aead_xchacha20poly1305_ietf_encrypt(string $msg, string $ad, string $nonce, string $key): string{}
/**
* @since 7.2.0
* @since 7.2
* @see https://www.php.net/manual/en/function.sodium-crypto-aead-xchacha20poly1305-ietf-keygen.php
*/
function sodium_crypto_aead_xchacha20poly1305_ietf_keygen():string {}
/**
* @since 7.2.0
* @since 7.2
* @see https://www.php.net/manual/en/function.sodium-crypto-pwhash-str-needs-rehash.php
*/
function sodium_crypto_pwhash_str_needs_rehash(string $password, int $opslimit, int $memlimit): bool{}
/**
* @since 7.2.0
* @since 7.2
* @see https://www.php.net/manual/en/function.sodium-crypto-secretstream-xchacha20poly1305-keygen.php
*/
function sodium_crypto_secretstream_xchacha20poly1305_keygen(): string {}
/**
* @since 7.2.0
* @since 7.2
* @see https://www.php.net/manual/en/function.sodium-crypto-secretstream-xchacha20poly1305-init-push.php
*/
function sodium_crypto_secretstream_xchacha20poly1305_init_push(string $key): array{}
@ -1247,37 +1247,37 @@ function sodium_crypto_secretstream_xchacha20poly1305_init_push(string $key): ar
* @param string $msg
* @param string $ad [optional]
* @param int $tag [optional]
* @since 7.2.0
* @since 7.2
* @see https://www.php.net/manual/en/function.sodium-crypto-secretstream-xchacha20poly1305-push.php
*/
function sodium_crypto_secretstream_xchacha20poly1305_push(string &$state, string $msg, string $ad, int $tag): string{}
/**
* @since 7.2.0
* @since 7.2
* @see https://www.php.net/manual/en/function.sodium-crypto-secretstream-xchacha20poly1305-init-pull.php
*/
function sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key): string{}
/**
* @since 7.2.0
* @since 7.2
* @see https://www.php.net/manual/en/function.sodium-crypto-secretstream-xchacha20poly1305-pull.php
*/
function sodium_crypto_secretstream_xchacha20poly1305_pull(string &$state, string $c, string $ad = ''): array {}
/**
* @since 7.2.0
* @since 7.2
* @see https://www.php.net/manual/en/function.sodium-crypto-secretstream-xchacha20poly1305-rekey.php
*/
function sodium_crypto_secretstream_xchacha20poly1305_rekey(string &$state): void{}
/**
* @since 7.2.0
* @since 7.2
* @see https://www.php.net/manual/en/function.sodium-bin2base64.php
*/
function sodium_bin2base64(string $bin, int $id): string {}
/**
* @since 7.2.0
* @since 7.2
* @see https://www.php.net/manual/en/function.sodium-base642bin.php
*/
function sodium_base642bin(string $b64, int $id, string $ignore = ''){}

View File

@ -26,7 +26,7 @@ class SQLite3 {
* SQLite database.
* </p>
* @return void No value is returned.
* @since 5.3.0
* @since 5.3
*/
public function open ($filename, $flags = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE, $encryption_key = null) {}
@ -34,7 +34,7 @@ class SQLite3 {
* Closes the database connection
* @link https://php.net/manual/en/sqlite3.close.php
* @return bool <b>TRUE</b> on success, <b>FALSE</b> on failure.
* @since 5.3.0
* @since 5.3
*/
public function close () {}
@ -46,7 +46,7 @@ class SQLite3 {
* query).
* </p>
* @return bool <b>TRUE</b> if the query succeeded, <b>FALSE</b> on failure.
* @since 5.3.0
* @since 5.3
*/
public function exec ($query) {}
@ -55,7 +55,7 @@ class SQLite3 {
* @link https://php.net/manual/en/sqlite3.version.php
* @return array an associative array with the keys "versionString" and
* "versionNumber".
* @since 5.3.0
* @since 5.3
*/
public static function version () {}
@ -63,7 +63,7 @@ class SQLite3 {
* Returns the row ID of the most recent INSERT into the database
* @link https://php.net/manual/en/sqlite3.lastinsertrowid.php
* @return int the row ID of the most recent INSERT into the database
* @since 5.3.0
* @since 5.3
*/
public function lastInsertRowID () {}
@ -72,7 +72,7 @@ class SQLite3 {
* @link https://php.net/manual/en/sqlite3.lasterrorcode.php
* @return int an integer value representing the numeric result code of the most
* recent failed SQLite request.
* @since 5.3.0
* @since 5.3
*/
public function lastErrorCode () {}
@ -80,7 +80,7 @@ class SQLite3 {
* Returns English text describing the most recent failed SQLite request
* @link https://php.net/manual/en/sqlite3.lasterrormsg.php
* @return string an English string describing the most recent failed SQLite request.
* @since 5.3.0
* @since 5.3
*/
public function lastErrorMsg () {}
@ -104,14 +104,14 @@ class SQLite3 {
* directory specified in the configure option sqlite3.extension_dir.
* </p>
* @return bool <b>TRUE</b> if the extension is successfully loaded, <b>FALSE</b> on failure.
* @since 5.3.0
* @since 5.3
*/
public function loadExtension ($shared_library) {}
/**
* Returns the number of database rows that were changed (or inserted or
* deleted) by the most recent SQL statement
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/sqlite3.changes.php
* @return int an integer value corresponding to the number of
* database rows changed (or inserted or deleted) by the most recent SQL
@ -127,7 +127,7 @@ class SQLite3 {
* </p>
* @return string a properly escaped string that may be used safely in an SQL
* statement.
* @since 5.3.0
* @since 5.3
*/
public static function escapeString ($value) {}
@ -138,7 +138,7 @@ class SQLite3 {
* The SQL query to prepare.
* </p>
* @return SQLite3Stmt|false an <b>SQLite3Stmt</b> object on success or <b>FALSE</b> on failure.
* @since 5.3.0
* @since 5.3
*/
public function prepare ($query) {}
@ -150,7 +150,7 @@ class SQLite3 {
* </p>
* @return SQLite3Result an <b>SQLite3Result</b> object if the query returns results. Otherwise,
* returns <b>TRUE</b> if the query succeeded, <b>FALSE</b> on failure.
* @since 5.3.0
* @since 5.3
*/
public function query ($query) {}
@ -176,7 +176,7 @@ class SQLite3 {
* </p>
* <p>
* Invalid or failing queries will return <b>FALSE</b>.
* @since 5.3.0
* @since 5.3
*/
public function querySingle ($query, $entire_row = false) {}
@ -200,7 +200,7 @@ class SQLite3 {
* Currently, only <b>SQLITE3_DETERMINISTIC</b> is supported, which specifies that the function always returns
* the same result given the same inputs within a single SQL statement.</p>
* @return bool <b>TRUE</b> upon successful creation of the function, <b>FALSE</b> on failure.
* @since 5.3.0
* @since 5.3
*/
public function createFunction ($name, $callback, $argument_count = -1, int $flags = 0) {}
@ -225,7 +225,7 @@ class SQLite3 {
* </p>
* @return bool <b>TRUE</b> upon successful creation of the aggregate, <b>FALSE</b> on
* failure.
* @since 5.3.0
* @since 5.3
*/
public function createAggregate ($name, $step_callback, $final_callback, $argument_count = -1) {}
@ -282,7 +282,7 @@ class SQLite3 {
* An optional encryption key used when encrypting and decrypting an
* SQLite database.
* </p>
* @since 5.3.0
* @since 5.3
*/
public function __construct ($filename, $flags = null, $encryption_key = null) {}
@ -298,7 +298,7 @@ class SQLite3Stmt {
* Returns the number of parameters within the prepared statement
* @link https://php.net/manual/en/sqlite3stmt.paramcount.php
* @return int the number of parameters within the prepared statement.
* @since 5.3.0
* @since 5.3
*/
public function paramCount () {}
@ -306,7 +306,7 @@ class SQLite3Stmt {
* Closes the prepared statement
* @link https://php.net/manual/en/sqlite3stmt.close.php
* @return bool <b>TRUE</b>
* @since 5.3.0
* @since 5.3
*/
public function close () {}
@ -314,7 +314,7 @@ class SQLite3Stmt {
* Resets the prepared statement
* @link https://php.net/manual/en/sqlite3stmt.reset.php
* @return bool <b>TRUE</b> if the statement is successfully reset, <b>FALSE</b> on failure.
* @since 5.3.0
* @since 5.3
*/
public function reset () {}
@ -323,7 +323,7 @@ class SQLite3Stmt {
* @link https://php.net/manual/en/sqlite3stmt.clear.php
* @return bool <b>TRUE</b> on successful clearing of bound parameters, <b>FALSE</b> on
* failure.
* @since 5.3.0
* @since 5.3
*/
public function clear () {}
@ -332,7 +332,7 @@ class SQLite3Stmt {
* @link https://php.net/manual/en/sqlite3stmt.execute.php
* @return SQLite3Result an <b>SQLite3Result</b> object on successful execution of the prepared
* statement, <b>FALSE</b> on failure.
* @since 5.3.0
* @since 5.3
*/
public function execute () {}
@ -355,7 +355,7 @@ class SQLite3Stmt {
* </p>
* @return bool <b>TRUE</b> if the parameter is bound to the statement variable, <b>FALSE</b>
* on failure.
* @since 5.3.0
* @since 5.3
*/
public function bindParam ($sql_param, &$param, $type = null) {}
@ -378,7 +378,7 @@ class SQLite3Stmt {
* </p>
* @return bool <b>TRUE</b> if the value is bound to the statement variable, <b>FALSE</b>
* on failure.
* @since 5.3.0
* @since 5.3
*/
public function bindValue ($sql_param, $value, $type = null) {}
@ -401,7 +401,7 @@ class SQLite3Result {
* Returns the number of columns in the result set
* @link https://php.net/manual/en/sqlite3result.numcolumns.php
* @return int the number of columns in the result set.
* @since 5.3.0
* @since 5.3
*/
public function numColumns () {}
@ -413,7 +413,7 @@ class SQLite3Result {
* </p>
* @return string the string name of the column identified by
* <i>column_number</i>.
* @since 5.3.0
* @since 5.3
*/
public function columnName ($column_number) {}
@ -428,7 +428,7 @@ class SQLite3Result {
* <b>SQLITE3_INTEGER</b>, <b>SQLITE3_FLOAT</b>,
* <b>SQLITE3_TEXT</b>, <b>SQLITE3_BLOB</b>, or
* <b>SQLITE3_NULL</b>).
* @since 5.3.0
* @since 5.3
*/
public function columnType ($column_number) {}
@ -445,7 +445,7 @@ class SQLite3Result {
* </p>
* @return array|false a result row as an associatively or numerically indexed array or
* both. Alternately will return <b>FALSE</b> if there are no more rows.
* @since 5.3.0
* @since 5.3
*/
public function fetchArray ($mode = SQLITE3_BOTH) {}
@ -454,7 +454,7 @@ class SQLite3Result {
* @link https://php.net/manual/en/sqlite3result.reset.php
* @return bool <b>TRUE</b> if the result set is successfully reset
* back to the first row, <b>FALSE</b> on failure.
* @since 5.3.0
* @since 5.3
*/
public function reset () {}
@ -462,7 +462,7 @@ class SQLite3Result {
* Closes the result set
* @link https://php.net/manual/en/sqlite3result.finalize.php
* @return bool <b>TRUE</b>.
* @since 5.3.0
* @since 5.3
*/
public function finalize () {}

View File

@ -30,7 +30,7 @@ define("__COMPILER_HALT_OFFSET__",0);
* @return string|false The binary representation of the given data or <b>FALSE</b> on failure.
* @see bin2hex()
* @see unpack()
* @since 5.4.0
* @since 5.4
*/
function hex2bin($data) {};

View File

@ -349,7 +349,7 @@ class object {
/**
* This method is called by var_dump() when dumping an object to get the properties that should be shown.
* If the method isn't defined on an object, then all public, protected and private properties will be shown.
* @since PHP 5.6.0
* @since 5.6
*
* @return array
* @link https://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.debuginfo
@ -359,7 +359,7 @@ class object {
/**
* This static method is called for classes exported by var_export() since PHP 5.1.0.
* The only parameter of this method is an array containing exported properties in the form array('property' => value, ...).
* @since 5.1.0
* @since 5.1
*
* @param $an_array array
* @return mixed

View File

@ -45,7 +45,7 @@ function dl ($library) {}
* The new title.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.5.0
* @since 5.5
*/
function cli_set_process_title ($title) {}
@ -53,7 +53,7 @@ function cli_set_process_title ($title) {}
* Returns the current process title
* @link https://php.net/manual/en/function.cli-get-process-title.php
* @return string Return a string with the current process title or <b>NULL</b> on error.
* @since 5.5.0
* @since 5.5
*/
function cli_get_process_title () {}
@ -197,7 +197,7 @@ define ('__METHOD__', '', true);
* The trait name. (Added in PHP 5.4.0) As of PHP 5.4 this constant
* returns the trait as it was declared (case-sensitive). The trait name includes the namespace
* it was declared in (e.g. Foo\Bar).
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/language.constants.predefined.php
*/
define ('__TRAIT__', '', true);
@ -207,7 +207,7 @@ define ('__TRAIT__', '', true);
* the directory of the included file is returned. This is equivalent
* to dirname(__FILE__). This directory name
* does not have a trailing slash unless it is the root directory.
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/language.constants.predefined.php
*/
define ('__DIR__', '', true);
@ -215,7 +215,7 @@ define ('__DIR__', '', true);
/**
* The name of the current namespace (case-sensitive). This constant
* is defined in compile-time (Added in PHP 5.3.0).
* @since 5.3.0
* @since 5.3
* @link https://php.net/manual/en/language.constants.predefined.php
*/
define ('__NAMESPACE__', '', true);

View File

@ -152,7 +152,7 @@ define('PASSWORD_ARGON2_DEFAULT_THREADS', 1);
* provided when calling @link https://secure.php.net/manual/en/function.password-hash.php" password_hash()
* </li>
* </ul>
* @since 5.5.0
* @since 5.5
*/
function password_get_info ($hash) {}
@ -171,7 +171,7 @@ function password_get_info ($hash) {}
* preferred to simply use the salt that is generated by default.
* </p>
* @return string|false|null Returns the hashed password, or FALSE on failure, or null if the algorithm is invalid
* @since 5.5.0
* @since 5.5
*/
function password_hash ($password, $algo, $options = null) {}
@ -184,7 +184,7 @@ function password_hash ($password, $algo, $options = null) {}
* @param int $algo A <a href="https://secure.php.net/manual/en/password.constants.php" class="link">password algorithm constant</a> denoting the algorithm to use when hashing the password.
* @param array $options [optional] <p> An associative array containing options. See the password algorithm constants for documentation on the supported options for each algorithm.
* @return bool Returns TRUE if the hash should be rehashed to match the given algo and options, or FALSE otherwise.
* @since 5.5.0
* @since 5.5
*/
function password_needs_rehash ($hash, $algo, $options = null) {}
@ -196,7 +196,7 @@ function password_needs_rehash ($hash, $algo, $options = null) {}
* @param string $password The user's password.
* @param string $hash A hash created by password_hash().
* @return bool Returns TRUE if the password and hash match, or FALSE otherwise.
* @since 5.5.0
* @since 5.5
*/
function password_verify ($password, $hash) {}

View File

@ -202,7 +202,7 @@ function time_nanosleep ($seconds, $nanoseconds) {}
* The timestamp when the script should wake.
* </p>
* @return bool true on success or false on failure.
* @since 5.1.0
* @since 5.1
*/
function time_sleep_until ($timestamp) {}
@ -267,7 +267,7 @@ function time_sleep_until ($timestamp) {}
* recognized using the specified format</td>
* </tr>
* </table>
* @since 5.1.0
* @since 5.1
*/
function strptime ($date, $format) {}
@ -511,7 +511,7 @@ function htmlentities ($string, $quote_style = null, $charset = null, $double_en
* </p>
* &reference.strings.charsets;
* @return string the decoded string.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function html_entity_decode ($string, $quote_style = null, $charset = null) {}
@ -546,7 +546,7 @@ function html_entity_decode ($string, $quote_style = null, $charset = null) {}
* </table>
* </p>
* @return string the decoded string.
* @since 5.1.0
* @since 5.1
*/
function htmlspecialchars_decode ($string, $quote_style = null) {}
@ -742,7 +742,7 @@ function get_html_translation_table ($table = null, $quote_style = null, string
* hexadecimal number.
* </p>
* @return string the sha1 hash as a string.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function sha1 ($str, $raw_output = false) {}
@ -758,7 +758,7 @@ function sha1 ($str, $raw_output = false) {}
* 20.
* </p>
* @return string|false a string on success, false otherwise.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function sha1_file ($filename, $raw_output = false) {}
@ -791,7 +791,7 @@ function md5 ($str, $raw_output = false) {}
* 16.
* </p>
* @return string|false a string on success, false otherwise.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function md5_file ($filename, $raw_output = false) {}
@ -910,7 +910,7 @@ function getimagesize ($filename, array &$imageinfo = null) {}
/**
* Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype
* @since 4.3.0
* @since 4.3
* @since 5.0
* @link https://php.net/manual/en/function.image-type-to-mime-type.php
* @param int $imagetype <p>
@ -1260,7 +1260,7 @@ function php_uname ($mode = null) {}
* still make it into the returned string but a PHP error will also result.
* This PHP error will be seen both at compile time and while using
* php_ini_scanned_files.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function php_ini_scanned_files () {}

View File

@ -368,7 +368,7 @@ function strrchr ($haystack, $needle) {}
* The input string.
* </p>
* @return string the shuffled string.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function str_shuffle ($str) {}
@ -389,7 +389,7 @@ function str_shuffle ($str) {}
* </p>
* @return string[]|int an array or an integer, depending on the
* format chosen.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function str_word_count ($string, $format = null, $charlist = null) {}
@ -494,7 +494,7 @@ function strcoll ($str1, $str2) {}
* string will be returned unchanged.
* Non-numeric number causes returning &null; and
* emitting E_WARNING.
* @since 4.3.0
* @since 4.3
* @since 5.0
* @deprecated 7.4
*/
@ -637,7 +637,7 @@ function ucfirst ($str) {}
* The input string.
* </p>
* @return string the resulting string.
* @since 5.3.0
* @since 5.3
*/
function lcfirst ($str) {}

View File

@ -142,7 +142,7 @@
* Returns 0 if parentheses surround the quantity and CURRENCY_SYMBOL.
* @return string|false the element as a string, or false if item
* is not valid.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function nl_langinfo ($item) {}
@ -249,7 +249,7 @@ function parse_str ($str, array &$result = null) {}
* Defaults as a backslash (\)
* </p>
* @return array an indexed array containing the fields read.
* @since 5.3.0
* @since 5.3
*/
function str_getcsv ($input, $delimiter = ",", $enclosure = '"', $escape = "\\") {}
@ -365,7 +365,7 @@ function printf ($format, $args = null, $_ = null) {}
* @param array $args <p>
* </p>
* @return int the length of the outputted string.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function vprintf ($format, array $args) {}
@ -382,7 +382,7 @@ function vprintf ($format, array $args) {}
* @return string Return array values as a formatted string according to
* format (which is described in the documentation
* for sprintf).
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function vsprintf ($format, array $args) {}
@ -827,7 +827,7 @@ function shell_exec ($cmd) {}
* @return resource|false a resource representing the process, which should be freed using
* proc_close when you are finished with it. On failure
* returns false.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function proc_open ($cmd, array $descriptorspec, array &$pipes, $cwd = null, array $env = null, array $other_options = null) {}
@ -840,7 +840,7 @@ function proc_open ($cmd, array $descriptorspec, array &$pipes, $cwd = null, arr
* be closed.
* </p>
* @return int the termination status of the process that was run.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function proc_close ($process) {}
@ -1104,7 +1104,7 @@ function getmyuid () {}
* Get PHP script owner's GID
* @link https://php.net/manual/en/function.getmygid.php
* @return int the group ID of the current script, or false on error.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function getmygid () {}

View File

@ -211,7 +211,7 @@ function atan ($arg) {}
* The argument to process
* </p>
* @return float Inverse hyperbolic tangent of arg
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function atanh ($arg) {}
@ -239,7 +239,7 @@ function atan2 ($y, $x) {}
* The argument to process
* </p>
* @return float The hyperbolic sine of arg
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function sinh ($arg) {}
@ -251,7 +251,7 @@ function sinh ($arg) {}
* The argument to process
* </p>
* @return float The hyperbolic cosine of arg
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function cosh ($arg) {}
@ -263,7 +263,7 @@ function cosh ($arg) {}
* The argument to process
* </p>
* @return float The hyperbolic tangent of arg
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function tanh ($arg) {}
@ -275,7 +275,7 @@ function tanh ($arg) {}
* The argument to process
* </p>
* @return float The inverse hyperbolic sine of arg
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function asinh ($arg) {}
@ -287,14 +287,14 @@ function asinh ($arg) {}
* The value to process
* </p>
* @return float The inverse hyperbolic cosine of arg
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function acosh ($arg) {}
/**
* Returns exp(number) - 1, computed in a way that is accurate even
* @since 4.1.0
* @since 4.1
* @since 5.0
when the value of number is close to zero
* @link https://php.net/manual/en/function.expm1.php
@ -307,7 +307,7 @@ function expm1 ($arg) {}
/**
* Returns log(1 + number), computed in a way that is accurate even when
* @since 4.1.0
* @since 4.1
* @since 5.0
the value of number is close to zero
* @link https://php.net/manual/en/function.log1p.php
@ -336,7 +336,7 @@ function pi () {}
* @return bool true if val is a legal finite
* number within the allowed range for a PHP float on this platform,
* else false.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function is_finite ($val) {}
@ -349,7 +349,7 @@ function is_finite ($val) {}
* </p>
* @return bool true if val is 'not a number',
* else false.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function is_nan ($val) {}
@ -375,7 +375,7 @@ function intdiv ($dividend, $divisor) {}
* The value to check
* </p>
* @return bool true if val is infinite, else false.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function is_infinite ($val) {}
@ -463,7 +463,7 @@ function sqrt ($arg) {}
* Length of second side
* </p>
* @return float Calculated length of the hypotenuse
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function hypot ($x, $y) {}
@ -709,7 +709,7 @@ function number_format ($number , $decimals = 0 , $dec_point = '.' , $thousands_
/**
* Returns the floating point remainder (modulo) of the division
* @since 4.2.0
* @since 4.2
* @since 5.0
of the arguments
* @link https://php.net/manual/en/function.fmod.php
@ -731,7 +731,7 @@ function fmod ($x, $y) {}
* A 32bit IPv4, or 128bit IPv6 address.
* </p>
* @return string|false a string representation of the address or false on failure.
* @since 5.1.0
* @since 5.1
*/
function inet_ntop ($in_addr) {}
@ -743,7 +743,7 @@ function inet_ntop ($in_addr) {}
* </p>
* @return string the in_addr representation of the given
* address
* @since 5.1.0
* @since 5.1
*/
function inet_pton ($address) {}
@ -822,7 +822,7 @@ function putenv ($setting) {}
* @param int $optind If the optind parameter is present, then the index where argument parsing stopped will be written to this variable.
* @return array This function will return an array of option / argument pairs or false on
* failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function getopt ($options, array $longopts = null, &$optind = null) {}
@ -933,7 +933,7 @@ function quoted_printable_decode ($str) {}
* The input string.
* </p>
* @return string the encoded string.
* @since 5.3.0
* @since 5.3
*/
function quoted_printable_encode ($str) {}
@ -1067,7 +1067,7 @@ function get_magic_quotes_runtime () {}
* </p>
* @return bool true on success or false on failure.
* @deprecated 5.3 This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function import_request_variables ($types, $prefix = null) {}

View File

@ -6,7 +6,7 @@
* @return array an associative array describing the last error with keys "type",
* "message", "file" and "line". Returns &null; if there hasn't been an error
* yet.
* @since 5.2.0
* @since 5.2
*/
function error_get_last () {}
@ -90,7 +90,7 @@ function call_user_method_array ($method_name, &$obj, array $params) {}
* </p>
* @param mixed $_ [optional]
* @return mixed the function result, or false on error.
* @since 5.3.0
* @since 5.3
*/
function forward_static_call ($function, $parameter = null, $_ = null) {}
@ -104,7 +104,7 @@ function forward_static_call ($function, $parameter = null, $_ = null) {}
* </p>
* @param array $parameters [optional]
* @return mixed the function result, or false on error.
* @since 5.3.0
* @since 5.3
*/
function forward_static_call_array ($function, array $parameters = null) {}
@ -210,7 +210,7 @@ function var_dump ($expression, $_ = null) {}
* @return string|null the variable representation when the return
* parameter is used and evaluates to true. Otherwise, this function will
* return &null;.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function var_export ($expression, $return = null) {}
@ -222,7 +222,7 @@ function var_export ($expression, $return = null) {}
* The variable being evaluated.
* </p>
* @return void
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function debug_zval_dump ($variable) {}
@ -271,7 +271,7 @@ function memory_get_usage ($real_usage = null) {}
* emalloc() is reported.
* </p>
* @return int the memory peak in bytes.
* @since 5.2.0
* @since 5.2
*/
function memory_get_peak_usage ($real_usage = null) {}
@ -452,7 +452,7 @@ function ini_get ($varname) {}
* <p>
* It's possible for a directive to have multiple access levels, which is
* why access shows the appropriate bitmask values.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function ini_get_all ($extension = null, $details = null) {}
@ -505,7 +505,7 @@ function ini_restore ($varname) {}
* Gets the current include_path configuration option
* @link https://php.net/manual/en/function.get-include-path.php
* @return string the path, as a string.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function get_include_path () {}
@ -518,7 +518,7 @@ function get_include_path () {}
* </p>
* @return string|bool the old include_path on
* success or false on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function set_include_path ($new_include_path) {}
@ -527,7 +527,7 @@ function set_include_path ($new_include_path) {}
* Restores the value of the include_path configuration option
* @link https://php.net/manual/en/function.restore-include-path.php
* @return void
* @since 4.3.0
* @since 4.3
* @since 5.0
* @deprecated 7.4
*/
@ -718,7 +718,7 @@ function header ($string, $replace = true, $http_response_code = null) {}
* </p>
* This parameter is case-insensitive.
* @return void
* @since 5.3.0
* @since 5.3
*/
function header_remove ($name = null) {}
@ -835,7 +835,7 @@ function parse_ini_file ($filename, $process_sections = false, $scanner_mode = I
* </p>
* @return array|false The settings are returned as an associative array on success,
* and false on failure.
* @since 5.3.0
* @since 5.3
*/
function parse_ini_string ($ini, $process_sections = false, $scanner_mode = INI_SCANNER_NORMAL) {}
@ -925,7 +925,7 @@ function gethostbynamel ($hostname) {}
* @link https://php.net/manual/en/function.gethostname.php
* @return string|false a string with the hostname on success, otherwise false is
* returned.
* @since 5.3.0
* @since 5.3
*/
function gethostname () {}

View File

@ -5,7 +5,7 @@
* Get the boolean value of a variable
* @param mixed $var <p>the scalar value being converted to a boolean.</p>
* @return bool The boolean value of var.
* @since 5.5.0
* @since 5.5
*/
function boolval($var) {}
@ -44,7 +44,7 @@ function intval ($var, $base = 10) {}
* @link https://php.net/manual/en/function.floatval.php
* @param mixed $var May be any scalar type. should not be used on objects, as doing so will emit an E_NOTICE level error and return 1.
* @return float value of the given variable. Empty arrays return 0, non-empty arrays return 1.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function floatval ($var) {}
@ -1058,7 +1058,7 @@ function file ($filename, $flags = null, $context = null) {}
* of file is reached.
* </p>
* @return string|false The function returns the read data or false on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function file_get_contents ($filename, $use_include_path = false, $context = null, $offset = 0, $maxlen = null) {}
@ -1123,7 +1123,7 @@ function file_get_contents ($filename, $use_include_path = false, $context = nul
* <td>
* Acquire an exclusive lock on the file while proceeding to the
* writing. Mutually exclusive with FILE_APPEND.
* @since 5.1.0
* @since 5.1
* </td>
* </tr>
* </table>

View File

@ -72,7 +72,7 @@
* the timeout expires before anything interesting happens. On error false
* is returned and a warning raised (this can happen if the system call is
* interrupted by an incoming signal).
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function stream_select (array &$read, array &$write, array &$except, $tv_sec, $tv_usec = null) {}
@ -94,7 +94,7 @@ function stream_select (array &$read, array &$write, array &$except, $tv_sec, $t
* a listing of standard stream parameters.
* </p>
* @return resource A stream context resource.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function stream_context_create (array $options = null, array $params = null) {}
@ -113,7 +113,7 @@ function stream_context_create (array $options = null, array $params = null) {}
* $params['paramname'] = "paramvalue";.
* </p>
* @return bool true on success or false on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function stream_context_set_params ($stream_or_context, array $params) {}
@ -126,7 +126,7 @@ function stream_context_set_params ($stream_or_context, array $params) {}
* context resource
* </p>
* @return array an associate array containing all context options and parameters.
* @since 5.3.0
* @since 5.3
*/
function stream_context_get_params ($stream_or_context) {}
@ -140,7 +140,7 @@ function stream_context_get_params ($stream_or_context) {}
* @param string $option
* @param mixed $value
* @return bool true on success or false on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function stream_context_set_option ($stream_or_context, $wrapper, $option, $value) {}
@ -151,7 +151,7 @@ function stream_context_set_option ($stream_or_context, $wrapper, $option, $valu
* @param resource $stream_or_context The stream or context resource to apply the options too.
* @param array $options The options to set for the default context.
* @return bool true on success or false on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function stream_context_set_option ($stream_or_context, array $options) {}
@ -163,7 +163,7 @@ function stream_context_set_option ($stream_or_context, array $options) {}
* The stream or context to get options from
* </p>
* @return array an associative array with the options.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function stream_context_get_options ($stream_or_context) {}
@ -179,7 +179,7 @@ function stream_context_get_options ($stream_or_context) {}
* can be used to set the default context.
* </p>
* @return resource A stream context resource.
* @since 5.1.0
* @since 5.1
*/
function stream_context_get_default (array $options = null) {}
@ -195,7 +195,7 @@ function stream_context_get_default (array $options = null) {}
* $arr['wrapper']['option'] = $value.
* </p>
* @return resource the default stream context.
* @since 5.3.0
* @since 5.3
*/
function stream_context_set_default (array $options) {}
@ -231,7 +231,7 @@ function stream_context_set_default (array $options) {}
* </p>
* @return resource a resource which can be used to refer to this filter
* instance during a call to stream_filter_remove.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function stream_filter_prepend ($stream, $filtername, $read_write = null, $params = null) {}
@ -267,7 +267,7 @@ function stream_filter_prepend ($stream, $filtername, $read_write = null, $param
* </p>
* @return resource a resource which can be used to refer to this filter
* instance during a call to stream_filter_remove.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function stream_filter_append ($stream, $filtername, $read_write = null, $params = null) {}
@ -279,7 +279,7 @@ function stream_filter_append ($stream, $filtername, $read_write = null, $params
* The stream filter to be removed.
* </p>
* @return bool true on success or false on failure.
* @since 5.1.0
* @since 5.1
*/
function stream_filter_remove ($stream_filter) {}
@ -506,7 +506,7 @@ function stream_socket_sendto ($socket, $data, $flags = null, $address = null) {
* @return bool|int true on success, false if negotiation has failed or
* 0 if there isn't enough data and you should try again
* (only for non-blocking sockets).
* @since 5.1.0
* @since 5.1
*/
function stream_socket_enable_crypto ($stream, $enable, $crypto_type = null, $session_stream = null) {}
@ -554,7 +554,7 @@ function stream_socket_shutdown ($stream, $how) {}
* </p>
* @return array|false an array with the two socket resources on success, or
* false on failure.
* @since 5.1.0
* @since 5.1
*/
function stream_socket_pair ($domain, $type, $protocol) {}
@ -603,7 +603,7 @@ function stream_get_contents ($handle, $maxlength = null, $offset = null) {}
* The stream to check.
* </p>
* @return bool true on success or false on failure.
* @since 5.3.0
* @since 5.3
*/
function stream_supports_lock ($stream) {}
@ -665,7 +665,7 @@ function fgetcsv ($handle, $length = 0, $delimiter = ',', $enclosure = '"', $esc
* </p>
* @param string $escape_char The optional escape_char parameter sets the escape character (one character only).
* @return int|false the length of the written string or false on failure.
* @since 5.1.0
* @since 5.1
*/
function fputcsv ($handle, array $fields, $delimiter = ",", $enclosure = '"', $escape_char = "\\") {}
@ -743,7 +743,7 @@ function get_meta_tags ($filename, $use_include_path = null) {}
* </p>
* @return int 0 on success, or EOF if the request cannot be honored.
* @see stream_set_read_buffer()
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function stream_set_write_buffer ($stream, $buffer) {}
@ -762,7 +762,7 @@ function stream_set_write_buffer ($stream, $buffer) {}
* </p>
* @return int 0 on success, or EOF if the request cannot be honored.
* @see stream_set_write_buffer()
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function stream_set_read_buffer ($stream, $buffer) {}
@ -816,7 +816,7 @@ function set_socket_blocking ($socket, $mode) {}
* on the stream.
* </p>
* @return bool true on success or false on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function stream_set_blocking ($stream, $mode) {}
@ -904,7 +904,7 @@ function socket_set_blocking ($socket, $mode) {}
* <p>
* uri (string) - the URI/filename associated with this
* stream.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function stream_get_meta_data ($stream) {}
@ -974,7 +974,7 @@ function stream_wrapper_register ($protocol, $classname, $flags = null) {}
* <p>
* stream_wrapper_register will return false if the
* protocol already has a handler.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function stream_register_wrapper ($protocol, $classname, $flags = 0) {}
@ -995,7 +995,7 @@ function stream_resolve_include_path ($filename) {}
* @param string $protocol <p>
* </p>
* @return bool true on success or false on failure.
* @since 5.1.0
* @since 5.1
*/
function stream_wrapper_unregister ($protocol) {}
@ -1005,7 +1005,7 @@ function stream_wrapper_unregister ($protocol) {}
* @param string $protocol <p>
* </p>
* @return bool true on success or false on failure.
* @since 5.1.0
* @since 5.1
*/
function stream_wrapper_restore ($protocol) {}
@ -1068,7 +1068,7 @@ function get_headers ($url, $format = null, $context = null) {}
* The microseconds part of the timeout to be set.
* </p>
* @return bool true on success or false on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function stream_set_timeout ($stream, $seconds, $microseconds = null) {}
@ -1154,7 +1154,7 @@ function socket_set_timeout ($stream, $seconds, $microseconds = 0) {}
* <p>
* uri (string) - the URI/filename associated with this
* stream.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function socket_get_status ($stream) {}
@ -1231,7 +1231,7 @@ function realpath ($path) {}
* </table>
* </p>
* @return bool true if there is a match, false otherwise.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function fnmatch ($pattern, $string, $flags = null) {}

View File

@ -414,7 +414,7 @@ function scandir ($directory, $sorting_order = null, $context = null) {}
* <p>
* On some systems it is impossible to distinguish between empty match and an
* error.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function glob ($pattern, $flags = null) {}
@ -919,7 +919,7 @@ function clearstatcache ($clear_realpath_cache = null, $filename = null) {}
* </p>
* @return float|false the total number of bytes as a float
* or false on failure.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function disk_total_space ($directory) {}
@ -937,7 +937,7 @@ function disk_total_space ($directory) {}
* </p>
* @return float|false the number of available bytes as a float
* or false on failure.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function disk_free_space ($directory) {}

View File

@ -220,7 +220,7 @@ function ob_start ($output_callback = null, $chunk_size = null, $erase = null) {
* Flush (send) the output buffer
* @link https://php.net/manual/en/function.ob-flush.php
* @return void
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function ob_flush () {}
@ -229,7 +229,7 @@ function ob_flush () {}
* Clean (erase) the output buffer
* @link https://php.net/manual/en/function.ob-clean.php
* @return void
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function ob_clean () {}
@ -260,7 +260,7 @@ function ob_end_clean () {}
* Flush the output buffer, return it as a string and turn off output buffering
* @link https://php.net/manual/en/function.ob-get-flush.php
* @return string|false the output buffer or false if no buffering is active.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function ob_get_flush () {}
@ -270,7 +270,7 @@ function ob_get_flush () {}
* @link https://php.net/manual/en/function.ob-get-clean.php
* @return string|false the contents of the output buffer and end output buffering.
* If output buffering isn't active then false is returned.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function ob_get_clean () {}
@ -290,7 +290,7 @@ function ob_get_length () {}
* @link https://php.net/manual/en/function.ob-get-level.php
* @return int the level of nested output buffering handlers or zero if output
* buffering is not active.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function ob_get_level () {}
@ -363,7 +363,7 @@ function ob_get_level () {}
* <tr><td>size</td><td>...</td></tr>
* <tr><td>blocksize</td><td>...</td></tr>
* </table>
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function ob_get_status ($full_status = null) {}
@ -398,7 +398,7 @@ function ob_implicit_flush ($flag = 1) {}
* an anonymous function was used with ob_start,
* ob_list_handlers will return "default output
* handler".
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function ob_list_handlers () {}
@ -930,7 +930,7 @@ function compact ($varname, $_ = null) {}
* Value to use for filling
* </p>
* @return array the filled array
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function array_fill ($start_index, $num, $value) {}
@ -946,7 +946,7 @@ function array_fill ($start_index, $num, $value) {}
* Value to use for filling
* </p>
* @return array the filled array
* @since 5.2.0
* @since 5.2
*/
function array_fill_keys (array $keys, $value) {}

View File

@ -35,7 +35,7 @@ function array_merge_recursive(array $array1, array $_ = null) { }
* @param array $array2 [optional]
* @param array $_ [optional]
* @return array or null if an error occurs.
* @since 5.3.0
* @since 5.3
*/
function array_replace(array $array, array $array1, array $array2 = null, array $_ = null) { }
@ -51,7 +51,7 @@ function array_replace(array $array, array $array1, array $array2 = null, array
* @param array $array2 [optional]
* @param array $_ [optional]
* @return array an array, or &null; if an error occurs.
* @since 5.3.0
* @since 5.3
*/
function array_replace_recursive(array $array, array $array1, array $array2 = null, array $_ = null) { }
@ -106,7 +106,7 @@ function array_count_values(array $input) { }
* @param mixed $column <p>The column of values to return. This value may be the integer key of the column you wish to retrieve, or it may be the string key name for an associative array. It may also be NULL to return complete arrays (useful together with index_key to reindex the array).</p>
* @param mixed $index_key [optional] <p>The column to use as the index/keys for the returned array. This value may be the integer key of the column, or it may be the string key name.</p>
* @return array Returns an array of values representing a single column from the input array.
* @since 5.5.0
* @since 5.5
*/
function array_column(array $array, $column, $index_key = null) { }
@ -196,7 +196,7 @@ function array_flip(array $array) { }
* CASE_LOWER (default)
* </p>
* @return array an array with its keys lower or uppercased
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function array_change_key_case(array $input, $case = null) { }
@ -283,7 +283,7 @@ function array_intersect(array $array1, array $array2, array $_ = null) { }
* @return array an associative array containing all the entries of
* array1 which have keys that are present in all
* arguments.
* @since 5.1.0
* @since 5.1
*/
function array_intersect_key(array $array1, array $array2, array $_ = null) { }
@ -302,7 +302,7 @@ function array_intersect_key(array $array1, array $array2, array $_ = null) { }
* </p>
* @return array the values of array1 whose keys exist
* in all the arguments.
* @since 5.1.0
* @since 5.1
*/
function array_intersect_ukey(array $array1, array $array2, array $_ = null, $key_compare_func) { }
@ -343,7 +343,7 @@ function array_uintersect(array $array1, array $array2, array $_ = null, $data_c
* @param array $_ [optional]
* @return array an associative array containing all the values in
* array1 that are present in all of the arguments.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function array_intersect_assoc(array $array1, array $array2, array $_ = null) { }
@ -446,7 +446,7 @@ function array_diff(array $array1, array $array2, array $_ = null) { }
* @return array an array containing all the entries from
* array1 whose keys are not present in any of the
* other arrays.
* @since 5.1.0
* @since 5.1
*/
function array_diff_key(array $array1, array $array2, array $_ = null) { }
@ -468,7 +468,7 @@ function array_diff_key(array $array1, array $array2, array $_ = null) { }
* </p>
* @return array an array containing all the entries from
* array1 that are not present in any of the other arrays.
* @since 5.1.0
* @since 5.1
*/
function array_diff_ukey(array $array1, array $array2, array $_ = null, $key_compare_func) { }
@ -509,7 +509,7 @@ function array_udiff(array $array1, array $array2, array $_ = null, $data_compar
* @param array $_ [optional]
* @return array an array containing all the values from
* array1 that are not present in any of the other arrays.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function array_diff_assoc(array $array1, array $array2, array $_ = null) { }
@ -626,7 +626,7 @@ function array_sum(array $array) { }
* The array.
* </p>
* @return int|float the product as an integer or float.
* @since 5.1.0
* @since 5.1
*/
function array_product(array $array) { }
@ -699,7 +699,7 @@ function array_map($callback, array $arr1, array $_ = null) { }
* </p>
* @return array a multidimensional numerically indexed array, starting with zero,
* with each dimension containing size elements.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function array_chunk(array $input, $size, $preserve_keys = null) { }
@ -910,7 +910,7 @@ function assert_options($what, $value = null) { }
* When using the optional operator argument, the
* function will return true if the relationship is the one specified
* by the operator, false otherwise.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function version_compare($version1, $version2, $operator = null) { }
@ -926,7 +926,7 @@ function version_compare($version1, $version2, $operator = null) { }
* </p>
* @return int On success the return value will be the created key value, otherwise
* -1 is returned.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function ftok($pathname, $proj) { }
@ -938,7 +938,7 @@ function ftok($pathname, $proj) { }
* The input string.
* </p>
* @return string the ROT13 version of the given string.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function str_rot13($str) { }
@ -1127,7 +1127,7 @@ function stream_bucket_new($stream, $buffer) { }
* The variable value.
* </p>
* @return bool true on success or false on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function output_add_rewrite_var($name, $value) { }
@ -1160,7 +1160,7 @@ function output_add_rewrite_var($name, $value) { }
*
* @link https://php.net/manual/en/function.output-reset-rewrite-vars.php
* @return bool true on success or false on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function output_reset_rewrite_vars() { }

View File

@ -138,28 +138,28 @@ define ('NAN', NAN);
/**
* Round halves up
* @link https://php.net/manual/en/math.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('PHP_ROUND_HALF_UP', 1);
/**
* Round halves down
* @link https://php.net/manual/en/math.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('PHP_ROUND_HALF_DOWN', 2);
/**
* Round halves to even numbers
* @link https://php.net/manual/en/math.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('PHP_ROUND_HALF_EVEN', 3);
/**
* Round halves to odd numbers
* @link https://php.net/manual/en/math.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('PHP_ROUND_HALF_ODD', 4);
define ('INFO_GENERAL', 1);
@ -282,7 +282,7 @@ define ('ENT_NOQUOTES', 0);
* Silently discard invalid code unit sequences instead of returning an empty string.
* Using this flag is discouraged as it may have security implications.
* @link https://php.net/manual/en/function.htmlspecialchars.php
* @since 5.3.0
* @since 5.3
*/
define ('ENT_IGNORE', 4);
define ('STR_PAD_LEFT', 0);
@ -294,7 +294,7 @@ define ('PATHINFO_EXTENSION', 4);
/**
* @link https://php.net/manual/en/filesystem.constants.php
* @since 5.2.0
* @since 5.2
*/
define ('PATHINFO_FILENAME', 8);
define ('CHAR_MAX', 127);
@ -820,7 +820,7 @@ define ('SORT_STRING', 2);
/**
* SORT_LOCALE_STRING is used to compare items as
* strings, based on the current locale.
* @since 4.4.0
* @since 4.4
* @since 5.0.2
* @link https://php.net/manual/en/array.constants.php
*/
@ -1014,14 +1014,14 @@ define ('IMAGETYPE_XBM', 16);
/**
* Image type constant used by the {@link image_type_to_mime_type()} and {@link image_type_to_extension()} functions.
* @link https://php.net/manual/en/image.constants.php
* @since 5.3.0
* @since 5.3
*/
define ('IMAGETYPE_ICO', 17);
/**
* Image type constant used by the {@link image_type_to_mime_type()} and {@link image_type_to_extension()} functions.
* @link https://php.net/manual/en/image.constants.php
* @since 7.1.0
* @since 7.1
*/
define('IMAGETYPE_WEBP', 18);
define('IMAGETYPE_UNKNOWN', 0);
@ -1172,19 +1172,19 @@ define('PHP_OUTPUT_HANDLER_DISABLED', 8192);
define('SID', "name=ID");
/**
* Return value of session_status() if sessions are disabled.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.session-status.php
*/
define('PHP_SESSION_DISABLED', 0);
/**
* Return value of session_status() if sessions are enabled, but no session exists.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.session-status.php
*/
define('PHP_SESSION_NONE', 1);
/**
* Return value of session_status() if sessions are enabled, and a session exists.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.session-status.php
*/
define('PHP_SESSION_ACTIVE', 2);
@ -1192,7 +1192,7 @@ define('PHP_SESSION_ACTIVE', 2);
/**
* Replace invalid code unit sequences with a Unicode Replacement Character
* U+FFFD (UTF-8) or &#FFFD; (otherwise) instead of returning an empty string.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.htmlspecialchars.php
*/
define('ENT_SUBSTITUTE', 8);
@ -1202,31 +1202,31 @@ define('ENT_SUBSTITUTE', 8);
* (otherwise) instead of leaving them as is. This may be useful,
* for instance, to ensure the well-formedness of XML documents
* with embedded external content.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.htmlspecialchars.php
*/
define('ENT_DISALLOWED', 128);
/**
* Handle code as HTML 4.01.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.htmlspecialchars.php
*/
define('ENT_HTML401', 0);
/**
* Handle code as XML 1.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.htmlspecialchars.php
*/
define('ENT_XML1', 16);
/**
* Handle code as XHTML.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.htmlspecialchars.php
*/
define('ENT_XHTML', 32);
/**
* Handle code as HTML 5.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/function.htmlspecialchars.php
*/
define('ENT_HTML5', 48);
@ -1243,13 +1243,13 @@ define('SCANDIR_SORT_NONE', 2);
/**
* SORT_NATURAL is used to compare items as strings using "natural ordering" like natsort().
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/array.constants.php
*/
define('SORT_NATURAL', 6);
/**
* SORT_FLAG_CASE can be combined (bitwise OR) with SORT_STRING or SORT_NATURAL to sort strings case-insensitively.
* @since 5.4.0
* @since 5.4
* @link https://php.net/manual/en/array.constants.php
*/
define('SORT_FLAG_CASE', 8);

View File

@ -13,7 +13,7 @@
* exists, the <i>perms</i> will be ignored.
* </p>
* @return resource a resource handle that can be used to access the System V message queue.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function msg_get_queue ($key, $perms = 0666) {}
@ -53,7 +53,7 @@ function msg_get_queue ($key, $perms = 0666) {}
* follows: <i>msg_lspid</i> is set to the process-ID of the
* calling process, <i>msg_qnum</i> is incremented by 1 and
* <i>msg_stime</i> is set to the current time.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function msg_send ($queue, $msgtype, $message, $serialize = true, $blocking = true, &$errorcode = null) {}
@ -142,7 +142,7 @@ function msg_send ($queue, $msgtype, $message, $serialize = true, $blocking = tr
* follows: msg_lrpid is set to the process-ID of the
* calling process, msg_qnum is decremented by 1 and
* msg_rtime is set to the current time.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function msg_receive ($queue, $desiredmsgtype, &$msgtype, $maxsize, &$message, $unserialize = true, $flags = 0, &$errorcode = null) {}
@ -154,7 +154,7 @@ function msg_receive ($queue, $desiredmsgtype, &$msgtype, $maxsize, &$message, $
* Message queue resource handle
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function msg_remove_queue ($queue) {}
@ -232,7 +232,7 @@ function msg_remove_queue ($queue) {}
* </td>
* </tr>
* </table>
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function msg_stat_queue ($queue) {}
@ -248,7 +248,7 @@ function msg_stat_queue ($queue) {}
* that you require in the <i>data</i> array.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function msg_set_queue ($queue, array $data) {}
@ -260,7 +260,7 @@ function msg_set_queue ($queue, array $data) {}
* Queue key.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.3.0
* @since 5.3
*/
function msg_queue_exists ($key) {}

View File

@ -65,7 +65,7 @@ function sem_release ($sem_identifier) {}
* by <b>sem_get</b>.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function sem_remove ($sem_identifier) {}

View File

@ -80,7 +80,7 @@ function shm_put_var ($shm_identifier, $variable_key, $variable) {}
* The variable key.
* </p>
* @return bool <b>TRUE</b> if the entry exists, otherwise <b>FALSE</b>
* @since 5.3.0
* @since 5.3
*/
function shm_has_var ($shm_identifier, $variable_key) {}

View File

@ -384,24 +384,23 @@ class StubsTest extends TestCase
*/
private function checkDeprecatedSinceVersionsMajor($element, $elementName): void
{
//skip for now due to huge number of since tags
/*foreach ($element->sinceTags as $sinceTag) {
foreach ($element->sinceTags as $sinceTag) {
if ($sinceTag instanceof Since) {
$version = $sinceTag->getVersion();
if ($version !== null) {
self::assertFalse(Utils::versionIsMajor($sinceTag), "$elementName has 'since' version $version.
Since version for PHP Core functionallity should have X.X format due to functionallity usually
self::assertTrue(Utils::versionIsMajor($sinceTag), "$elementName has 'since' version $version.
'Since' version for PHP Core functionallity should have X.X format due to functionallity usually
isn't added in patch updates. If you believe this is not correct, please submit an issue about your case at
https://youtrack.jetbrains.com/issues/WI");
}
}
}*/
}
foreach ($element->deprecatedTags as $deprecatedTag) {
if ($deprecatedTag instanceof Deprecated) {
$version = $deprecatedTag->getVersion();
if ($version !== null) {
self::assertTrue(Utils::versionIsMajor($deprecatedTag), "$elementName has 'deprecated' version $version .
Deprecated version for PHP Core functionallity should have X.X format due to functionallity usually
'Deprecated' version for PHP Core functionallity should have X.X format due to functionallity usually
isn't deprecated in patch updates. If you believe this is not correct, please submit an issue about your case at
https://youtrack.jetbrains.com/issues/WI");
}

View File

@ -217,7 +217,7 @@ class tidy {
* </p>
* @return string a string if the option exists and has documentation available, or
* <b>FALSE</b> otherwise.
* @since 5.1.0
* @since 5.1
*/
public function getOptDoc ($optname) {}
@ -773,7 +773,7 @@ function tidy_config_count (tidy $object) {}
* </p>
* @return string a string if the option exists and has documentation available, or
* <b>FALSE</b> otherwise.
* @since 5.1.0
* @since 5.1
*/
function tidy_get_opt_doc (tidy $object, $optname) {}

View File

@ -25,7 +25,7 @@
* &gt;, !, etc...),
* or a three element array containing the token index in element 0, the string
* content of the original token in element 1 and the line number in element 2.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function token_get_all ($source, $flags = 0) {}
@ -37,7 +37,7 @@ function token_get_all ($source, $flags = 0) {}
* The token value.
* </p>
* @return string The symbolic name of the given <i>token</i>.
* @since 4.2.0
* @since 4.2
* @since 5.0
*/
function token_name ($token) {}

View File

@ -296,7 +296,7 @@ class XMLReader {
* Retrieve XML from current node
* @link https://php.net/manual/en/xmlreader.readinnerxml.php
* @return string the contents of the current node as a string. Empty string on failure.
* @since 5.2.0
* @since 5.2
*/
public function readInnerXml () {}
@ -304,7 +304,7 @@ class XMLReader {
* Retrieve XML from current node, including it self
* @link https://php.net/manual/en/xmlreader.readouterxml.php
* @return string the contents of current node, including itself, as a string. Empty string on failure.
* @since 5.2.0
* @since 5.2
*/
public function readOuterXml () {}
@ -313,7 +313,7 @@ class XMLReader {
* @link https://php.net/manual/en/xmlreader.readstring.php
* @return string the content of the current node as a string. Empty string on
* failure.
* @since 5.2.0
* @since 5.2
*/
public function readString () {}
@ -324,7 +324,7 @@ class XMLReader {
* The filename of the XSD schema.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.2.0
* @since 5.2
*/
public function setSchema ($filename) {}
@ -351,7 +351,7 @@ class XMLReader {
* filename or URI pointing to a RelaxNG Schema.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.2.0
* @since 5.2
*/
public function setRelaxNGSchema ($filename) {}

View File

@ -7,7 +7,7 @@
* @link https://php.net/manual/en/function.xmlrpc-encode.php
* @param mixed $value
* @return string
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function xmlrpc_encode ($value) {}
@ -23,7 +23,7 @@ function xmlrpc_encode ($value) {}
* </p>
* @return mixed either an array, or an integer, or a string, or a boolean according
* to the response returned by the XMLRPC method.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function xmlrpc_decode ($xml, $encoding = "iso-8859-1") {}
@ -35,7 +35,7 @@ function xmlrpc_decode ($xml, $encoding = "iso-8859-1") {}
* @param string $method
* @param string $encoding [optional]
* @return mixed
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function xmlrpc_decode_request ($xml, &$method, $encoding = null) {}
@ -54,7 +54,7 @@ function xmlrpc_decode_request ($xml, &$method, $encoding = null) {}
* emphasised):
* <p>output_type: php, xml</p>
* @return string a string containing the XML representation of the request.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function xmlrpc_encode_request ($method, $params, array $output_options = null) {}
@ -66,7 +66,7 @@ function xmlrpc_encode_request ($method, $params, array $output_options = null)
* PHP value
* </p>
* @return string the XML-RPC type.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function xmlrpc_get_type ($value) {}
@ -82,7 +82,7 @@ function xmlrpc_get_type ($value) {}
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* If successful, <i>value</i> is converted to an object.
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function xmlrpc_set_type (&$value, $type) {}
@ -96,7 +96,7 @@ function xmlrpc_set_type (&$value, $type) {}
* @return bool <b>TRUE</b> if the argument means fault, <b>FALSE</b> otherwise. Fault
* description is available in $arg["faultString"], fault
* code is in $arg["faultCode"].
* @since 4.3.0
* @since 4.3
* @since 5.0
*/
function xmlrpc_is_fault (array $arg) {}
@ -105,7 +105,7 @@ function xmlrpc_is_fault (array $arg) {}
* Creates an xmlrpc server
* @link https://php.net/manual/en/function.xmlrpc-server-create.php
* @return resource
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function xmlrpc_server_create () {}
@ -115,7 +115,7 @@ function xmlrpc_server_create () {}
* @link https://php.net/manual/en/function.xmlrpc-server-destroy.php
* @param resource $server
* @return int
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function xmlrpc_server_destroy ($server) {}
@ -127,7 +127,7 @@ function xmlrpc_server_destroy ($server) {}
* @param string $method_name
* @param callable $function
* @return bool
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function xmlrpc_server_register_method ($server, $method_name, $function) {}
@ -140,7 +140,7 @@ function xmlrpc_server_register_method ($server, $method_name, $function) {}
* @param mixed $user_data
* @param array $output_options [optional]
* @return string
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function xmlrpc_server_call_method ($server, $xml, $user_data, array $output_options = null) {}
@ -150,7 +150,7 @@ function xmlrpc_server_call_method ($server, $xml, $user_data, array $output_opt
* @link https://php.net/manual/en/function.xmlrpc-parse-method-descriptions.php
* @param string $xml
* @return array
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function xmlrpc_parse_method_descriptions ($xml) {}
@ -161,7 +161,7 @@ function xmlrpc_parse_method_descriptions ($xml) {}
* @param resource $server
* @param array $desc
* @return int
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function xmlrpc_server_add_introspection_data ($server, array $desc) {}
@ -172,7 +172,7 @@ function xmlrpc_server_add_introspection_data ($server, array $desc) {}
* @param resource $server
* @param string $function
* @return bool
* @since 4.1.0
* @since 4.1
* @since 5.0
*/
function xmlrpc_server_register_introspection_callback ($server, $function) {}

View File

@ -131,7 +131,7 @@ class XSLTProcessor {
* Path to the file to dump profiling information.
* </p>
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
* @since 5.3.0
* @since 5.3
*/
public function setProfiling ($filename) {}
@ -140,7 +140,7 @@ class XSLTProcessor {
* @link https://php.net/manual/en/xsltprocessor.setsecurityprefs.php
* @param int $securityPrefs
* @return int
* @since 5.4.0
* @since 5.4
*/
public function setSecurityPrefs ($securityPrefs) {}
@ -148,7 +148,7 @@ class XSLTProcessor {
* Get security preferences
* @link https://php.net/manual/en/xsltprocessor.getsecurityprefs.php
* @return int
* @since 5.4.0
* @since 5.4
*/
public function getSecurityPrefs () {}

View File

@ -413,7 +413,7 @@ class ZipArchive implements Countable {
* Counts the number of files in the achive.
* @link https://www.php.net/manual/en/ziparchive.count.php
* @return int
* @since 7.2.0
* @since 7.2
*/
public function count() {}

View File

@ -391,7 +391,7 @@ function gzencode ($data, $level = -1, $encoding_mode = FORCE_GZIP) {}
* The maximum length of data to decode.
* </p>
* @return string|false The decoded string, or <b>FALSE</b> if an error occurred.
* @since 5.4.0
* @since 5.4
*/
function gzdecode ($data, $length = null) {}
@ -405,7 +405,7 @@ function gzdecode ($data, $length = null) {}
* @param string $level [optional] default -1 <p>
* </p>
* @return string
* @since 5.4.0
* @since 5.4
*/
function zlib_encode ($data, $encoding, $level) {}
@ -417,7 +417,7 @@ function zlib_encode ($data, $encoding, $level) {}
* @param string $max_decoded_len [optional] <p>
* </p>
* @return string
* @since 5.4.0
* @since 5.4
*/
function zlib_decode ($data, $max_decoded_len = null) {}