php-src/ext/standard/tests/array/bug29253.phpt
Steph Fox 833f4150a1 - killed off UEXPECT
- could someone please fix var_export2.phpt? NUL is corrupted, can't fix here
2008-05-26 23:36:10 +00:00

45 lines
1.0 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) {
}
unicode(4) "afad"