Revision tags: php-8.1.0RC4 |
|
#
08c29a65 |
| 07-Oct-2021 |
Nikita Popov |
Handle undefined dim in assign_dim_helper Not only the value can be undefined here, but the offset as well.
|
#
6ab36fb6 |
| 07-Oct-2021 |
Dmitry Stogov |
JIT: Fixed incorrect reference handling in PRE_INC/DEC_OBJ
|
Revision tags: php-8.0.12RC1, php-7.4.25RC1 |
|
#
a4fa00ea |
| 05-Oct-2021 |
Nikita Popov |
Reuse wrong string offset logic in jit JIT contains a copy of this function that effectively only differs by fetching current_execute_data from EG. We can do that in the VM version a
Reuse wrong string offset logic in jit JIT contains a copy of this function that effectively only differs by fetching current_execute_data from EG. We can do that in the VM version as well, as this is just used to throw an error. Export the VM function and reuse it in JIT.
show more ...
|
Revision tags: php-8.1.0RC3 |
|
#
17b127a8 |
| 28-Sep-2021 |
Dmitry Stogov |
JIT: Fixed result when assigning to typed reference
|
#
0391c55b |
| 28-Sep-2021 |
Nikita Popov |
Check exception before using undef_result_after_exception() undefined_op_helper_write() can return 0 not just if an exception is thrown, so check this explicitly. This fixes an issue int
Check exception before using undef_result_after_exception() undefined_op_helper_write() can return 0 not just if an exception is thrown, so check this explicitly. This fixes an issue introduced in fe1633f0104521117edabefea78803d77d3d57b1.
show more ...
|
#
fe1633f0 |
| 28-Sep-2021 |
Nikita Popov |
Undef result if undef dim warning promoted to exception Fixes oss-fuzz #39278.
|
#
325865d7 |
| 27-Sep-2021 |
Dmitry Stogov |
JIT: Split zend_jit_hash_index_lookup_rw() into zend_jit_hash_index_lookup_rw() and zend_jit_hash_index_lookup_rw_no_packed(). The previous version might fail if zend_jit_hash_index_lookup_r
JIT: Split zend_jit_hash_index_lookup_rw() into zend_jit_hash_index_lookup_rw() and zend_jit_hash_index_lookup_rw_no_packed(). The previous version might fail if zend_jit_hash_index_lookup_rw() was called for packed array.
show more ...
|
#
09d4037a |
| 22-Sep-2021 |
Dmitry Stogov |
JIT: Fixed possible memory leak
|
#
77087970 |
| 22-Sep-2021 |
Nikita Popov |
Fix JIT typed property inc/dec This was leaking memory for pre-inc/dec of a refcounted typed property if the result was not used. The code to do this was unnecessarily complicat
Fix JIT typed property inc/dec This was leaking memory for pre-inc/dec of a refcounted typed property if the result was not used. The code to do this was unnecessarily complicated, we can base this on the zend_jit_inc/dec_typed_prop() helper and copy to the result afterwards.
show more ...
|
Revision tags: php-8.0.11, php-7.4.24 |
|
#
f4bcf8c3 |
| 21-Sep-2021 |
Nikita Popov |
Check for undef var in typed property assignment Without this check the assignment would actually silently succeed, not just skip the warning.
|
Revision tags: php-7.3.31 |
|
#
3ee85ccd |
| 15-Sep-2021 |
Nikita Popov |
Handle undef assignment to typed ref
|
Revision tags: php-8.1.0RC2 |
|
#
e7663785 |
| 13-Sep-2021 |
Nikita Popov |
Handle undef value in assign_dim jit We should report the undefined variable here and convert it to null. Passing on undef is particularly insidious here, because a write_dimension h
Handle undef value in assign_dim jit We should report the undefined variable here and convert it to null. Passing on undef is particularly insidious here, because a write_dimension handler may insert it into a hash table (observed with WeakMap).
show more ...
|
Revision tags: php-7.4.24RC1, php-8.0.11RC1 |
|
#
7fcb45df |
| 07-Sep-2021 |
Dmitry Stogov |
JIT: prefer string reallocation instead of allocation/memcpy/deallocation
|
#
d4ed6b63 |
| 07-Sep-2021 |
Dmitry Stogov |
JIT: Update run_time_cache slot in zend_jit_find_func helper
|
Revision tags: php-8.1.0RC1 |
|
#
5b2ddf5a |
| 31-Aug-2021 |
Nikita Popov |
Export zend_use_resource_as_offset() Use a common implementation to generate this error message, as we do so in quite a few places dealing with array keys.
|
#
c5ded136 |
| 24-Aug-2021 |
Dmitry Stogov |
JIT: Code generation for ROPE_INIT, ROPE_ADD and ROPE_END with STRING operands
|
Revision tags: php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22 |
|
#
a3f5b119 |
| 21-Jul-2021 |
Nikita Popov |
Sync JIT overloaded assign/inc/dec overloaded property We should only release the read_property return value if retval is used, same as in zend_execute.c. This fixes a test failure u
Sync JIT overloaded assign/inc/dec overloaded property We should only release the read_property return value if retval is used, same as in zend_execute.c. This fixes a test failure under PROFITABILITY_CHECKS=0.
show more ...
|
#
a190c7fd |
| 21-Jul-2021 |
Nikita Popov |
Sync JIT zend_check_string_offset() Return after zend_jit_illegal_string_offset() to avoid a redundant warning during conversion. This fixes some tests under PROFITABILITY_CHECK
Sync JIT zend_check_string_offset() Return after zend_jit_illegal_string_offset() to avoid a redundant warning during conversion. This fixes some tests under PROFITABILITY_CHECKS=0.
show more ...
|
#
ae8647d9 |
| 20-Jul-2021 |
Levi Morrison |
Remove leading underscore for _zend_hash_find_known_hash (#7260) Convert zend_hash_find_ex(..., 1) to zend_hash_find_known_hash(...) Convert zend_hash_find_ex(..., 0) to zend_hash_find(.
Remove leading underscore for _zend_hash_find_known_hash (#7260) Convert zend_hash_find_ex(..., 1) to zend_hash_find_known_hash(...) Convert zend_hash_find_ex(..., 0) to zend_hash_find(...) Also add serializable changes to UPGRADING.INTERNALS summary
show more ...
|
Revision tags: php-8.1.0beta1, php-7.4.22RC1, php-8.0.9RC1, php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1 |
|
#
6780aaa5 |
| 02-Jun-2021 |
Nikita Popov |
Implement readonly properties Add support for readonly properties, for which only a single initializing assignment from the declaring scope is allowed. RFC: https://wiki.php.net
Implement readonly properties Add support for readonly properties, for which only a single initializing assignment from the declaring scope is allowed. RFC: https://wiki.php.net/rfc/readonly_properties_v2 Closes GH-7089.
show more ...
|
#
052af90b |
| 09-Jun-2021 |
Kamil Tekiela |
Deprecate autovivification on false Deprecate automatically converting "false" into an empty array on write operands. Autovivification continues to be supported for "null" values, as
Deprecate autovivification on false Deprecate automatically converting "false" into an empty array on write operands. Autovivification continues to be supported for "null" values, as well as undefined/uninitialized values. RFC: https://wiki.php.net/rfc/autovivification_false Closes GH-7131. Co-authored-by: Tyson Andre <tysonandre775@hotmail.com> Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
show more ...
|
#
6fd88089 |
| 14-Jul-2021 |
Nikita Popov |
Add exception check to zend_jit_fetch_obj_w_slow() This ports 247105ae1ae2a04608078f7fcfe88dacab9f55a4 to the JIT implementation. The issue doesn't trigger on the original test case
Add exception check to zend_jit_fetch_obj_w_slow() This ports 247105ae1ae2a04608078f7fcfe88dacab9f55a4 to the JIT implementation. The issue doesn't trigger on the original test case with JIT, but I ran into a case that does trigger with JIT once we have typed properties.
show more ...
|
#
069a9fa5 |
| 05-Jul-2021 |
George Peter Banyard |
Pure Intersection types (#6799) Implement pure intersection types RFC RFC: https://wiki.php.net/rfc/pure-intersection-types Co-authored-by: Nikita Popov <nikic@php.net>
Pure Intersection types (#6799) Implement pure intersection types RFC RFC: https://wiki.php.net/rfc/pure-intersection-types Co-authored-by: Nikita Popov <nikic@php.net> Co-authored-by: Ilija Tovilo <ilutov@php.net>
show more ...
|
#
973ae8d3 |
| 23-Jun-2021 |
Dmitry Stogov |
Move the whole "cold" path into the "cold" function.
|
Revision tags: php-8.0.7, php-7.4.20 |
|
#
b6958bb8 |
| 31-May-2021 |
George Peter Banyard |
Implement "Deprecate implicit non-integer-compatible float to int conversions" RFC. (#6661) RFC: https://wiki.php.net/rfc/implicit-float-int-deprecate Co-authored-by: Nikita Popov <
Implement "Deprecate implicit non-integer-compatible float to int conversions" RFC. (#6661) RFC: https://wiki.php.net/rfc/implicit-float-int-deprecate Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
show more ...
|