php-src/ext/zend_test/tests/optimizer_register_pass.phpt
Nikita Popov 1a370d3321 Skip some tests under --preload
A genuine problem here is that we sometime get different class
casing due interaction with the ZSTR CE cache. Ignore these for
now.
2021-07-30 17:26:39 +02:00

27 lines
400 B
PHP

--TEST--
Optimizer: Pass Registration
--EXTENSIONS--
opcache
zend_test
--SKIPIF--
<?php
if (getenv("SKIP_REPEAT")) {
die("skip pass registration does not need repeat");
}
if (getenv("SKIP_PRELOAD")) {
die("skip Not compatible with preload");
}
?>
--INI--
opcache.enable_cli=1
opcache.file_cache=
opcache.file_cache_only=0
zend_test.register_passes=1
--FILE--
<?php
?>
--EXPECT--
pass1
pass2