Revision tags: php-8.0.5RC1, php-7.4.18RC1 |
|
#
b196d4ae |
| 09-Apr-2021 |
Nikita Popov |
Accept zend_string instead of zval in compile_filename |
#
d8e4fbae |
| 08-Apr-2021 |
Dmitry Stogov |
Fast Class Cache This is generalization of idea, that was previously usesd for caching resolution of class_entries in zend_type. Now very similar mechanizm is used for general zend_s
Fast Class Cache This is generalization of idea, that was previously usesd for caching resolution of class_entries in zend_type. Now very similar mechanizm is used for general zend_string into zend_class_entry resolution. Interned zend_string with IS_STR_CLASS_NAME_MAP_PTR GC_FLAG uses its refcount to adress corresponding zend_class_entry cache slot. The refcount keeps an offset to this slot from CG(map_ptr_base). Flag may be checked by ZSTR_HAS_CE_CACHE(str), cache slot may be read by ZSTR_GET_CE_CACHE(str) and set by ZSTR_SET_CE_CACHE(str, ce).
show more ...
|
Revision tags: php-8.0.4RC1, php-7.4.17RC1, php-8.0.3, php-7.4.16, php-8.0.3RC1, php-7.4.16RC1, php-8.0.2, php-7.4.15, php-7.3.27, php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1, php-8.0.1, php-7.4.14, php-7.3.26, php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24, php-8.0.0RC2, php-7.4.12RC1, php-7.3.24RC1, php-7.2.34, php-8.0.0rc1 |
|
#
5caaf40b |
| 29-Sep-2020 |
George Peter Banyard |
Introduce pseudo-keyword ZEND_FALLTHROUGH And use it instead of comments |
#
368766ec |
| 05-Apr-2021 |
Dmitry Stogov |
Set expectations |
#
24388fd5 |
| 31-Mar-2021 |
Dmitry Stogov |
Merge branch 'PHP-8.0' * PHP-8.0: Changed PowerPC CPU registers used by Zend VM to work around GCC bug.
|
#
e0996dec |
| 31-Mar-2021 |
Dmitry Stogov |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Changed PowerPC CPU registers used by Zend VM to work around GCC bug.
|
#
39d8fc1e |
| 31-Mar-2021 |
Dmitry Stogov |
Changed PowerPC CPU registers used by Zend VM to work around GCC bug. Old registers (r28/r29) might be clobbered by _restgpr routine used for return from C function compiled with -Os. |
#
56c18c40 |
| 25-Mar-2021 |
George Peter Banyard |
Drop unneessary if branch and adjust arg_num type This if branch seems to be a remain of when certain type errors where E_WARNINGs, something which isn't the case since PHP 8.0. |
#
340013ad |
| 19-Mar-2021 |
Dmitry Stogov |
Add zend_hash_lookup() and zend_hash_index_lookup() functions. Thet search for an element with given key/index and add an empty one (NULL), if no found. |
#
4df39f4b |
| 18-Mar-2021 |
Nikita Popov |
Don't imply SILENT from NO_AUTOLOAD We have separate flags for non-autoloading class fetches and silent class fetches. There's no reason why NO_AUTOLOAD should be special-cased to be
Don't imply SILENT from NO_AUTOLOAD We have separate flags for non-autoloading class fetches and silent class fetches. There's no reason why NO_AUTOLOAD should be special-cased to be implicitly silent.
show more ...
|
#
c732ab40 |
| 16-Mar-2021 |
Dmitry Stogov |
Change Zend Stream API to use zend_string* instead of char*. This allows to eliminate re-calculation of string lenght and hash value. See the detailed list of changes in UPGRADING.INTERN
Change Zend Stream API to use zend_string* instead of char*. This allows to eliminate re-calculation of string lenght and hash value. See the detailed list of changes in UPGRADING.INTERNALS.
show more ...
|
#
59e61009 |
| 16-Mar-2021 |
Nikita Popov |
Check for WRONG_PROPERTY_INFO |
#
53e9c36c |
| 16-Mar-2021 |
Nikita Popov |
Add sanity check for type of read_property return value If an internal class overrides read_property and declared property types, make sure that the returned value matches the declared
Add sanity check for type of read_property return value If an internal class overrides read_property and declared property types, make sure that the returned value matches the declared type (in debug builds).
show more ...
|
#
056eac6b |
| 01-Mar-2021 |
Nikita Popov |
Merge branch 'PHP-8.0' * PHP-8.0: Fixed bug #80811
|
#
75a4f484 |
| 01-Mar-2021 |
Nikita Popov |
Fixed bug #80811 When filling in defaults for skipped params, make sure that reference parameters get the expected reference wrapper. |
#
8e8e0017 |
| 22-Feb-2021 |
Nikita Popov |
Merge branch 'PHP-8.0' * PHP-8.0: Fix trampoline leak on dynamic static call of non-static method
|
#
ab989441 |
| 22-Feb-2021 |
Nikita Popov |
Fix trampoline leak on dynamic static call of non-static method Fixes oss-fuzz #30317. |
#
6dd85f83 |
| 22-Feb-2021 |
Nikita Popov |
Fixed bug #80781 zend_find_array_dim_slow() may throw, make sure to handle this. This backports the code we already use for this on PHP-8.0, and also backports an exception check tha
Fixed bug #80781 zend_find_array_dim_slow() may throw, make sure to handle this. This backports the code we already use for this on PHP-8.0, and also backports an exception check that makes this easier to catch.
show more ...
|
#
e70f1b04 |
| 15-Feb-2021 |
Nikita Popov |
Merge branch 'PHP-8.0' * PHP-8.0: Fix symtable cache being used while cleaning symtable
|
#
88286256 |
| 15-Feb-2021 |
Nikita Popov |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Fix symtable cache being used while cleaning symtable
|
#
7b7d9983 |
| 15-Feb-2021 |
Nikita Popov |
Fix symtable cache being used while cleaning symtable We need to first clean the symtable and then check whether a cache slot is available for it. Otherwise, it may happen that a destruc
Fix symtable cache being used while cleaning symtable We need to first clean the symtable and then check whether a cache slot is available for it. Otherwise, it may happen that a destructor runs while cleaning the table and uses up all the remaining slots in the cache. This is particularly insidious because once we overflow the cache, the first pointer we modify is symtable_cache_ptr, making it hard to understand what happened after the fact. Fixes oss-fuzz #30815.
show more ...
|
#
b10416a6 |
| 30-Nov-2020 |
Nikita Popov |
Deprecate passing null to non-nullable arg of internal function This deprecates passing null to non-nullable scale arguments of internal functions, with the eventual goal of making the b
Deprecate passing null to non-nullable arg of internal function This deprecates passing null to non-nullable scale arguments of internal functions, with the eventual goal of making the behavior consistent with userland functions, where null is never accepted for non-nullable arguments. This change is expected to cause quite a lot of fallout. In most cases, calling code should be adjusted to avoid passing null. In some cases, PHP should be adjusted to make some function arguments nullable. I have already fixed a number of functions before landing this, but feel free to file a bug if you encounter a function that doesn't accept null, but probably should. (The rule of thumb for this to be applicable is that the function must have special behavior for 0 or "", which is distinct from the natural behavior of the parameter.) RFC: https://wiki.php.net/rfc/deprecate_null_to_scalar_internal_arg Closes GH-6475.
show more ...
|
#
e396506c |
| 11-Feb-2021 |
Nikita Popov |
Merge branch 'PHP-8.0' * PHP-8.0: Don't throw additional Error in require_once if exception already thrown
|
#
d80d9185 |
| 11-Feb-2021 |
Nikita Popov |
Don't throw additional Error in require_once if exception already thrown As pointed out in comments on bug #66216. |
#
ef516481 |
| 10-Feb-2021 |
Dmitry Stogov |
Use zend_type.ce_cache__ptr for caching class resulution during argument/result type checks |