mirror of
https://github.com/php/php-src.git
synced 2024-10-16 14:02:37 +00:00
80 lines
1.9 KiB
PHP
Executable File
80 lines
1.9 KiB
PHP
Executable File
--TEST--
|
|
Bug #29253 (array_diff with $GLOBALS argument fails)
|
|
--FILE--
|
|
<?php
|
|
$zz = $GLOBALS;
|
|
$gg = 'afad';
|
|
var_dump(array_diff_assoc($GLOBALS, $zz));
|
|
var_dump($gg);
|
|
?>
|
|
--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
|
|
array(0) {
|
|
}
|
|
string(4) "afad"
|
|
--UEXPECTF--
|
|
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
|
|
array(0) {
|
|
}
|
|
unicode(4) "afad"
|