History log of /PHP-8.1/ext/zend_test/tests/observer_error_05.phpt (Results 1 – 6 of 6)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# ed041c34 02-Apr-2024 Ilija Tovilo

Partial backport of e7462bf

e7462bff19228162a21ccc6dd248b0dbffc15517


Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0, php-7.3.33, php-7.3.32, php-7.3.31
# 12b0f1b7 13-Sep-2021 Bob Weinand

Fix #81435 Observer current_observed_frame may point to an old (overwritten) frame

Ensure current_observed_frame always points to an actually observed frame.
This solution has a caveat o

Fix #81435 Observer current_observed_frame may point to an old (overwritten) frame

Ensure current_observed_frame always points to an actually observed frame.
This solution has a caveat of being O(stack size), with the worst case occurring if there are a lot of frames between the current and previous observed frames.
An O(1) solution would require keeping track of the previous observed frame, which would require some additional frame attached metadata, which is best not attempted in an already released version.

show more ...


Revision tags: php-7.3.30, php-7.3.29
# 74859783 11-Jun-2021 Nikita Popov

Migrate SKIPIF -> EXTENSIONS (#7138)

This is an automated migration of most SKIPIF extension_loaded checks.


# 28dbdd52 30-Apr-2021 Nikita Popov

Re-enable observer fatal error test

Now that zend_call_function() no longer inserts dummy frames,
this should be safe and no longer fail on some platforms.


Revision tags: php-7.3.28, php-7.3.27
# cab1ea46 01-Feb-2021 Nikita Popov

XFAIL observer_error_05.phpt test


# 094e1a8b 26-Jan-2021 Dmitry Stogov

Skip dummy frames allocated on CPU stack of zend_call_function().
(Usage of "current_observed_frame" varible looks unsafe to me).