History log of /PHP-8.1/ext/zend_test/tests/observer_error_05.phpt (Results 1 – 5 of 5)
Revision Date Author Comments
# 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 ...


# 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.


# 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).