php-src/ext/reflection/tests/ReflectionFunction_isDisabled_basic.phpt
Gabriel Caruso ded3d984c6 Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00

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)