1--TEST-- 2Bug #29505 (get_class_vars() severely broken when used with arrays) 3--FILE-- 4<?php 5 6class Test { 7 public $empty = array(); 8 public $three = array(1, "b"=>"c", 3=>array()); 9} 10 11var_dump(get_class_vars('Test')); 12 13?> 14--EXPECT-- 15array(2) { 16 ["empty"]=> 17 array(0) { 18 } 19 ["three"]=> 20 array(3) { 21 [0]=> 22 int(1) 23 ["b"]=> 24 string(1) "c" 25 [3]=> 26 array(0) { 27 } 28 } 29} 30