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 | |
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')
-rw-r--r-- | ext/reflection/tests/ReflectionExtension_getClassNames_variation1.phpt | 8 | ||||
-rw-r--r-- | ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/ext/reflection/tests/ReflectionExtension_getClassNames_variation1.phpt b/ext/reflection/tests/ReflectionExtension_getClassNames_variation1.phpt index cd5dc0b281..91912b9220 100644 --- a/ext/reflection/tests/ReflectionExtension_getClassNames_variation1.phpt +++ b/ext/reflection/tests/ReflectionExtension_getClassNames_variation1.phpt @@ -2,10 +2,14 @@ ReflectionExtension::getClassNames() method on an extension with no classes --CREDITS-- Felix De Vliegher <felix.devliegher@gmail.com> +--SKIPIF-- +<?php +extension_loaded('ctype') or die("skip Requires 'ctype' extension"); +?> --FILE-- <?php -$ereg = new ReflectionExtension('ereg'); -var_dump($ereg->getClassNames()); +$extension = new ReflectionExtension('ctype'); +var_dump($extension->getClassNames()); ?> ==DONE== --EXPECT-- 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) |