|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-01-13 18:29 UTC] du at bestwaytech dot com
[2005-01-14 02:25 UTC] jed@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 06:00:01 2025 UTC |
Description: ------------ get_class_vars does not return private and protected variables Using PHP 5.0.3 with IIS under Windows XP Pro SP2 Reproduce code: --------------- class test { private $a = "private"; protected $b = "protected"; public $c = "public"; } print_r(get_class_vars("test")); Expected result: ---------------- Array ( [a] => private [b] => protected [c] => public ) Actual result: -------------- Array ( [c] => public )