![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: Bug #29253 (array_diff with $GLOBALS argument fails) 3: --FILE-- 4: <?php 5: $zz = $GLOBALS; 6: $gg = 'afad'; 7: var_dump(array_diff_assoc($GLOBALS, $zz)); 8: var_dump($gg); 9: ?> 10: --EXPECTF-- 11: array(0) { 12: } 13: string(4) "afad"