History log of /PHP-8.2/Zend/zend_builtin_functions.stub.php (Results 1 – 25 of 30)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# ff472ce6 21-Jun-2022 Tim Düsterhus

Support the `#[\AllowDynamicProperties]` attribute in stubs (#8776)

* Support the `#[\AllowDynamicProperties]` attribute in stubs

* Use `#[\AllowDynamicProperties]` attribute in stu

Support the `#[\AllowDynamicProperties]` attribute in stubs (#8776)

* Support the `#[\AllowDynamicProperties]` attribute in stubs

* Use `#[\AllowDynamicProperties]` attribute in stubs

* Disallow applying both `@strict-properties` and `#[\AllowDynamicProperties]`

show more ...

# 49d3dde2 18-Jun-2022 Máté Kocsis

Declare true return types (#8759)

# 32e2d97a 20-Dec-2021 Tyson Andre

Allow internal functions to declare if they support compile-time evaluation, add functions. (#7780)

https://wiki.php.net/rfc/strtolower-ascii means that these functions no longer
depend

Allow internal functions to declare if they support compile-time evaluation, add functions. (#7780)

https://wiki.php.net/rfc/strtolower-ascii means that these functions no longer
depend on the current locale in php 8.2. Before that, this was unsafe to
evaluate at compile time.

Followup to GH-7506

Add strcmp/strcasecmp/strtolower/strtoupper functions

Add bin2hex/hex2bin and related functions

Update test of garbage collection using strtolower to use something else to create a refcounted string

show more ...

# 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)

# 339ce943 14-Jul-2021 Máté Kocsis

Declare the $value param of define() as mixed

# 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

# 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

# b3718430 25-May-2020 Máté Kocsis

Annotate internal functions with the mixed type

Closes GH-5618

# 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

12