diff options
| author | Tjerk Meesters <datibbaw@php.net> | 2014-09-11 19:25:42 +0800 |
|---|---|---|
| committer | Tjerk Meesters <datibbaw@php.net> | 2014-09-11 19:25:42 +0800 |
| commit | 18fa07e68f40a506191d7ecbeffedeabe3eb74df (patch) | |
| tree | c18d1485ec93ff3a70c414a11b39115eb0727234 /ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt | |
| parent | 82096dc15181fce8f3d748a4f86b35911a5d107e (diff) | |
| download | php-git-18fa07e68f40a506191d7ecbeffedeabe3eb74df.tar.gz | |
Revert "Revert "Removing ext/ereg and dependencies""
This reverts commit 1981dd9c73ada7ea893b4636b84211f68838ba23.
Diffstat (limited to 'ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt')
| -rw-r--r-- | ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt | 6 |
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) |
