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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user