andrey Tue Sep 30 11:06:06 2003 EDT
Modified files:
/php-src/ext/standard/tests/array 007.phpt
Log:
fix
Index: php-src/ext/standard/tests/array/007.phpt
diff -u php-src/ext/standard/tests/array/007.phpt:1.3
php-src/ext/standard/tests/array/007.phpt:1.4
--- php-src/ext/standard/tests/array/007.phpt:1.3 Tue Sep 23 13:40:34 2003
+++ php-src/ext/standard/tests/array/007.phpt Tue Sep 30 11:06:05 2003
@@ -2,6 +2,12 @@
Test array_diff and array_diff_assoc behaviour
--FILE--
<?php
+//-=-=-=-=-
+$a = array();
+$b = 3;
+$c = array(5);
+array_diff($a, $b, $c);
+//-=-=-=-=-=-
$a = array(1,"big"=>2,3,6,3,5,3,3,3,3,3,3,3,3,3,3);
$b = array(2,2,3,3,3,3,3,3,3,3,3,3,3,3,3);
$c = array(-1,1);
@@ -127,6 +133,7 @@
?>
--EXPECTF--
+Warning: array_diff(): Argument #2 is not an array in %s
$a=array (
0 => 1,
'big' => 2,
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php