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

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

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