php-src/ext/zend_test/tests/observer_preload.inc
Bob Weinand 4052bbf0e3 Fix opcache preload with observers enabled
Signed-off-by: Bob Weinand <bobwei9@hotmail.com>
2022-11-09 16:36:28 +01:00

13 lines
No EOL
173 B
PHP

<?php
class Foo {
public static function test() {
return "foo::test";
}
}
if (true) {
function foo() {
return 'I should be observable';
}
}