Annotation of embedaddon/php/ext/reflection/tests/ReflectionFunction_isDisabled_basic.phpt, revision 1.1.1.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>