mirror of
https://github.com/php/php-src.git
synced 2024-10-03 07:46:12 +00:00
18 lines
321 B
PHP
18 lines
321 B
PHP
--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');
|
|
var_dump($rc->isDisabled());
|
|
--EXPECTF--
|
|
bool(true)
|