From: Felipe Pena Date: Tue, 15 Apr 2008 17:13:08 +0000 (+0000) Subject: - Fixed tests (NULL is allowed where binary string is expected) X-Git-Tag: RELEASE_2_0_0b1~375 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04d0bb1e10f4115be09b927d77845bfd04aabdff;p=php - Fixed tests (NULL is allowed where binary string is expected) --- diff --git a/ext/standard/tests/strings/addcslashes_003.phpt b/ext/standard/tests/strings/addcslashes_003.phpt index 10b1e99738..7ca33e11ec 100644 Binary files a/ext/standard/tests/strings/addcslashes_003.phpt and b/ext/standard/tests/strings/addcslashes_003.phpt differ diff --git a/ext/standard/tests/strings/crc32_variation1.phpt b/ext/standard/tests/strings/crc32_variation1.phpt index d2f8e5b41f..e72734cf37 100644 --- a/ext/standard/tests/strings/crc32_variation1.phpt +++ b/ext/standard/tests/strings/crc32_variation1.phpt @@ -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 --