1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix test that behaves differently w and w/o opcache

This commit is contained in:
Ilija Tovilo
2024-04-03 13:24:57 +02:00
parent 7db7c420f1
commit e5f4cdd62f

View File

@@ -9,11 +9,9 @@ function declare_local_class_exists() {
return true;
}
}
var_dump(CLASS_EXISTS('Foo'));
declare_local_class_exists();
var_dump(CLASS_EXISTS('Foo'));
?>
--EXPECT--
bool(false)
string(16) "Foo\class_exists"
bool(true)