1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 17:22:15 +01:00
Files
archived-php-src/ext/standard/tests/array/bug29253.phpt
2005-08-11 23:53:59 +00:00

15 lines
209 B
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);
?>
--EXPECT--
array(0) {
}
string(4) "afad"