mirror of
https://github.com/php/php-src.git
synced 2024-10-19 23:44:13 +00:00
17 lines
231 B
Plaintext
17 lines
231 B
Plaintext
|
--TEST--
|
||
|
Test ReflectionProperty::export() usage.
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
class TestClass {
|
||
|
public $proper = 5;
|
||
|
}
|
||
|
|
||
|
var_dump(ReflectionProperty::export('TestClass', 'proper'));
|
||
|
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
Property [ <default> public $proper ]
|
||
|
|
||
|
NULL
|