summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionFunction_isDisabled_basic.phpt
blob: c71b96b8ef09c0984cf72bb3ae9a3e6c3b8afcac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
ReflectionFunction::isDisabled
--CREDITS--
Stefan Koopmanschap <stefan@phpgg.nl>
TestFest PHP|Tek
--SKIPIF--
<?php
if (!extension_loaded('reflection')) print 'skip';
?>
--INI--
disable_functions=is_file
--FILE-- 
<?php
$rc = new ReflectionFunction('is_file');
echo var_dump($rc->isDisabled());
--EXPECTF--
bool(true)