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/ReflectionProperty_export_basic.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/ReflectionProperty_export_basic.phpt')
-rw-r--r-- | ext/reflection/tests/ReflectionProperty_export_basic.phpt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/reflection/tests/ReflectionProperty_export_basic.phpt b/ext/reflection/tests/ReflectionProperty_export_basic.phpt index e77a3b714a..28f1f6b988 100644 --- a/ext/reflection/tests/ReflectionProperty_export_basic.phpt +++ b/ext/reflection/tests/ReflectionProperty_export_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -Test ReflectionProperty::export() usage. +Test ReflectionProperty::__toString() usage. --FILE-- <?php @@ -7,10 +7,8 @@ class TestClass { public $proper = 5; } -var_dump(ReflectionProperty::export('TestClass', 'proper')); +echo new ReflectionProperty('TestClass', 'proper'); ?> --EXPECT-- Property [ <default> public $proper ] - -NULL |