--TEST-- Bug #52193 (converting closure to array yields empty array) --FILE-- --EXPECTF-- array(1) { [0]=> int(1) } array(0) { } array(0) { } array(1) { [0]=> object(Closure)#%d (0) { } } int(2) array(1) { [0]=> object(Closure)#%d (1) { ["static"]=> array(1) { ["h"]=> &array(1) { [0]=> object(Closure)#%d (0) { } } } } } object(Closure)#%d (1) { ["static"]=> array(1) { ["h"]=> &array(1) { [0]=> object(Closure)#%d (0) { } } } } array(1) { [0]=> object(Closure)#%d (0) { } } array(2) { [0]=> object(Closure)#%d (0) { } [1]=> int(5) }