]> granicus.if.org Git - php/commit
Disable opcache optimizations during some observer tests
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 19 Jan 2021 08:59:26 +0000 (09:59 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 19 Jan 2021 09:02:08 +0000 (10:02 +0100)
commitdd7d829896d6efaf35e001c0a57db20cfcc42be3
treebcec19d26fd242788e39332f84a6c14473e4f61a
parentf2364f316d37334192fc6575b2de4144c8039c2f
Disable opcache optimizations during some observer tests

Opcache inlines functions that only return a constant. Disable
optimizations to prevent differences in tests where such functions
are used (or rewrite the test to not depend on it).
ext/zend_test/tests/observer_retval_01.phpt
ext/zend_test/tests/observer_retval_by_ref_03.phpt
ext/zend_test/tests/observer_shutdown_01.phpt
ext/zend_test/tests/observer_shutdown_02.phpt