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