summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt')
-rw-r--r--ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt6
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt b/ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt
index 4148fada0c..720ac95f4f 100644
--- a/ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt
+++ b/ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt
@@ -3,13 +3,9 @@ ReflectionFunction::isDeprecated
--CREDITS--
Stefan Koopmanschap <stefan@phpgg.nl>
TestFest PHP|Tek
---SKIPIF--
-<?php
-if (!extension_loaded('reflection') || !defined('PHP_VERSION_ID') || PHP_VERSION_ID < 50300) print 'skip';
-?>
--FILE--
<?php
-$rc = new ReflectionFunction('ereg');
+$rc = new ReflectionFunction('magic_quotes_runtime');
var_dump($rc->isDeprecated());
--EXPECTF--
bool(true)