diff options
Diffstat (limited to 'Zend/tests/bug26010.phpt')
-rw-r--r-- | Zend/tests/bug26010.phpt | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Zend/tests/bug26010.phpt b/Zend/tests/bug26010.phpt deleted file mode 100644 index a3c41faefc..0000000000 --- a/Zend/tests/bug26010.phpt +++ /dev/null @@ -1,19 +0,0 @@ ---TEST-- -Bug #26010 (private / protected variables get exposed by get_object_vars()) ---FILE-- -<?php -class foo { - private $private = 'private'; - protected $protected = 'protected'; - public $public = 'public'; -} -$data = new foo(); -$obj_vars = get_object_vars($data); -var_dump($obj_vars); -?> ---EXPECT-- -array(1) { - ["public"]=> - string(6) "public" -} - |