|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-08-03 19:04 UTC] helly@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 00:00:01 2025 UTC |
Description: ------------ The get_class_vars() function doesn't work correctly when the class contains an array. Reproduce code: --------------- <?php class ClassA { var $var=array(); } $var=get_class_vars('ClassA'); var_dump($var); Expected result: ---------------- array(1) { ["var"]=> array(0) { } } Actual result: -------------- array(1) { ["var"]=> UNKNOWN:0 }