diff options
| author | Tjerk Meesters <datibbaw@php.net> | 2014-08-28 16:41:38 +0800 |
|---|---|---|
| committer | Tjerk Meesters <datibbaw@php.net> | 2014-09-11 10:22:44 +0800 |
| commit | 86de7963fe69638431c0aa8f413d25e01bf99d68 (patch) | |
| tree | 4560e915002400c61de33493fc1c06705e046679 /ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt | |
| parent | e699f654f0c4b00fd4e915829842c43aa9c6f7b9 (diff) | |
| download | php-git-86de7963fe69638431c0aa8f413d25e01bf99d68.tar.gz | |
Removing ext/ereg and dependencies
Affected extensions:
- opcache (use pcre)
- mbstring (removed ereg functions overloading)
- pgsql (use pcre)
- reflection (test cases using 'ereg')
SAPI:
- apache (header only)
- apache_hooks (header only)
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) |
