mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
3121b7174f
And remove the Reflector::export() interface method.
15 lines
220 B
PHP
15 lines
220 B
PHP
--TEST--
|
|
Test ReflectionProperty::__toString() usage.
|
|
--FILE--
|
|
<?php
|
|
|
|
class TestClass {
|
|
public $proper = 5;
|
|
}
|
|
|
|
echo new ReflectionProperty('TestClass', 'proper');
|
|
|
|
?>
|
|
--EXPECT--
|
|
Property [ <default> public $proper ]
|