]> granicus.if.org Git - php/commitdiff
fix tests
authorAntony Dovgal <tony2001@php.net>
Tue, 8 Aug 2006 20:17:31 +0000 (20:17 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 8 Aug 2006 20:17:31 +0000 (20:17 +0000)
ext/standard/tests/array/bug35014.phpt
ext/standard/tests/array/bug35014_64bit.phpt

index 99ef0f7eba31d6c838a7765281c2097126801281..c09ccf4cb44809b51ce2c5da7f5a3cef3a759885 100644 (file)
@@ -23,8 +23,18 @@ foreach ($tests as $v) {
 }
 ?>
 --EXPECTF--    
-
-Warning: array_product(): The argument should be an array in %s on line %d
+Warning: array_product() expects parameter 1 to be array, string given in %s on line %d
+NULL
+int(0)
+int(0)
+int(3)
+int(9)
+float(1)
+float(9.9999998E+15)
+float(2.8404260053903E+20)
+float(8589934590)
+--UEXPECTF--
+Warning: array_product() expects parameter 1 to be array, Unicode string given in %s on line %d
 NULL
 int(0)
 int(0)
index a5b8da8a3c93c3c0add8fa91a6f1f0d318d8001e..aa2d7242a1bbfda9c3283dbad77ce9e49d7710ea 100644 (file)
@@ -23,8 +23,18 @@ foreach ($tests as $v) {
 }
 ?>
 --EXPECTF--    
-
-Warning: array_product(): The argument should be an array in %s on line %d
+Warning: array_product() expects parameter 1 to be array, string given in %s on line %d
+NULL
+int(0)
+int(0)
+int(3)
+int(9)
+float(1)
+int(9999999800000001)
+float(2.8404260053903E+20)
+int(8589934590)
+--UEXPECTF--
+Warning: array_product() expects parameter 1 to be array, Unicode string given in %s on line %d
 NULL
 int(0)
 int(0)