]> granicus.if.org Git - php/commitdiff
- Fixed tests (NULL is allowed where binary string is expected)
authorFelipe Pena <felipe@php.net>
Tue, 15 Apr 2008 17:13:08 +0000 (17:13 +0000)
committerFelipe Pena <felipe@php.net>
Tue, 15 Apr 2008 17:13:08 +0000 (17:13 +0000)
ext/standard/tests/strings/addcslashes_003.phpt
ext/standard/tests/strings/crc32_variation1.phpt

index 10b1e99738b27c6c701f635f52c59781aae91be4..7ca33e11eca24ba6d3e517432231610db33a97ce 100644 (file)
Binary files a/ext/standard/tests/strings/addcslashes_003.phpt and b/ext/standard/tests/strings/addcslashes_003.phpt differ
index d2f8e5b41faf5887499be560945fa56f0b326186..e72734cf37d8c85537d1975400f23db619fe436c 100644 (file)
@@ -158,14 +158,10 @@ Warning: crc32() expects parameter 1 to be string, array given in %s on line %d
 NULL
 
 -- Iteration 15 --
-
-Warning: crc32() expects parameter 1 to be strictly a binary string, null given in %s on line %d
-NULL
+int(0)
 
 -- Iteration 16 --
-
-Warning: crc32() expects parameter 1 to be strictly a binary string, null given in %s on line %d
-NULL
+int(0)
 
 -- Iteration 17 --
 int(-2082672713)
@@ -189,14 +185,10 @@ int(0)
 int(-1465013268)
 
 -- Iteration 24 --
-
-Warning: crc32() expects parameter 1 to be strictly a binary string, null given in %s on line %d
-NULL
+int(0)
 
 -- Iteration 25 --
-
-Warning: crc32() expects parameter 1 to be strictly a binary string, null given in %s on line %d
-NULL
+int(0)
 
 -- Iteration 26 --
 
@@ -263,14 +255,10 @@ Warning: crc32() expects parameter 1 to be binary string, array given in %s on l
 NULL
 
 -- Iteration 15 --
-
-Warning: crc32() expects parameter 1 to be strictly a binary string, null given in %s on line %d
-NULL
+int(0)
 
 -- Iteration 16 --
-
-Warning: crc32() expects parameter 1 to be strictly a binary string, null given in %s on line %d
-NULL
+int(0)
 
 -- Iteration 17 --
 int(-2082672713)
@@ -298,14 +286,10 @@ NULL
 int(-1465013268)
 
 -- Iteration 24 --
-
-Warning: crc32() expects parameter 1 to be strictly a binary string, null given in %s on line %d
-NULL
+int(0)
 
 -- Iteration 25 --
-
-Warning: crc32() expects parameter 1 to be strictly a binary string, null given in %s on line %d
-NULL
+int(0)
 
 -- Iteration 26 --