mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
15 lines
251 B
PHP
15 lines
251 B
PHP
--TEST--
|
|
ReflectionFunction::isDisabled
|
|
--CREDITS--
|
|
Stefan Koopmanschap <stefan@phpgg.nl>
|
|
TestFest PHP|Tek
|
|
--INI--
|
|
disable_functions=is_file
|
|
--FILE--
|
|
<?php
|
|
$rc = new ReflectionFunction('is_file');
|
|
var_dump($rc->isDisabled());
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|