diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-11 13:41:10 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-22 11:39:52 +0200 |
| commit | 3121b7174f4cb077b1165bf4feed1ec889472f1e (patch) | |
| tree | 1b3ba56803e7840d3f62110d8105a3e94d628de0 /ext/reflection/tests/bug41061.phpt | |
| parent | 0ba7c3eadf2683e4581079ea04b5b3019a5b6cce (diff) | |
| download | php-git-3121b7174f4cb077b1165bf4feed1ec889472f1e.tar.gz | |
Deprecate Reflection export() methods
And remove the Reflector::export() interface method.
Diffstat (limited to 'ext/reflection/tests/bug41061.phpt')
| -rw-r--r-- | ext/reflection/tests/bug41061.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/reflection/tests/bug41061.phpt b/ext/reflection/tests/bug41061.phpt index d907907dcf..027b872be9 100644 --- a/ext/reflection/tests/bug41061.phpt +++ b/ext/reflection/tests/bug41061.phpt @@ -1,5 +1,5 @@ --TEST-- -Reflection Bug #41061 ("visibility error" in ReflectionFunction::export()) +Reflection Bug #41061 ("visibility error" in ReflectionFunction::__toString()) --FILE-- <?php @@ -11,8 +11,8 @@ class bar { } } -Reflection::export(new ReflectionFunction('foo')); -Reflection::export(new ReflectionMethod('bar', 'foo')); +echo new ReflectionFunction('foo'), "\n"; +echo new ReflectionMethod('bar', 'foo'), "\n"; ?> ===DONE=== <?php exit(0); ?> |
