summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt11
1 files changed, 3 insertions, 8 deletions
diff --git a/ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt b/ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt
index 39323fd280..7b37b939e4 100644
--- a/ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt
+++ b/ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt
@@ -3,15 +3,10 @@ ReflectionFunction::isDeprecated
--CREDITS--
Stefan Koopmanschap <stefan@phpgg.nl>
TestFest PHP|Tek
---SKIPIF--
-<?php
-
-if (!extension_loaded('mcrypt')) echo "skip no deprecated functions available";
-
-?>
--FILE--
<?php
-$rc = new ReflectionFunction('mcrypt_ecb');
+// We currently don't have any deprecated functions :/
+$rc = new ReflectionFunction('var_dump');
var_dump($rc->isDeprecated());
--EXPECTF--
-bool(true)
+bool(false)