← Back
Editing: preload_method_static_vars.phpt
--TEST-- Preloading inherited method with separated static vars --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_method_static_vars.inc --EXTENSIONS-- opcache --SKIPIF-- <?php if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows'); ?> --FILE-- <?php Foo::test(); Bar::test(); ?> --EXPECT-- int(1) int(2) int(3) int(4) int(1) int(2)
Save File
Cancel