cvs: php-src /ext/standard/tests/array 007.phpt

From: Date: Tue, 30 Sep 2003 15:06:06 +0000
Subject: cvs: php-src /ext/standard/tests/array 007.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23964@lists.php.net to get a copy of this message
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,

« previous php.cvs (#23964) next »