2005-08-10 07:43:16 +00:00
|
|
|
--TEST--
|
2007-05-07 17:23:53 +00:00
|
|
|
Bug #29253 (array_diff with $GLOBALS argument fails)
|
2005-08-10 07:43:16 +00:00
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
$zz = $GLOBALS;
|
|
|
|
$gg = 'afad';
|
|
|
|
var_dump(array_diff_assoc($GLOBALS, $zz));
|
|
|
|
var_dump($gg);
|
|
|
|
?>
|
2007-05-29 12:17:37 +00:00
|
|
|
--EXPECTF--
|
|
|
|
Notice: Array to string conversion in %s on line %d
|
|
|
|
|
|
|
|
Notice: Array to string conversion in %s on line %d
|
|
|
|
|
|
|
|
Notice: Array to string conversion in %s on line %d
|
|
|
|
|
|
|
|
Notice: Array to string conversion in %s on line %d
|
|
|
|
|
|
|
|
Notice: Array to string conversion in %s on line %d
|
|
|
|
|
|
|
|
Notice: Array to string conversion in %s on line %d
|
|
|
|
|
|
|
|
Notice: Array to string conversion in %s on line %d
|
|
|
|
|
|
|
|
Notice: Array to string conversion in %s on line %d
|
|
|
|
|
|
|
|
Notice: Array to string conversion in %s on line %d
|
|
|
|
|
|
|
|
Notice: Array to string conversion in %s on line %d
|
|
|
|
|
|
|
|
Notice: Array to string conversion in %s on line %d
|
|
|
|
|
|
|
|
Notice: Array to string conversion in %s on line %d
|
|
|
|
|
|
|
|
Notice: Array to string conversion in %s on line %d
|
|
|
|
|
|
|
|
Notice: Array to string conversion in %s on line %d
|
|
|
|
|
|
|
|
Notice: Array to string conversion in %s on line %d
|
|
|
|
|
|
|
|
Notice: Array to string conversion in %s on line %d
|
2005-08-15 14:37:55 +00:00
|
|
|
array(0) {
|
|
|
|
}
|
|
|
|
unicode(4) "afad"
|