kraghuba Tue Oct 9 11:58:52 2007 UTC Modified files: /php-src/ext/standard/tests/strings wordwrap_variation3.phpt strcspn_basic.phpt Log: added unicode output http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/wordwrap_variation3.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/strings/wordwrap_variation3.phpt diff -u php-src/ext/standard/tests/strings/wordwrap_variation3.phpt:1.2 php-src/ext/standard/tests/strings/wordwrap_variation3.phpt:1.3 --- php-src/ext/standard/tests/strings/wordwrap_variation3.phpt:1.2 Fri Sep 14 19:09:11 2007 +++ php-src/ext/standard/tests/strings/wordwrap_variation3.phpt Tue Oct 9 11:58:52 2007 @@ -300,3 +300,203 @@ Warning: wordwrap(): Break string cannot be empty in %s on line %d bool(false) Done +--UEXPECTF-- +--UEXPECTF-- +*** Testing wordwrap() : usage variations *** + +--- Testing wordwrap() by supplying different values for 'break' argument --- +-- Iteration 1 -- +string(25) "testing0wordwrap0function" +string(25) "testing0wordwrap0function" +string(25) "testing0wordwrap0function" +-- Iteration 2 -- +string(25) "testing1wordwrap1function" +string(25) "testing1wordwrap1function" +string(25) "testing1wordwrap1function" +-- Iteration 3 -- +string(33) "testing12345wordwrap12345function" +string(33) "testing12345wordwrap12345function" +string(33) "testing12345wordwrap12345function" +-- Iteration 4 -- +string(33) "testing-2345wordwrap-2345function" +string(33) "testing-2345wordwrap-2345function" +string(33) "testing-2345wordwrap-2345function" +-- Iteration 5 -- +string(31) "testing10.5wordwrap10.5function" +string(31) "testing10.5wordwrap10.5function" +string(31) "testing10.5wordwrap10.5function" +-- Iteration 6 -- +string(33) "testing-10.5wordwrap-10.5function" +string(33) "testing-10.5wordwrap-10.5function" +string(33) "testing-10.5wordwrap-10.5function" +-- Iteration 7 -- +string(47) "testing105000000000wordwrap105000000000function" +string(47) "testing105000000000wordwrap105000000000function" +string(47) "testing105000000000wordwrap105000000000function" +-- Iteration 8 -- +string(37) "testing1.06E-9wordwrap1.06E-9function" +string(37) "testing1.06E-9wordwrap1.06E-9function" +string(37) "testing1.06E-9wordwrap1.06E-9function" +-- Iteration 9 -- +string(29) "testing0.5wordwrap0.5function" +string(29) "testing0.5wordwrap0.5function" +string(29) "testing0.5wordwrap0.5function" +-- Iteration 10 -- + +Warning: wordwrap() expects parameter 3 to be binary string, array given in %s on line %d +NULL + +Warning: wordwrap() expects parameter 3 to be binary string, array given in %s on line %d +NULL + +Warning: wordwrap() expects parameter 3 to be binary string, array given in %s on line %d +NULL +-- Iteration 11 -- + +Warning: wordwrap() expects parameter 3 to be binary string, array given in %s on line %d +NULL + +Warning: wordwrap() expects parameter 3 to be binary string, array given in %s on line %d +NULL + +Warning: wordwrap() expects parameter 3 to be binary string, array given in %s on line %d +NULL +-- Iteration 12 -- + +Warning: wordwrap() expects parameter 3 to be binary string, array given in %s on line %d +NULL + +Warning: wordwrap() expects parameter 3 to be binary string, array given in %s on line %d +NULL + +Warning: wordwrap() expects parameter 3 to be binary string, array given in %s on line %d +NULL +-- Iteration 13 -- + +Warning: wordwrap() expects parameter 3 to be binary string, array given in %s on line %d +NULL + +Warning: wordwrap() expects parameter 3 to be binary string, array given in %s on line %d +NULL + +Warning: wordwrap() expects parameter 3 to be binary string, array given in %s on line %d +NULL +-- Iteration 14 -- + +Warning: wordwrap() expects parameter 3 to be binary string, array given in %s on line %d +NULL + +Warning: wordwrap() expects parameter 3 to be binary string, array given in %s on line %d +NULL + +Warning: wordwrap() expects parameter 3 to be binary string, array given in %s on line %d +NULL +-- Iteration 15 -- +string(25) "testing1wordwrap1function" +string(25) "testing1wordwrap1function" +string(25) "testing1wordwrap1function" +-- Iteration 16 -- + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) +-- Iteration 17 -- +string(25) "testing1wordwrap1function" +string(25) "testing1wordwrap1function" +string(25) "testing1wordwrap1function" +-- Iteration 18 -- + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) +-- Iteration 19 -- + +Warning: wordwrap() expects parameter 3 to be binary string, object given in %s on line %d +NULL + +Warning: wordwrap() expects parameter 3 to be binary string, object given in %s on line %d +NULL + +Warning: wordwrap() expects parameter 3 to be binary string, object given in %s on line %d +NULL +-- Iteration 20 -- + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) +-- Iteration 21 -- + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) +-- Iteration 22 -- + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) +-- Iteration 23 -- + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) +-- Iteration 24 -- + +Warning: wordwrap() expects parameter 3 to be binary string, resource given in %s on line %d +NULL + +Warning: wordwrap() expects parameter 3 to be binary string, resource given in %s on line %d +NULL + +Warning: wordwrap() expects parameter 3 to be binary string, resource given in %s on line %d +NULL +-- Iteration 25 -- + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) +-- Iteration 26 -- + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) + +Warning: wordwrap(): Break string cannot be empty in %s on line %d +bool(false) +Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strcspn_basic.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/strings/strcspn_basic.phpt diff -u php-src/ext/standard/tests/strings/strcspn_basic.phpt:1.2 php-src/ext/standard/tests/strings/strcspn_basic.phpt:1.3 --- php-src/ext/standard/tests/strings/strcspn_basic.phpt:1.2 Sat Sep 22 10:37:46 2007 +++ php-src/ext/standard/tests/strings/strcspn_basic.phpt Tue Oct 9 11:58:52 2007 @@ -39,3 +39,10 @@ int(2) int(3) Done + +--UEXPECTF-- +*** Testing strcspn() : basic functionality *** +int(2) +int(2) +int(3) +Done
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php