felipe Tue Apr 15 17:13:09 2008 UTC Modified files: /php-src/ext/standard/tests/strings addcslashes_003.phpt crc32_variation1.phpt Log: - Fixed tests (NULL is allowed where binary string is expected) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/addcslashes_003.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/strings/addcslashes_003.phpt http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/crc32_variation1.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/strings/crc32_variation1.phpt diff -u php-src/ext/standard/tests/strings/crc32_variation1.phpt:1.3 php-src/ext/standard/tests/strings/crc32_variation1.phpt:1.4 --- php-src/ext/standard/tests/strings/crc32_variation1.phpt:1.3 Fri Nov 9 07:29:18 2007 +++ php-src/ext/standard/tests/strings/crc32_variation1.phpt Tue Apr 15 17:13:08 2008 @@ -158,14 +158,10 @@ 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(-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 @@ 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 @@ 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 --
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php