Revision tags: php-7.3.23, php-7.3.23RC1 |
|
#
3053f6f2 |
| 12-Sep-2020 |
Máté Kocsis |
Fix prototype of get_active_function_or_method_name() |
#
7b0a0531 |
| 10-Sep-2020 |
Dmitry Stogov |
JIT for ASSIGN_OBJ |
#
e9b47df1 |
| 10-Sep-2020 |
Dmitry Stogov |
Fixed 32-bit JIT |
Revision tags: php-7.3.22, php-7.3.22RC1 |
|
#
9975986b |
| 16-Aug-2020 |
Máté Kocsis |
Improve error messages mentioning parameters instead of arguments Closes GH-5999 |
#
b2bc2c62 |
| 28-Aug-2020 |
Nikita Popov |
Remove unnecessary cache_slot arguments zend_verify_type_error_common() no longer needs the cache_slot, so drop it there and from all users. |
#
fa8d9b11 |
| 28-Aug-2020 |
George Peter Banyard |
Improve type declarations for Zend APIs Voidification of Zend API which always succeeded Use bool argument types instead of int for boolean arguments Use bool return type for functio
Improve type declarations for Zend APIs Voidification of Zend API which always succeeded Use bool argument types instead of int for boolean arguments Use bool return type for functions which return true/false (1/0) Use zend_result return type for functions which return SUCCESS/FAILURE as they don't follow normal boolean semantics Closes GH-6002
show more ...
|
#
df5011f5 |
| 28-Aug-2020 |
Nikita Popov |
Export and reuse zend_is_valid_class_name API Unserialization does the same check as zend_lookup_class, so let's share the same optimized implementation. |
Revision tags: php-7.3.21, php-7.3.21RC1, php-7.3.20, php-7.3.20RC1, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1, php-7.3.18RC1, php-7.2.30, php-7.3.17 |
|
#
d92229d8 |
| 06-Apr-2020 |
Nikita Popov |
Implement named parameters From an engine perspective, named parameters mainly add three concepts: * The SEND_* opcodes now accept a CONST op2, which is the argument nam
Implement named parameters From an engine perspective, named parameters mainly add three concepts: * The SEND_* opcodes now accept a CONST op2, which is the argument name. For now, it is looked up by linear scan and runtime cached. * This may leave UNDEF arguments on the stack. To avoid having to deal with them in other places, a CHECK_UNDEF_ARGS opcode is used to either replace them with defaults, or error. * For variadic functions, EX(extra_named_params) are collected and need to be freed based on ZEND_CALL_HAS_EXTRA_NAMED_PARAMS. RFC: https://wiki.php.net/rfc/named_params Closes GH-5357.
show more ...
|
#
f60cf0cf |
| 15-Jul-2020 |
Nikita Popov |
Remove type argument from zend_get_zval_ptr As pointed out by Levi, this is unused, and we already changed the signature of this function for PHP 8. |
#
cdc4ea2a |
| 07-Jul-2020 |
Nikita Popov |
JIT support for undefined index/offset handling |
#
795d2cbd |
| 06-Jul-2020 |
Nikita Popov |
Reuse warning function |
#
5b59d491 |
| 09-Jun-2020 |
Nikita Popov |
Cleanup SPL autoload implementation Replace EG(autoload_func) with a C level zend_autoload hook. This avoids having to do one indirection through PHP function calls. The need for EG(
Cleanup SPL autoload implementation Replace EG(autoload_func) with a C level zend_autoload hook. This avoids having to do one indirection through PHP function calls. The need for EG(autoload_func) was a leftover from the __autoload() implementation. Additionally, drop special-casing of spl_autoload(), and instead register it just like any other autoloading function. This fixes bug #71236 as a side-effect. Finally, change spl_autoload_functions() to always return an array. The distinction between false and an empty array no longer makes sense here. Closes GH-5696.
show more ...
|
#
91f283a0 |
| 05-Jun-2020 |
Dmitry Stogov |
micro-optimization |
#
93640db4 |
| 24-Apr-2020 |
Máté Kocsis |
Improve error message for deprecated methods |
#
f0960879 |
| 06-May-2020 |
Alex Dowad |
zend_timeout is not a signal handler function The 'int dummy' parameter to this function makes it appear that it was intended as a signal handler, but it is not being used as such. So re
zend_timeout is not a signal handler function The 'int dummy' parameter to this function makes it appear that it was intended as a signal handler, but it is not being used as such. So remove the redundant parameter.
show more ...
|
Revision tags: php-7.3.17RC1, php-7.3.18, php-7.3.16, php-7.3.16RC1, php-7.3.15RC1 |
|
#
ac0853eb |
| 29-Jan-2020 |
Máté Kocsis |
Make type error messages more consistent Closes GH-5092 |
Revision tags: php-7.3.15, php-7.3.14 |
|
#
43443857 |
| 07-Jan-2020 |
Nikita Popov |
Add static return type RFC: https://wiki.php.net/rfc/static_return_type The "static" type is represented as MAY_BE_STATIC, rather than a class type like "self" and "parent", as
Add static return type RFC: https://wiki.php.net/rfc/static_return_type The "static" type is represented as MAY_BE_STATIC, rather than a class type like "self" and "parent", as it has special resolution semantics, and cannot be cached in the runtime cache. Closes GH-5062.
show more ...
|
Revision tags: php-7.3.14RC1, php-7.3.13 |
|
#
bc6bab6c |
| 06-Dec-2019 |
Nikita Popov |
Basic JIT support for verify return |
#
2b279b42 |
| 31-Jan-2020 |
Dmitry Stogov |
We don't need "safe" destruction anymore |
#
0a2f6c55 |
| 10-Jan-2020 |
Nikita Popov |
Move undefined constant error into get_constant_ex All the other error conditions are already handled in there, so this one should be as well. |
#
b1577f5a |
| 09-Dec-2019 |
Dmitry Stogov |
Merge branch 'PHP-7.4' * PHP-7.4: Export zend_init_func_run_time_cache()
|
#
03d1c788 |
| 09-Dec-2019 |
Dmitry Stogov |
Export zend_init_func_run_time_cache() |
Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5 |
|
#
fe6c420b |
| 23-Oct-2019 |
Nikita Popov |
JIT: Handle typed refs in assign dim |
Revision tags: php-7.1.33, php-7.2.24, php-7.3.11 |
|
#
e80934d7 |
| 17-Oct-2019 |
Nikita Popov |
Pass cache slot when printing type errors Instead of using a separate ce. |
Revision tags: php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10 |
|
#
9e8ba789 |
| 19-Sep-2019 |
Nikita Popov |
Change representation of zend_type from type code to MAY_BE_* mask This switches zend_type from storing a single IS_* type code to storing a MAY_BE_* type mask. Right now most code still
Change representation of zend_type from type code to MAY_BE_* mask This switches zend_type from storing a single IS_* type code to storing a MAY_BE_* type mask. Right now most code still assumes that there is only a single type in the mask (or two together with MAY_BE_NULL). But this will make it a lot simpler to introduce union types. An additional advantage (and why I'm doing this separately), is that a number of special cases no longer need to be handled separately: We can do a single mask & (1 << type) check to handle all simple types, booleans (true|false) and null.
show more ...
|