History log of /PHP-8.1/Zend/zend_builtin_functions.stub.php (Results 1 – 25 of 27)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0, php-7.3.33, php-7.3.32, php-7.3.31
# 8e6e9838 30-Aug-2021 Máté Kocsis

Add support for generating MAY_BE_ARRAY_OF_REF func info flag (#7416)

# 4a7a4147 24-Aug-2021 Máté Kocsis

Fix callable and iterable handling

# bdfe0ab5 24-Aug-2021 Máté Kocsis

Generate Zend, ext/spl and ext/json optimizer func info from stubs

Closes GH-7397

# b1822899 24-Aug-2021 Máté Kocsis

Add support for generating optimizer function info from stubs (#7367)

Revision tags: php-7.3.30
# 339ce943 14-Jul-2021 Máté Kocsis

Declare the $value param of define() as mixed

Revision tags: php-7.3.29
# 27ce269c 08-Jun-2021 Joe Watkins

Revert "Fix bug #24214 implement access to skip_last in user API for backtrace"

This reverts commit a5cef84de8473088ad549e3724127c81b907c49d.

# a5cef84d 26-May-2021 Joe Watkins

Fix bug #24214 implement access to skip_last in user API for backtrace

Revision tags: php-7.3.28, php-7.3.27, php-7.3.26, php-7.3.26RC1, php-7.3.25, php-7.3.25RC1, php-7.3.24, php-7.3.24RC1, php-7.3.23, php-7.3.23RC1, php-7.3.22, php-7.3.22RC1, php-7.3.21, php-7.3.21RC1, php-7.3.20, php-7.3.20RC1
# 269c8dac 10-Jun-2020 Ilija Tovilo

Implement enums

RFC: https://wiki.php.net/rfc/enumerations

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

Closes GH-6489.

# 4c6533c2 17-Feb-2021 Máté Kocsis

Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend

Closes GH-6706

# 6ce70447 12-Feb-2021 Máté Kocsis

Generate zend class entries based on stubs

Closes GH-6685

# 40ebfd67 17-Nov-2020 Máté Kocsis

Remove some incorrect mixed parameter types

# 7aa2d351 28-Sep-2020 Máté Kocsis

Zend parameter renames amendment

Closes GH-6228

# 12d087c3 22-Sep-2020 Nikita Popov

Use C zpp for get_class_vars()

# 0d330e1a 28-Jul-2020 Máté Kocsis

Add a few missing parameter types in stubs

Related to GH-5627

# 5770b667 12-Jul-2020 Máté Kocsis

Cleanup argument handling of Zend functions and methods

Closes GH-5847

# 7ac9e9bf 08-Jul-2020 George Peter Banyard

Use ZPP callable check in zend built in functions

# 5ea28fe6 01-Jul-2020 codinghuang <2812240764@qq.com>

Use correct ZPP mechanism in get_class_methods()

From now on, instead of returning null, an exception is thrown when
not a string or an object is passed to the function.

Closes

Use correct ZPP mechanism in get_class_methods()

From now on, instead of returning null, an exception is thrown when
not a string or an object is passed to the function.

Closes GH-5792

show more ...

# e93d20ad 30-Jun-2020 Máté Kocsis

Add ZPP macros for class name or object parameters

Closes GH-5647

Revision tags: php-7.3.19, php-7.4.7RC1, php-7.3.19RC1
# b3718430 25-May-2020 Máté Kocsis

Annotate internal functions with the mixed type

Closes GH-5618

Revision tags: php-7.3.18RC1
# a0abc26e 21-Apr-2020 Nikita Popov

Add get_resource_id() function

Behavior is same as for (int) $resource, just under a clearer
name. Also type-safe, in that the parameter actually needs to
be a resource.

Clo

Add get_resource_id() function

Behavior is same as for (int) $resource, just under a clearer
name. Also type-safe, in that the parameter actually needs to
be a resource.

Closes GH-5427.

show more ...

# 53eee290 27-Apr-2020 Nikita Popov

Completely remove disabled functions from function table

Currently, disabling a function only replaces the internal
function handler with one that throws a warning, and a few
places

Completely remove disabled functions from function table

Currently, disabling a function only replaces the internal
function handler with one that throws a warning, and a few
places in the engine special-case such functions, such as
function_exists. This leaves us with a Schrödinger's function,
which both does not exist (function_exists returns false) and
does exist (you cannot define a function with the same name).
In particular, this prevents the implementation of robust
polyfills, as reported in https://bugs.php.net/bug.php?id=79382:

if (!function_exists('getallheaders')) {
function getallheaders(...) { ... }
}

If getallheaders() is a disabled function, this code will break.

This patch changes disable_functions to remove the functions from
the function table completely. For all intents and purposes, it
will look like the function does not exist.

This also renders two bits of PHP functionality obsolete and thus
deprecated:

* ReflectionFunction::isDisabled(), as it will no longer be
possible to construct the ReflectionFunction of a disabled
function in the first place.
* get_defined_functions() with $exclude_disabled=false, as
get_defined_functions() now never returns disabled functions.

Fixed bug #79382.

Closes GH-5473.

show more ...

# 292085f3 21-Apr-2020 Nikita Popov

Generate zend_builtin_functions FEs from stubs

Revision tags: php-7.2.30, php-7.3.17, php-7.3.17RC1
# 55a3e5b9 29-Mar-2020 George Peter Banyard

Promote some warnings to Errors in Zend basic functions

Closes GH-5325

Revision tags: php-7.3.18, php-7.3.16, php-7.3.16RC1, php-7.3.15RC1, php-7.3.15, php-7.3.14, php-7.3.14RC1
# 0e807077 20-Dec-2019 Máté Kocsis

Make get_defined_vars() always return an array

GH-5025

Revision tags: php-7.3.13, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6
# 27e83d0f 08-Nov-2019 Máté Kocsis

Add union return types for function stubs

12