History log of /PHP-8.0/ext/opcache/Optimizer/zend_func_info.c (Results 51 – 75 of 227)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 0d9bebac 09-Jul-2020 Dmitry Stogov

Fixed mysqli_fetch_row() function info


# 16cb88f3 02-Jul-2020 Nikita Popov

Fix func info for get_class_methods()


# 2c97b401 20-Jun-2020 Vladyslav Startsev <17382248+vladyslavstartsev@users.noreply.github.com>

make bcpowmod stricter by not returning false, instead throw exception

Closes GH-5747


# b516566b 17-Jun-2020 Máté Kocsis

Convert CURL resources to objects

Closes GH-5402

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


# c599d173 30-May-2020 Ilija Tovilo

Fix php_get_args function info return type and add arg check

Closes GH-5648.


# caca6648 25-May-2020 Nicolas Grekas

Fix func info for sodium_crypto_aead_xchacha20poly1305_ietf_decrypt


# bd329a60 27-May-2020 Dmitry Stogov

Keep information about SEND_UNPACK/SEND_ARRAY in call_info


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

Annotate internal functions with the mixed type

Closes GH-5618


Revision tags: php-7.4.6, php-7.2.31, php-7.4.6RC1, php-7.3.18RC1
# 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 ...


# f38d6cea 27-Apr-2020 Nikita Popov

Check func_info consistency

Make sure explicitly specified func_info is a subset of
automatically computed info. This will at least prevent
cases where a type is removed from stubs,

Check func_info consistency

Make sure explicitly specified func_info is a subset of
automatically computed info. This will at least prevent
cases where a type is removed from stubs, but not removed
from func_info.

Closes GH-5471.

show more ...


# c5f87eee 27-Apr-2020 Nikita Popov

Mark passthru() as RC0

This function only returns null/false, RC1 does not make sense.


# 58eafbe7 27-Apr-2020 Nikita Popov

Make array_rand() type info more accurate


# cc8a8613 27-Apr-2020 Nikita Popov

Remove MAY_BE_FALSE from range() type info


# a6960cfb 27-Apr-2020 Máté Kocsis

Fix inaccurate func infos

Closes GH-5472


# a447897d 27-Apr-2020 Nikita Popov

Use information about classes returned by internal functions


# a1eaaa69 17-Apr-2020 Christoph M. Becker

Fix #79475: [JIT] func_get_args() assertion violation

`func_get_args()` may return `zend_empty_array`, which has refcount 2
to enforce separation. We have to cater to that during type

Fix #79475: [JIT] func_get_args() assertion violation

`func_get_args()` may return `zend_empty_array`, which has refcount 2
to enforce separation. We have to cater to that during type inference
so that the optimization in the JIT macro `SEPARATE_ARRAY` doesn't
prevent the separation.

show more ...


Revision tags: php-7.2.30, php-7.4.5, php-7.3.17, php-7.4.5RC1, php-7.3.17RC1
# 97cb81ea 23-Mar-2020 Nikita Popov

Remove HAVE_REALPATH checks

We do not actually use realpath(), but a custom implementation.
Make sure the realpath() function is always available.

Closes GH-5290.


Revision tags: php-7.3.18, php-7.4.4, php-7.2.29
# 37239850 16-Mar-2020 Nikita Popov

Merge EX variants of INFO macros


Revision tags: php-7.3.16, php-7.4.4RC1, php-7.3.16RC1
# 3ab75ac0 26-Feb-2020 Máté Kocsis

Update MySQLi function info

Closes GH-5214


Revision tags: php-7.4.3, php-7.2.28, php-7.3.15RC1, php-7.4.3RC1, php-7.3.15, php-7.2.27, php-7.4.2, php-7.3.14, php-7.3.14RC1, php-7.4.2RC1
# d9eb97d7 20-Dec-2019 Máté Kocsis

Remove unnecessary FN type information from OPCache

GH-5029


# 0e807077 20-Dec-2019 Máté Kocsis

Make get_defined_vars() always return an array

GH-5025


# f52f471a 18-Dec-2019 Máté Kocsis

Fix F1 type information in OPCache

Closes GH-5025


# bf645d6d 17-Dec-2019 Máté Kocsis

Remove unnecessary F0 type information from OPCache

Closes GH-5024


Revision tags: php-7.4.1, php-7.2.26, php-7.3.13, php-7.4.1RC1
# 1695d3ed 05-Dec-2019 Tyson Andre

Add funcinfo for spl global functions

This assumes that `iterator_*` will now always throw or abort on failure.

Also, move #include _arginfo.h directive to the top of the file - vir

Add funcinfo for spl global functions

This assumes that `iterator_*` will now always throw or abort on failure.

Also, move #include _arginfo.h directive to the top of the file - virtually all
other files put it there, and developers may base code on basic_functions.c.

Closes GH-4968

show more ...


Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12
# 9563449d 11-Nov-2019 Máté Kocsis

Add stubs for another batch of standard functions


12345678910