#
b3189e7d |
| 26-Jan-2021 |
Nikita Popov |
Merge branch 'PHP-8.0' * PHP-8.0: Fix VAR return type verification
|
#
a2dcd442 |
| 26-Jan-2021 |
Nikita Popov |
Fix VAR return type verification We should also set retval_ref when de-indirecting. Otherwise the retval_ref != retval_ptr comparison below may incorrect assume that we're returning
Fix VAR return type verification We should also set retval_ref when de-indirecting. Otherwise the retval_ref != retval_ptr comparison below may incorrect assume that we're returning a reference. I don't have a reliable reproducer for this issue, but it sometimes appears in certain configurations in arrow_functions/007.phpt in conjunction with other changes.
show more ...
|
#
776726da |
| 26-Jan-2021 |
Nikita Popov |
Add missing resource key warning for unset() It was present on other operations, including isset(), but was missing for unset(). |
#
3e01f5af |
| 15-Jan-2021 |
Nikita Popov |
Replace zend_bool uses with bool We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool
Replace zend_bool uses with bool We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
show more ...
|
#
9fc11762 |
| 11-Jan-2021 |
Dmitry Stogov |
PHP array cannot refer to EG(symbol_table) any more. Replace corresponding checks by ZEND_ASSERT(). |
#
22793884 |
| 03-Dec-2020 |
Nikita Popov |
Remove some INDIRECT handling in VM |
#
3c68f38f |
| 02-Dec-2020 |
Nikita Popov |
Restrict allowed usages of $GLOBALS This restricts allowed usage of $GLOBALS, with the effect that plain PHP arrays can no longer contain INDIRECT elements. RFC: https://wiki.ph
Restrict allowed usages of $GLOBALS This restricts allowed usage of $GLOBALS, with the effect that plain PHP arrays can no longer contain INDIRECT elements. RFC: https://wiki.php.net/rfc/restrict_globals_usage Closes GH-6487.
show more ...
|
#
58d41b8c |
| 11-Nov-2020 |
Sammy Kaye Powers |
Provide unused retvals to observers Make sure that the return value is available to observers, even if it is not used by the caller. Closes GH-6422. |
#
855d8fa6 |
| 11-Nov-2020 |
Dmitry Stogov |
[Observer] Save opline before calling begin/end handlers |
#
1748b811 |
| 13-Oct-2020 |
Nikita Popov |
Fix handling of throwing undef var in verify return If we have an undefined variable and null is not accepted by the return type, we want to throw just the undef var error. In t
Fix handling of throwing undef var in verify return If we have an undefined variable and null is not accepted by the return type, we want to throw just the undef var error. In this case this lead to an infinite loop, because we overwrite the exception opline in SAVE_OPLINE and it does not get reset when chaining into a previous exception. Add an assertiong to catch this case earlier.
show more ...
|
#
d953cd18 |
| 12-Oct-2020 |
Nikita Popov |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Avoid non-object in FE_FREE
|
#
304141e8 |
| 12-Oct-2020 |
Nikita Popov |
Avoid non-object in FE_FREE Even if the properties HT is empty, make sure we still leave an object in the FE_RESET result, so our type inference results stay correct. |
#
623bf39e |
| 09-Oct-2020 |
Nikita Popov |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Fixed bug #80186
|
#
15443f8a |
| 09-Oct-2020 |
Nikita Popov |
Fixed bug #80186 Early exit in FE_RESET if get_properties() returns empty array, as we cannot add HT iterators to zend_empty_array. |
#
fd81e708 |
| 07-Oct-2020 |
Dmitry Stogov |
Fixed incorrect behavior of observer API. ZEND_HANDLE_EXCEPTION might call zend_observer_fcall_end() even if exception is cought by function. The fix moved zend_observer_fcall_end() into a r
Fixed incorrect behavior of observer API. ZEND_HANDLE_EXCEPTION might call zend_observer_fcall_end() even if exception is cought by function. The fix moved zend_observer_fcall_end() into a right place and remove OBSERVER sepecialization for ZEND_HANDLE_EXCEPTION handler.
show more ...
|
#
2ee7e298 |
| 21-Sep-2020 |
George Peter Banyard |
Promote count() warning to TypeError Closes GH-6180 |
#
213b6667 |
| 21-Sep-2020 |
Nikita Popov |
Synchronize GET_CLASS/GET_CALLED_CLASS opcodes with functions These error conditions throw in the function implementations, make the opcodes match. |
#
d5d31ea3 |
| 18-Sep-2020 |
Dmitry Stogov |
Cleanup observer API and add JIT support |
#
9e94bcfd |
| 17-Sep-2020 |
Sammy Kaye Powers |
Remove specialization of SPEC(OBSERVER) handlers |
#
6d538e83 |
| 15-Sep-2020 |
Bob Weinand |
Fix OSS Fuzz issue: yielding from an aborted generator |
#
3c537323 |
| 15-Sep-2020 |
Nikita Popov |
Fix undef var exception handling in JMP_NULL We need to initialize the result variable in the exceptional case as well. Fixes oss-fuzz #25526. |
#
9975986b |
| 16-Aug-2020 |
Máté Kocsis |
Improve error messages mentioning parameters instead of arguments Closes GH-5999 |
#
a6a96116 |
| 08-Sep-2020 |
Dmitry Stogov |
micro-optimization |
#
cd1c36f7 |
| 03-Sep-2020 |
Nikita Popov |
Merge branch 'PHP-7.4' * PHP-7.4: Fixed bug #80049
|
#
2dabc4c3 |
| 03-Sep-2020 |
Nikita Popov |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fixed bug #80049
|