echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
hello
int(8192)
bool(false)
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
Warning: highlight_file(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA): failed to open stream: File name too long in %s006.php on line %d
Warning: highlight_file(): Failed opening 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' for highlighting in %s006.php on line %d
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
Warning: php_strip_whitespace(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA): failed to open stream: File name too long in %s007.php on line %d
string(0) ""
bool(false)
\abcd\e\f\g\h\i\j\k\l\m\n\o\pqrstuvwxy\z
1
5d
-
Warning: addcslashes() expects exactly 2 parameters, 0 given in %s on line %d
NULL
-Warning: addcslashes() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-string(6) "\f\o\o"
-
-Warning: addcslashes() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing error conditions ***
-
-Warning: addcslashes() expects exactly 2 parameters, 0 given in %s on line %d
-NULL
-
Warning: addcslashes() expects exactly 2 parameters, 1 given in %s on line %d
NULL
echo "Done\n";
?>
---EXPECTF--
-*** Testing addslashes() : basic functionality ***
-string(16) "How\'s everybody"
-string(17) "Are you \"JOHN\"?"
-string(19) "c:\\php\\addslashes"
-string(12) "hello\0world"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing addslashes() : basic functionality ***
unicode(16) "How\'s everybody"
unicode(17) "Are you \"JOHN\"?"
-- Testing addslashes() function with more than expected no. of arguments --
-Warning: Wrong parameter count for addslashes() in %s on line %d
-NULL
-string(15) ""hello"\"world""
-Done
-
---UEXPECTF--
-*** Testing addslashes() : error conditions ***
-
--- Testing addslashes() function with Zero arguments --
-
-Warning: Wrong parameter count for addslashes() in %s on line %d
-NULL
-
--- Testing addslashes() function with more than expected no. of arguments --
-
Warning: Wrong parameter count for addslashes() in %s on line %d
NULL
unicode(15) ""hello"\"world""
Notice: Undefined variable: unset_var in %s on line %d
---- Testing addslashes() by supplying different values for 'str' argument ---
--- Iteration 1 --
-string(1) "0"
--- Iteration 2 --
-string(1) "1"
--- Iteration 3 --
-string(5) "12345"
--- Iteration 4 --
-string(5) "-2345"
--- Iteration 5 --
-string(4) "10.5"
--- Iteration 6 --
-string(5) "-10.5"
--- Iteration 7 --
-string(12) "105000000000"
--- Iteration 8 --
-string(7) "1.06E-9"
--- Iteration 9 --
-string(3) "0.5"
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 15 --
-string(1) "1"
--- Iteration 16 --
-string(0) ""
--- Iteration 17 --
-string(1) "1"
--- Iteration 18 --
-string(0) ""
--- Iteration 19 --
-string(0) ""
--- Iteration 20 --
-string(0) ""
--- Iteration 21 --
-string(0) ""
--- Iteration 22 --
-string(0) ""
--- Iteration 23 --
-string(7) "obj\'ct"
--- Iteration 24 --
-string(%d) "Resource id #%d"
--- Iteration 25 --
-string(0) ""
--- Iteration 26 --
-string(0) ""
-Done
-
---UEXPECTF--
-*** Testing addslashes() : with non-string type argument ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
--- Testing addslashes() by supplying different values for 'str' argument ---
-- Iteration 1 --
unicode(1) "0"
echo "Done\n";
?>
---EXPECTF--
-*** Testing addslashes() : with various strings containing characters to be backslashed ***
-
--- Iteration 1 --
-string(11) "Hello world"
-
--- Iteration 2 --
-string(18) "how\'re you doing?"
-
--- Iteration 3 --
-string(30) "don\'t disturb u\'r neighbours"
-
--- Iteration 4 --
-string(34) "don\'t disturb u\'r neighbours\'\'"
-
--- Iteration 5 --
-string(0) ""
-
--- Iteration 6 --
-string(2) "\'"
-
--- Iteration 7 --
-string(2) "\'"
-
--- Iteration 8 --
-string(32) "he said, \"he will be on leave\""
-
--- Iteration 9 --
-string(34) "he said, \"\"he will be on leave\""
-
--- Iteration 10 --
-string(15) "\"\"\"PHP\"\"\""
-
--- Iteration 11 --
-string(0) ""
-
--- Iteration 12 --
-string(2) "\""
-
--- Iteration 13 --
-string(2) "\""
-
--- Iteration 14 --
-string(7) "hello\""
-
--- Iteration 15 --
-string(26) "Is your name Ram\\Krishna?"
-
--- Iteration 16 --
-string(9) "\\0.0.0.0"
-
--- Iteration 17 --
-string(29) "c:\\php\\testcase\\addslashes"
-
--- Iteration 18 --
-string(2) "\\"
-
--- Iteration 19 --
-string(12) "hello\0world"
-
--- Iteration 20 --
-string(9) "\0hello\0"
-
--- Iteration 21 --
-string(9) "\0\0hello"
-
--- Iteration 22 --
-string(2) "\0"
-
--- Iteration 23 --
-string(13) "\'\\0.0.0.0\'"
-
--- Iteration 24 --
-string(15) "\'\\0.0.0.0\'\0"
-
--- Iteration 25 --
-string(15) "\0\'c:\\php\\\'"
-
--- Iteration 26 --
-string(13) "\"\\0.0.0.0\""
-
--- Iteration 27 --
-string(17) "\"c:\\php\\\"\0\'"
-
--- Iteration 28 --
-string(22) "\"hello\"\'world\'\0//"
-
--- Iteration 29 --
-string(18) "0xABCDEF0123456789"
-
--- Iteration 30 --
-string(2) "\0"
-
--- Iteration 31 --
-string(18) "!@#$%&*@$%#&/;:,<>"
-
--- Iteration 32 --
-string(12) "hello\0world"
-
--- Iteration 33 --
-string(73) "This is line 1 of \'heredoc\' string
-This is line 2 of \"heredoc\" string"
-
--- Iteration 34 --
-string(0) ""
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing addslashes() : with various strings containing characters to be backslashed ***
-- Iteration 1 --
echo "Done\n";
?>
---EXPECTF--
-*** Testing basic operations ***
-
---Iteration 1--
-string(3) "bar"
-
---Iteration 2--
-string(3) "bar"
-
---Iteration 3--
-string(3) "bar"
-
---Iteration 4--
-string(3) "bar"
-
---Iteration 5--
-string(3) "bar"
-
---Iteration 6--
-string(3) "bar"
-
---Iteration 7--
-string(3) "bar"
-
---Iteration 8--
-string(3) "bar"
-
---Iteration 9--
-string(3) "bar"
-
---Iteration 10--
-string(3) "bar"
-
---Iteration 11--
-string(6) "bar.gz"
-
---Iteration 12--
-string(3) "bar"
-
---Iteration 13--
-string(3) "bar"
-
---Iteration 14--
-string(3) "bar"
-
---Iteration 15--
-string(3) "bar"
-
---Iteration 16--
-string(3) "bar"
-
---Iteration 17--
-string(3) "bar"
-
---Iteration 18--
-string(3) "bar"
-
---Iteration 19--
-string(3) "bar"
-
---Iteration 20--
-string(3) ".gz"
-
---Iteration 21--
-string(3) ".gz"
-
---Iteration 22--
-string(3) ".gz"
-
---Iteration 23--
-string(3) ".gz"
-
---Iteration 24--
-string(3) ".gz"
-
---Iteration 25--
-string(3) ".gz"
-
---Iteration 26--
-string(3) "bar"
-
---Iteration 27--
-string(3) "bar"
-
---Iteration 28--
-string(3) "bar"
-
---Iteration 29--
-string(3) "bar"
-
---Iteration 30--
-string(3) "bar"
-
---Iteration 31--
-string(3) "bar"
-
---Iteration 32--
-string(6) "bar.gz"
-Done
---UEXPECT--
+--EXPECT--
*** Testing basic operations ***
--Iteration 1--
--Iteration 32--
string(6) "bar.gz"
-Done
\ No newline at end of file
+Done
Warning: basename() expects parameter 2 to be string (Unicode or binary), object given in %s on line %d
NULL
Done
---UEXPECTF--
-*** Testing error conditions ***
-
-Warning: basename() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-
-Warning: basename() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-
-Warning: basename() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: basename() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: basename() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: basename() expects parameter 1 to be string (Unicode or binary), object given in %s on line %d
-NULL
-
-Warning: basename() expects parameter 1 to be string (Unicode or binary), object given in %s on line %d
-NULL
-
-Warning: basename() expects parameter 1 to be string (Unicode or binary), object given in %s on line %d
-NULL
-
-Warning: basename() expects parameter 2 to be string (Unicode or binary), object given in %s on line %d
-NULL
-Done
echo "Done\n";
---EXPECTF--
-*** Testing possible variations in path and suffix ***
-
---Iteration 1--
-string(3) "bar"
-
---Iteration 2--
-string(3) "bar"
-
---Iteration 3--
-string(3) "bar"
-
---Iteration 4--
-string(3) "bar"
-
---Iteration 5--
-string(3) "bar"
-
---Iteration 6--
-string(7) "bar.tar"
-
---Iteration 7--
-string(7) "bar.tar"
-
---Iteration 8--
-string(7) "bar.tar"
-
---Iteration 9--
-string(7) "bar.tar"
-
---Iteration 10--
-string(7) "bar.tar"
-
---Iteration 11--
-string(7) "bar.tar"
-
---Iteration 12--
-string(7) "bar.tar"
-
---Iteration 13--
-string(7) "bar.tar"
-
---Iteration 14--
-string(1) "t"
-
---Iteration 15--
-string(7) "tbar.gz"
-
---Iteration 16--
-string(7) "tbar.gz"
-
---Iteration 17--
-string(7) "tbar.gz"
-
---Iteration 18--
-string(7) "tbar.gz"
-
---Iteration 19--
-string(10) "My Pics.gz"
-
---Iteration 20--
-string(10) "My Pics.gz"
-
---Iteration 21--
-string(3) "My "
-
---Iteration 22--
-string(7) "My Pics"
-
---Iteration 23--
-string(10) "My Pics.gz"
-
---Iteration 24--
-string(10) "My Pics.gz"
-
---Iteration 25--
-string(10) "My Pics.gz"
-
---Iteration 26--
-string(10) "My Pics.gz"
-
---Iteration 27--
-string(10) "My Pics.gz"
-
---Iteration 28--
-string(4) "10.5"
-
---Iteration 29--
-string(2) "10"
-
---Iteration 30--
-string(4) "10.5"
-
---Iteration 31--
-string(2) "10"
-
---Iteration 32--
-string(2) "10"
-
---Iteration 33--
-string(4) "10.5"
-
---Iteration 34--
-string(4) "10.5"
-
---Iteration 35--
-string(5) "10.gz"
-
---Iteration 36--
-string(1) "0"
-
---Iteration 37--
-string(1) "0"
-
---Iteration 38--
-string(6) "bar.gz"
-
---Iteration 39--
-string(6) "bar.gz"
-
---Iteration 40--
-string(6) "bar.gz"
-
---Iteration 41--
-string(1) " "
-
---Iteration 42--
-string(1) " "
-
---Iteration 43--
-string(0) ""
-
---Iteration 44--
-string(1) " "
-
---Iteration 45--
-string(1) " "
-
---Iteration 46--
-string(0) ""
-
---Iteration 47--
-string(0) ""
-
---Iteration 48--
-string(0) ""
-Done
---UEXPECT--
+--EXPECT--
*** Testing possible variations in path and suffix ***
--Iteration 1--
var_dump($z);
?>
--EXPECT--
-string(581) " boo
-"
---UEXPECT--
unicode(581) " boo
"
var_dump(bin2hex((binary)utf8_decode(htmlspecialchars($str, ENT_COMPAT, "UTF-8"))));
?>
--EXPECT--
-string(4) "e0e1"
-string(4) "e0e1"
---UEXPECT--
unicode(4) "e0e1"
unicode(4) "e0e1"
var_dump(html_entity_decode(""));
?>
--EXPECT--
-string(0) ""
-string(0) ""
---UEXPECT--
unicode(0) ""
unicode(0) ""
var_dump(strip_tags($test));
?>
--EXPECT--
-string(80) "
-
- first cell before < first cell after
- second cell before < second cell after
-"
---UEXPECT--
unicode(80) "
first cell before < first cell after
var_dump($res_b);
?>
--EXPECT--
-array(3) {
- [0]=>
- string(3) "ABC"
- [1]=>
- string(3) "DEF"
- [2]=>
- int(9)
-}
-array(3) {
- [0]=>
- string(3) "ABC"
- [1]=>
- string(3) "DEF"
- [2]=>
- int(9)
-}
---UEXPECT--
array(3) {
[0]=>
unicode(3) "ABC"
var_dump(number_format(0.0001, 0));
?>
--EXPECT--
-string(3) "0.0"
-string(1) "0"
---UEXPECT--
unicode(3) "0.0"
unicode(1) "0"
?>
--EXPECT--
1.10000e+0
-string(11) "1.10000e+0
-"
---UEXPECT--
-1.10000e+0
unicode(11) "1.10000e+0
"
var_dump($arr)
?>
--EXPECTF--
-string(13) "Object,Object"
-array(2) {
- [0]=>
- &object(foo)#%d (0) {
- }
- [1]=>
- &object(foo)#%d (0) {
- }
-}
---UEXPECTF--
unicode(13) "Object,Object"
array(2) {
[0]=>
4:<abc - def>
5:abc - def
6:</abc>
-
var_dump($test, bin2hex((binary)$test));
?>
--EXPECTREGEX--
-string\(4\) \"-012\"
-string\(8\) \"2d303132\"
-(string\(13\) \" 4294967284\"|string\(20\) \"18446744073709551604\")
-(string\(26\) \"20202034323934393637323834\"|string\(40\) \"3138343436373434303733373039353531363034\")
---UEXPECTREGEX--
unicode\(4\) \"-012\"
unicode\(8\) \"2d303132\"
(unicode\(13\) \" 4294967284\"|unicode\(20\) \"18446744073709551604\")
var_dump(pathinfo("/dsds.asa"));
?>
--EXPECT--
-array(4) {
- ["dirname"]=>
- string(1) "/"
- ["basename"]=>
- string(8) "dsds.asa"
- ["extension"]=>
- string(3) "asa"
- ["filename"]=>
- string(4) "dsds"
-}
---UEXPECT--
array(4) {
[u"dirname"]=>
unicode(1) "/"
var_dump($a, $b, $c);
?>
--EXPECT--
-string(1) "1"
-string(1) "2"
-string(1) "3"
---UEXPECT--
unicode(1) "1"
unicode(1) "2"
unicode(1) "3"
echo serialize(str_replace(" ", "", $arr)) . "\n";
?>
--EXPECT--
-a:4:{i:0;S:19:"This is strung one.";i:1;S:19:"This is strung two.";i:2;a:2:{i:0;S:23:"This is another string.";i:1;S:22:"This is a last string.";}i:3;S:22:"This is a last strung.";}
-a:4:{i:0;S:19:"This is strung one.";i:1;S:19:"This is strung two.";i:2;a:2:{i:0;S:23:"This is another string.";i:1;S:22:"This is a last string.";}i:3;S:22:"This is a last strung.";}
-a:4:{i:0;S:16:"Thisisstringone.";i:1;S:16:"Thisisstringtwo.";i:2;a:2:{i:0;S:23:"This is another string.";i:1;S:22:"This is a last string.";}i:3;S:18:"Thisisalaststring.";}
-a:4:{i:0;S:16:"Thisisstringone.";i:1;S:16:"Thisisstringtwo.";i:2;a:2:{i:0;S:23:"This is another string.";i:1;S:22:"This is a last string.";}i:3;S:18:"Thisisalaststring.";}
---UEXPECT--
a:4:{i:0;U:19:"This is strung one.";i:1;U:19:"This is strung two.";i:2;a:2:{i:0;U:23:"This is another string.";i:1;U:22:"This is a last string.";}i:3;U:22:"This is a last strung.";}
a:4:{i:0;U:19:"This is strung one.";i:1;U:19:"This is strung two.";i:2;a:2:{i:0;U:23:"This is another string.";i:1;U:22:"This is a last string.";}i:3;U:22:"This is a last strung.";}
a:4:{i:0;U:16:"Thisisstringone.";i:1;U:16:"Thisisstringtwo.";i:2;a:2:{i:0;U:23:"This is another string.";i:1;U:22:"This is a last string.";}i:3;U:18:"Thisisalaststring.";}
var_dump(html_entity_decode("&#38;lt;", ENT_COMPAT, 'ISO-8859-1'));
?>
--EXPECT--
-string(4) "<"
-string(5) "&"
-string(8) "&lt;"
---UEXPECT--
unicode(4) "<"
unicode(5) "&"
unicode(8) "&lt;"
var_dump(http_build_query($obj));
?>
--EXPECT--
-string(27) "foo=lala&bar=meuh&test=test"
-string(9) "test=test"
---UEXPECT--
unicode(27) "foo=lala&bar=meuh&test=test"
unicode(9) "test=test"
?>
--EXPECT--
-string(2) "02"
-string(2) "02"
-string(2) "02"
---UEXPECT--
unicode(2) "02"
unicode(2) "02"
unicode(2) "02"
var_dump(bin2hex((binary)html_entity_decode('  ‘†′⁄€', ENT_QUOTES, 'UTF-8')));
?>
--EXPECT--
-string(42) "e28082e28089e28098e280a0e280b2e28184e282ac"
---UEXPECT--
unicode(42) "e28082e28089e28098e280a0e280b2e28184e282ac"
echo "Done\n";
?>
---EXPECT--
-string(6) "bzexbz"
-Done
---UEXPECT--
+--EXPECT--
unicode(6) "bzexbz"
Done
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
Warning: Length must be greater than or equal to 0 in %s on line %d
bool(false)
int(%d)
string(93) "Implementations MUST reject the encoding if it contains characters outside the base alphabet."
bool(false)
string(92) "Implemem\18]\1a[Û\9cÈ\13UTÕ\b\1c\99Z\99XÝ\b\1d\1a\19H\19[\98ÛÙ\1a[\99È\1aY\88\1a]\b\18ÛÛ\9d\18Z[\9cÈ\18Ú\18\\98XÝ\19\\9cÈ\eÝ]\1cÚY\19H\1d\1a\19H\18\98\ÙH\18[\1c\1a\18X\99]\v"
-
$func = create_function('$a', 'return $a;');
var_export($func);
?>
---EXPECT--
+--EXPECT--
'' . "\0" . 'lambda_1'
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
int(1)
Done
echo "Done\n";
?>
---EXPECT--
+--EXPECT--
Array
(
[1] => -30000
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
int(1)
int(0)
int(1)
echo "Done\n";
?>
---EXPECT--
+--EXPECT--
Done
echo number_format($num,2);
echo "\n";
?>
---EXPECT--
-1,234.56
---UEXPECTF--
+--EXPECTF--
Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
1,234.56
echo "Done\n";
?>
---EXPECTF--
-string(4) "Text"
-Done
---UEXPECTF--
+--EXPECT--
unicode(4) "Text"
Done
echo "Done\n";
?>
---EXPECT--
-string(26) "Bug ' Trigger Missing Text"
-Done
---UEXPECT--
+--EXPECT--
unicode(26) "Bug ' Trigger Missing Text"
Done
var_dump(substr("abcde", $v, $v));
?>
---EXPECTF--
-string(4) "bcde"
-string(6) "abcdex"
-bool(false)
-bool(false)
-
-Warning: substr_count(): Offset value 2147483647 exceeds string length in %s on line %d
-bool(false)
-
-Warning: substr_compare(): The start position cannot exceed initial string length in %s on line %d
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
-
-Warning: substr_count(): Offset value 2147483647 exceeds string length in %s on line %d
-bool(false)
-
-Warning: substr_count(): Length value 2147483647 exceeds string length in %s on line %d
-bool(false)
-
-Warning: strpos(): Offset not contained in string in %s on line %d
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
-
-Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
-bool(false)
-
-Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
-bool(false)
-int(2)
-string(8) "abcdeabc"
-bool(false)
---UEXPECTF--
+--EXPECTF--
unicode(4) "bcde"
unicode(6) "abcdex"
bool(false)
var_dump(sscanf('one two', '%1$d'));
echo "Done\n";
?>
---EXPECTF--
-array(2) {
- [0]=>
- string(3) "one"
- [1]=>
- string(3) "two"
-}
-array(2) {
- [0]=>
- string(3) "two"
- [1]=>
- string(3) "one"
-}
---
-string(3) "one"
-string(3) "two"
-string(3) "two"
-string(3) "one"
---
-array(2) {
- [0]=>
- NULL
- [1]=>
- NULL
-}
-array(1) {
- [0]=>
- NULL
-}
-Done
---UEXPECTF--
+--EXPECT--
array(2) {
[0]=>
unicode(3) "one"
var_dump(substr_replace($a, 1, 1, $c));
?>
--EXPECT--
-array(2) {
- [0]=>
- string(2) "11"
- [1]=>
- string(2) "21"
-}
---UEXPECT--
array(2) {
[0]=>
unicode(2) "11"
echo "Done\n";
?>
---EXPECTF--
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-string(5) "hello"
-string(5) "hello"
-string(5) "hello"
-string(5) "hello"
-Done
---UEXPECTF--
+--EXPECT--
unicode(5) "hello"
unicode(5) "hello"
unicode(5) "hello"
var_dump( str_split($str, $split_length) );
?>
--EXPECT--
-array(4) {
- [0]=>
- string(5) "Testi"
- [1]=>
- string(5) "ng st"
- [2]=>
- string(5) "r_spl"
- [3]=>
- string(4) "it()"
-}
---UEXPECT--
array(4) {
[0]=>
unicode(5) "Testi"
var_dump(html_entity_decode("&#38;lt;", ENT_COMPAT, 'koi8-r'));
?>
--EXPECT--
-string(4) "<"
-string(5) "&"
-string(8) "&lt;"
---UEXPECT--
unicode(4) "<"
unicode(5) "&"
unicode(8) "&lt;"
?>
--EXPECT--
-string(1) "1"
-string(1) "2"
-
-----
-string(1) "1"
-string(3) "2-3"
-
-----
-string(1) "1"
-string(1) "2"
-string(2) "-3"
-
-----
-string(1) "1"
-string(3) "2-3"
-
-----
-string(1) "1"
-string(4) "
-2-3"
-
-----
-string(1) "1"
-string(2) "--"
-string(3) "2-3"
---UEXPECT--
unicode(1) "1"
unicode(1) "2"
Warning: htmlspecialchars(): charset `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' not supported, assuming iso-8859-1 in %s on line %d
string(8) "<>"
-
-
-- Testing chop() function with more than expected no. of arguments --
-Warning: chop() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-string(11) "string_val "
-Done
-
---UEXPECTF--
-*** Testing chop() : error conditions ***
-
--- Testing chop() function with Zero arguments --
-
-Warning: chop() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-
--- Testing chop() function with more than expected no. of arguments --
-
Warning: chop() expects at most 2 parameters, 3 given in %s on line %d
NULL
unicode(11) "string_val "
Notice: Undefined variable: unset_var in %s on line %d
---- Testing chop() by supplying different values for 'str' argument ---
--- Iteration 1 --
-string(1) "0"
-string(0) ""
--- Iteration 2 --
-string(1) "1"
-string(0) ""
--- Iteration 3 --
-string(5) "12345"
-string(0) ""
--- Iteration 4 --
-string(5) "-2345"
-string(1) "-"
--- Iteration 5 --
-string(4) "10.5"
-string(3) "10."
--- Iteration 6 --
-string(5) "-10.5"
-string(4) "-10."
--- Iteration 7 --
-string(12) "101234567000"
-string(0) ""
--- Iteration 8 --
-string(13) "1.07654321E-9"
-string(12) "1.07654321E-"
--- Iteration 9 --
-string(3) "0.5"
-string(2) "0."
--- Iteration 10 --
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(1) "1"
-string(0) ""
--- Iteration 16 --
-string(0) ""
-string(0) ""
--- Iteration 17 --
-string(1) "1"
-string(0) ""
--- Iteration 18 --
-string(0) ""
-string(0) ""
--- Iteration 19 --
-string(0) ""
-string(0) ""
--- Iteration 20 --
-string(0) ""
-string(0) ""
--- Iteration 21 --
-string(0) ""
-string(0) ""
--- Iteration 22 --
-string(0) ""
-string(0) ""
--- Iteration 23 --
-string(0) ""
-string(0) ""
--- Iteration 24 --
-string(0) ""
-string(0) ""
--- Iteration 25 --
-string(16) " @#$%Object @#$%"
-string(11) " @#$%Object"
--- Iteration 26 --
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
-
---UEXPECTF--
-*** Testing chop() : with unexpected values for str argument passed to the function ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
--- Testing chop() by supplying different values for 'str' argument ---
-- Iteration 1 --
unicode(1) "0"
Notice: Undefined variable: unset_var in %s on line %d
---- Testing chop() by supplying different values for 'charlist' argument ---
--- Iteration 1 --
-string(17) "hello world12345 "
--- Iteration 2 --
-string(17) "hello world12345 "
--- Iteration 3 --
-string(17) "hello world12345 "
--- Iteration 4 --
-string(17) "hello world12345 "
--- Iteration 5 --
-string(17) "hello world12345 "
--- Iteration 6 --
-string(17) "hello world12345 "
--- Iteration 7 --
-string(17) "hello world12345 "
--- Iteration 8 --
-string(17) "hello world12345 "
--- Iteration 9 --
-string(17) "hello world12345 "
--- Iteration 10 --
-
-Warning: chop() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: chop() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: chop() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: chop() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: chop() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(17) "hello world12345 "
--- Iteration 16 --
-string(17) "hello world12345 "
--- Iteration 17 --
-string(17) "hello world12345 "
--- Iteration 18 --
-string(17) "hello world12345 "
--- Iteration 19 --
-string(11) "hello world"
--- Iteration 20 --
-string(17) "hello world12345 "
--- Iteration 21 --
-string(17) "hello world12345 "
--- Iteration 22 --
-string(17) "hello world12345 "
--- Iteration 23 --
-string(17) "hello world12345 "
--- Iteration 24 --
-
-Warning: chop() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
--- Iteration 25 --
-string(17) "hello world12345 "
--- Iteration 26 --
-string(17) "hello world12345 "
-Done
-
---UEXPECTF--
-*** Testing chop() : with unexpected values of charlist argument passed to the function ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
--- Testing chop() by supplying different values for 'charlist' argument ---
-- Iteration 1 --
unicode(17) "hello world12345 "
echo "Done\n";
?>
---EXPECTF--
-*** Testing chop() : with miscellaneous arguments ***
-string(9) "chop test"
-string(12) "chop test "
-string(17) "chop test "
-string(17) "chop test "
-string(9) "chop test"
-string(10) "chop test "
-string(9) "chop test"
-string(9) "chop test"
-string(9) "chop test"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing chop() : with miscellaneous arguments ***
unicode(9) "chop test"
unicode(12) "chop test "
echo "Done"
?>
---EXPECTF--
-*** Testing chunk_split() : basic functionality ***
--- Testing chunk_split() with all possible arguments --
-string(15) "Te##st##in##g##"
--- Testing chunk_split() with default ending string --
-string(15) "Te
-st
-in
-g
-"
--- Testing chunk_split() with default chunklen and ending string --
-string(9) "Testing
-"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing chunk_split() : basic functionality ***
-- Testing chunk_split() with all possible arguments --
unicode(15) "Te##st##in##g##"
--EXPECTF--
*** Testing chunk_split() : with unexpected values for 'str' argument ***
-- Iteration 1 --
-string(2) "0 "
--- Iteration 2 --
-string(2) "1 "
--- Iteration 3 --
-string(8) "12 34 5 "
--- Iteration 4 --
-string(8) "-2 34 5 "
--- Iteration 5 --
-string(6) "10 .5 "
--- Iteration 6 --
-string(8) "-1 0. 5 "
--- Iteration 7 --
-string(18) "10 12 34 56 70 00 "
--- Iteration 8 --
-string(20) "1. 07 65 43 21 E- 9 "
--- Iteration 9 --
-string(5) "0. 5 "
--- Iteration 10 --
-
-Warning: chunk_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: chunk_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: chunk_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: chunk_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: chunk_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(1) " "
--- Iteration 16 --
-string(1) " "
--- Iteration 17 --
-string(2) "1 "
--- Iteration 18 --
-string(1) " "
--- Iteration 19 --
-string(2) "1 "
--- Iteration 20 --
-string(1) " "
--- Iteration 21 --
-string(1) " "
--- Iteration 22 --
-string(1) " "
--- Iteration 23 --
-string(9) "st ri ng "
--- Iteration 24 --
-string(9) "st ri ng "
--- Iteration 25 --
-string(9) "ob je ct "
--- Iteration 26 --
-string(1) " "
--- Iteration 27 --
-string(1) " "
--- Iteration 28 --
-
-Warning: chunk_split() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing chunk_split() : with unexpected values for 'str' argument ***
--- Iteration 1 --
unicode(2) "0 "
-- Iteration 2 --
unicode(2) "1 "
echo "Done"
?>
---EXPECTF--
-*** Testing chunk_split() : different single quoted strings as 'ending' ***
--- Iteration 0 --
-string(73) "This is to test chunk_split() with various 'single quoted' ending string."
--- Iteration 1 --
-string(82) "This is t o test ch unk_split () with v arious 's ingle quo ted' endi ng string . "
--- Iteration 2 --
-string(82) "This is tao test chaunk_splita() with vaarious 'saingle quoated' endiang stringa.a"
--- Iteration 3 --
-string(127) "This is tENDINGo test chENDINGunk_splitENDING() with vENDINGarious 'sENDINGingle quoENDINGted' endiENDINGng stringENDING.ENDING"
--- Iteration 4 --
-string(118) "This is t@#$%^o test ch@#$%^unk_split@#$%^() with v@#$%^arious 's@#$%^ingle quo@#$%^ted' endi@#$%^ng string@#$%^.@#$%^"
--- Iteration 5 --
-string(91) "This is t\to test ch\tunk_split\t() with v\tarious 's\tingle quo\tted' endi\tng string\t.\t"
--- Iteration 6 --
-string(91) "This is t\no test ch\nunk_split\n() with v\narious 's\ningle quo\nted' endi\nng string\n.\n"
--- Iteration 7 --
-string(91) "This is t\ro test ch\runk_split\r() with v\rarious 's\ringle quo\rted' endi\rng string\r.\r"
--- Iteration 8 --
-string(109) "This is t\r\no test ch\r\nunk_split\r\n() with v\r\narious 's\r\ningle quo\r\nted' endi\r\nng string\r\n.\r\n"
--- Iteration 9 --
-string(91) "This is t\0o test ch\0unk_split\0() with v\0arious 's\0ingle quo\0ted' endi\0ng string\0.\0"
--- Iteration 10 --
-string(100) "This is t123o test ch123unk_split123() with v123arious 's123ingle quo123ted' endi123ng string123.123"
--- Iteration 11 --
-string(118) "This is t(MSG)o test ch(MSG)unk_split(MSG)() with v(MSG)arious 's(MSG)ingle quo(MSG)ted' endi(MSG)ng string(MSG).(MSG)"
--- Iteration 12 --
-string(226) "This is t) ending string (o test ch) ending string (unk_split) ending string (() with v) ending string (arious 's) ending string (ingle quo) ending string (ted' endi) ending string (ng string) ending string (.) ending string ("
--- Iteration 13 --
-string(217) "This is t) numbers 1234 (o test ch) numbers 1234 (unk_split) numbers 1234 (() with v) numbers 1234 (arious 's) numbers 1234 (ingle quo) numbers 1234 (ted' endi) numbers 1234 (ng string) numbers 1234 (.) numbers 1234 ("
--- Iteration 14 --
-string(226) "This is t) speci@! ch@r$ (o test ch) speci@! ch@r$ (unk_split) speci@! ch@r$ (() with v) speci@! ch@r$ (arious 's) speci@! ch@r$ (ingle quo) speci@! ch@r$ (ted' endi) speci@! ch@r$ (ng string) speci@! ch@r$ (.) speci@! ch@r$ ("
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing chunk_split() : different single quoted strings as 'ending' ***
-- Iteration 0 --
unicode(73) "This is to test chunk_split() with various 'single quoted' ending string."
unicode(217) "This is t) numbers 1234 (o test ch) numbers 1234 (unk_split) numbers 1234 (() with v) numbers 1234 (arious 's) numbers 1234 (ingle quo) numbers 1234 (ted' endi) numbers 1234 (ng string) numbers 1234 (.) numbers 1234 ("
-- Iteration 14 --
unicode(226) "This is t) speci@! ch@r$ (o test ch) speci@! ch@r$ (unk_split) speci@! ch@r$ (() with v) speci@! ch@r$ (arious 's) speci@! ch@r$ (ingle quo) speci@! ch@r$ (ted' endi) speci@! ch@r$ (ng string) speci@! ch@r$ (.) speci@! ch@r$ ("
-Done
\ No newline at end of file
+Done
echo "Done"
?>
---EXPECTF--
-*** Testing chunk_split() : different values for 'ending' with heredoc 'str'***
--- Iteration 1 --
-string(113) "This is heredoc string with and
-.It also contains
-sPeci@! ch@r$ :) & numbers 222.This is \k wrong escape char."
--- Iteration 2 --
-string(132) "This i s here doc st ring w ith and
-. It als o cont ains
-s Peci@! ch@r$ :) & number s 222. This i s \k w rong e scape char. "
--- Iteration 3 --
-string(132) "This ias hereadoc staring waith aand
-.aIt alsao contaains
-saPeci@!a ch@r$a :) & anumberas 222.aThis ias \k warong eascape achar.a"
--- Iteration 4 --
-string(227) "This iENDINGs hereENDINGdoc stENDINGring wENDINGith ENDINGand
-.ENDINGIt alsENDINGo contENDINGains
-sENDINGPeci@!ENDING ch@r$ENDING :) & ENDINGnumberENDINGs 222.ENDINGThis iENDINGs \k wENDINGrong eENDINGscape ENDINGchar.ENDING"
--- Iteration 5 --
-string(151) "This i
-s here
-doc st
-ring w
-ith
-and
-.
-It als
-o cont
-ains
-s
-Peci@!
- ch@r$
- :) &
-number
-s 222.
-This i
-s \k w
-rong e
-scape
-char.
-"
--- Iteration 6 --
-string(170) "This i123s here123doc st123ring w123ith 123and
-.123It als123o cont123ains
-s123Peci@!123 ch@r$123 :) & 123number123s 222.123This i123s \k w123rong e123scape 123char.123"
--- Iteration 7 --
-string(398) "This i)speci@! ch@r$(s here)speci@! ch@r$(doc st)speci@! ch@r$(ring w)speci@! ch@r$(ith )speci@! ch@r$(and
-.)speci@! ch@r$(It als)speci@! ch@r$(o cont)speci@! ch@r$(ains
-s)speci@! ch@r$(Peci@!)speci@! ch@r$( ch@r$)speci@! ch@r$( :) & )speci@! ch@r$(number)speci@! ch@r$(s 222.)speci@! ch@r$(This i)speci@! ch@r$(s \k w)speci@! ch@r$(rong e)speci@! ch@r$(scape )speci@! ch@r$(char.)speci@! ch@r$("
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing chunk_split() : different values for 'ending' with heredoc 'str'***
-- Iteration 1 --
unicode(113) "This is heredoc string with and
echo "Done"
?>
---EXPECTF--
-*** Testing chunk_split() : different heredoc strings for 'ending' argument ***
--- Iteration 1 --
-string(102) "This is str to check with heredoc ending.This contains,
-speci@! ch@r$ __with wrong \k escape char 222."
--- Iteration 2 --
-string(102) "This is str to check with heredoc ending.This contains,
-speci@! ch@r$ __with wrong \k escape char 222."
--- Iteration 3 --
-string(113) "This is star to checka with hereadoc endinga.This contaains,
-specai@! ch@r$ a__with wroang \k escaape char 22a2.a"
--- Iteration 4 --
-string(421) "This is stThis is simple heredoc stringr to checkThis is simple heredoc string with hereThis is simple heredoc stringdoc endingThis is simple heredoc string.This contThis is simple heredoc stringains,
-specThis is simple heredoc stringi@! ch@r$ This is simple heredoc string__with wroThis is simple heredoc stringng \k escaThis is simple heredoc stringpe char 22This is simple heredoc string2.This is simple heredoc string"
--- Iteration 5 --
-string(762) "This is stThis is to check chunk_split
-function with multiline
-heredocr to checkThis is to check chunk_split
-function with multiline
-heredoc with hereThis is to check chunk_split
-function with multiline
-heredocdoc endingThis is to check chunk_split
-function with multiline
-heredoc.This contThis is to check chunk_split
-function with multiline
-heredocains,
-specThis is to check chunk_split
-function with multiline
-heredoci@! ch@r$ This is to check chunk_split
-function with multiline
-heredoc__with wroThis is to check chunk_split
-function with multiline
-heredocng \k escaThis is to check chunk_split
-function with multiline
-heredocpe char 22This is to check chunk_split
-function with multiline
-heredoc2.This is to check chunk_split
-function with multiline
-heredoc"
--- Iteration 6 --
-string(443) "This is stThis checks with $, %, &, charsr to checkThis checks with $, %, &, chars with hereThis checks with $, %, &, charsdoc endingThis checks with $, %, &, chars.This contThis checks with $, %, &, charsains,
-specThis checks with $, %, &, charsi@! ch@r$ This checks with $, %, &, chars__with wroThis checks with $, %, &, charsng \k escaThis checks with $, %, &, charspe char 22This checks with $, %, &, chars2.This checks with $, %, &, chars"
--- Iteration 7 --
-string(487) "This is stThis checks and
-white space charsr to checkThis checks and
-white space chars with hereThis checks and
-white space charsdoc endingThis checks and
-white space chars.This contThis checks and
-white space charsains,
-specThis checks and
-white space charsi@! ch@r$ This checks and
-white space chars__with wroThis checks and
-white space charsng \k escaThis checks and
-white space charspe char 22This checks and
-white space chars2.This checks and
-white space chars"
--- Iteration 8 --
-string(597) "This is st"To check " in heredoc".I'm sure it'll \work!r to check"To check " in heredoc".I'm sure it'll \work! with here"To check " in heredoc".I'm sure it'll \work!doc ending"To check " in heredoc".I'm sure it'll \work!.This cont"To check " in heredoc".I'm sure it'll \work!ains,
-spec"To check " in heredoc".I'm sure it'll \work!i@! ch@r$ "To check " in heredoc".I'm sure it'll \work!__with wro"To check " in heredoc".I'm sure it'll \work!ng \k esca"To check " in heredoc".I'm sure it'll \work!pe char 22"To check " in heredoc".I'm sure it'll \work!2."To check " in heredoc".I'm sure it'll \work!"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing chunk_split() : different heredoc strings for 'ending' argument ***
-- Iteration 1 --
unicode(102) "This is str to check with heredoc ending.This contains,
-- Iteration 8 --
unicode(597) "This is st"To check " in heredoc".I'm sure it'll \work!r to check"To check " in heredoc".I'm sure it'll \work! with here"To check " in heredoc".I'm sure it'll \work!doc ending"To check " in heredoc".I'm sure it'll \work!.This cont"To check " in heredoc".I'm sure it'll \work!ains,
spec"To check " in heredoc".I'm sure it'll \work!i@! ch@r$ "To check " in heredoc".I'm sure it'll \work!__with wro"To check " in heredoc".I'm sure it'll \work!ng \k esca"To check " in heredoc".I'm sure it'll \work!pe char 22"To check " in heredoc".I'm sure it'll \work!2."To check " in heredoc".I'm sure it'll \work!"
-Done
\ No newline at end of file
+Done
echo "Done"
?>
---EXPECTF--
-*** Testing chunk_split() : default 'chunklen' with long string 'str' ***
--- Iteration 0 --
-string(85) "1234567890123456789012345678901234567890123456789012345678901234567890123456
-78901
-"
--- Iteration 1 --
-string(217) "1234567890123456789012345678901234567890123456789012345678901234567890123456
-7890123456789012345678901234567890123456789012345678901234567890123456789012
-34567890123456789012345678901234567890123456789012345678901
-"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing chunk_split() : default 'chunklen' with long string 'str' ***
-- Iteration 0 --
unicode(85) "1234567890123456789012345678901234567890123456789012345678901234567890123456
7890123456789012345678901234567890123456789012345678901234567890123456789012
34567890123456789012345678901234567890123456789012345678901
"
-Done
\ No newline at end of file
+Done
--EXPECTF--
*** Testing chunk_split() : with unexpected values for 'chunklen' argument ***
-- Iteration 1 --
-string(28) "This is ch*uklen vari*ation*"
--- Iteration 2 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 3 --
-string(26) "This is chuklen variation*"
--- Iteration 4 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 5 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 6 --
-
-Warning: chunk_split() expects parameter 2 to be long, array given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 7 --
-
-Warning: chunk_split() expects parameter 2 to be long, array given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 8 --
-
-Warning: chunk_split() expects parameter 2 to be long, array given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 9 --
-
-Warning: chunk_split() expects parameter 2 to be long, array given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 10 --
-
-Warning: chunk_split() expects parameter 2 to be long, array given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 11 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 12 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 13 --
-string(50) "T*h*i*s* *i*s* *c*h*u*k*l*e*n* *v*a*r*i*a*t*i*o*n*"
--- Iteration 14 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 15 --
-string(50) "T*h*i*s* *i*s* *c*h*u*k*l*e*n* *v*a*r*i*a*t*i*o*n*"
--- Iteration 16 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 17 --
-
-Warning: chunk_split() expects parameter 2 to be long, string given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 18 --
-
-Warning: chunk_split() expects parameter 2 to be long, string given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 19 --
-
-Warning: chunk_split() expects parameter 2 to be long, string given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 20 --
-
-Warning: chunk_split() expects parameter 2 to be long, string given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 21 --
-
-Warning: chunk_split() expects parameter 2 to be long, object given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 22 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 23 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 24 --
-
-Warning: chunk_split() expects parameter 2 to be long, resource given in %schunk_split_variation2.php on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing chunk_split() : with unexpected values for 'chunklen' argument ***
--- Iteration 1 --
unicode(28) "This is ch*uklen vari*ation*"
-- Iteration 2 --
--EXPECTF--
*** Testing chunk_split() : unexpected values for 'ending' ***
-- Iteration 1 --
-string(28) "This0 is 0simp0le s0trin0g.0"
--- Iteration 2 --
-string(28) "This1 is 1simp1le s1trin1g.1"
--- Iteration 3 --
-string(52) "This12345 is 12345simp12345le s12345trin12345g.12345"
--- Iteration 4 --
-string(52) "This-2345 is -2345simp-2345le s-2345trin-2345g.-2345"
--- Iteration 5 --
-string(46) "This10.5 is 10.5simp10.5le s10.5trin10.5g.10.5"
--- Iteration 6 --
-string(52) "This-10.5 is -10.5simp-10.5le s-10.5trin-10.5g.-10.5"
--- Iteration 7 --
-string(94) "This101234560000 is 101234560000simp101234560000le s101234560000trin101234560000g.101234560000"
--- Iteration 8 --
-string(100) "This1.07654321E-9 is 1.07654321E-9simp1.07654321E-9le s1.07654321E-9trin1.07654321E-9g.1.07654321E-9"
--- Iteration 9 --
-string(40) "This0.5 is 0.5simp0.5le s0.5trin0.5g.0.5"
--- Iteration 10 --
-
-Warning: chunk_split() expects parameter 3 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: chunk_split() expects parameter 3 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: chunk_split() expects parameter 3 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: chunk_split() expects parameter 3 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: chunk_split() expects parameter 3 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(22) "This is simple string."
--- Iteration 16 --
-string(22) "This is simple string."
--- Iteration 17 --
-string(28) "This1 is 1simp1le s1trin1g.1"
--- Iteration 18 --
-string(22) "This is simple string."
--- Iteration 19 --
-string(28) "This1 is 1simp1le s1trin1g.1"
--- Iteration 20 --
-string(22) "This is simple string."
--- Iteration 21 --
-string(22) "This is simple string."
--- Iteration 22 --
-string(22) "This is simple string."
--- Iteration 23 --
-string(58) "Thisobject is objectsimpobjectle sobjecttrinobjectg.object"
--- Iteration 24 --
-string(22) "This is simple string."
--- Iteration 25 --
-string(22) "This is simple string."
--- Iteration 26 --
-
-Warning: chunk_split() expects parameter 3 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing chunk_split() : unexpected values for 'ending' ***
--- Iteration 1 --
unicode(28) "This0 is 0simp0le s0trin0g.0"
-- Iteration 2 --
unicode(28) "This1 is 1simp1le s1trin1g.1"
echo "Done"
?>
---EXPECTF--
-*** Testing chunk_split() : heredoc strings as 'str' argument ***
--- Iteration 1 --
-string(2) "
-"
--- Iteration 2 --
-string(2) "
-"
--- Iteration 3 --
-string(3) "a
-"
--- Iteration 4 --
-string(45) "This
- is
-simp
-le h
-ered
-oc s
-trin
-g
-"
--- Iteration 5 --
-string(90) "This
- is
-to c
-heck
- chu
-nk_s
-plit
-
-fun
-ctio
-n wi
-th m
-ulti
-line
-
-her
-edoc
-"
--- Iteration 6 --
-string(59) "This
- che
-cks
-here
-doc
-with
- $,
-%, &
-, ch
-ars
-"
--- Iteration 7 --
-string(59) "This
- che
-cks
- chu
-nk_s
-plit
-()
-E
-scap
-e
-ch
-ars
-"
--- Iteration 8 --
-string(117) ""To
-chec
-k "
-in h
-ered
-oc"
-
-I'm
-sure
- it'
-ll w
-ork
-also
- wit
-h \
-
-whic
-h is
- sin
-gle
-slas
-h
-"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing chunk_split() : heredoc strings as 'str' argument ***
-- Iteration 1 --
unicode(2) "
echo "Done"
?>
---EXPECTF--
-*** Testing chunk_split() : with different single quoted 'str' ***
--- Iteration 0 --
-string(3) "):("
--- Iteration 1 --
-string(4) " ):("
--- Iteration 2 --
-string(30) "This is):( simple):( string):("
--- Iteration 3 --
-string(35) "It's st):(ring wi):(th quot):(es):("
--- Iteration 4 --
-string(46) "This co):(ntains ):(@ # $ %):( ^ & ch):(ars):("
--- Iteration 5 --
-string(59) "This st):(ring\tc):(ontains):(\rwhite):( space\):(nchars):("
--- Iteration 6 --
-string(47) "This is):( string):( with 1):(234 num):(bers):("
--- Iteration 7 --
-string(68) "This is):( string):( with \):(0 and "):(.chr(0)):(."null ):(chars):("
--- Iteration 8 --
-string(74) "This is):( string):( with ):( multi):(ple ):( sp):(ace cha):(r):("
--- Iteration 9 --
-string(46) "This is):( to che):(ck stri):(ng with):( ()):("
--- Iteration 10 --
-string(44) " Te):(sting w):(ith ):(Tab ):( ):("
--- Iteration 11 --
-string(55) "Testing):( invali):(d \k an):(d \m es):(cape ch):(ar):("
--- Iteration 12 --
-string(46) "This is):( to che):(ck with):( \n and):( \t):("
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing chunk_split() : with different single quoted 'str' ***
-- Iteration 0 --
unicode(3) "):("
unicode(55) "Testing):( invali):(d \k an):(d \m es):(cape ch):(ar):("
-- Iteration 12 --
unicode(46) "This is):( to che):(ck with):( \n and):( \t):("
-Done
\ No newline at end of file
+Done
*** Testing chunk_split() : different 'chunklen' with heredoc 'str' ***
-- Iteration 1 --
-Warning: chunk_split(): Chunk length should be greater than zero in %s on line %d
-bool(false)
--- Iteration 2 --
-string(504) "T:::h:::i:::s:::':::s::: :::h:::e:::r:::e:::d:::o:::c::: :::s:::t:::r:::i:::n:::g::: :::w:::i:::t:::h::: ::: ::: :::a:::n:::d::: :::
-::: :::w:::h:::i:::t:::e::: :::s:::p:::a:::c:::e::: :::c:::h:::a:::r:::.:::
-:::I:::t::: :::h:::a:::s::: :::_:::s:::p:::e:::c:::i:::@:::l::: :::c:::h:::@:::r:::$::: :::2:::2:::2:::2::: :::!:::!:::!:::N:::o:::w::: :::\:::k::: :::a:::s::: :::e:::s:::c:::a:::p:::e::: :::c:::h:::a:::r::: :::t:::o::: :::t:::e:::s:::t:::
-:::c:::h:::u:::n:::k:::_:::s:::p:::l:::i:::t:::(:::):::"
--- Iteration 3 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %s on line %d
-bool(false)
--- Iteration 4 --
-string(129) "This's heredoc string with and
- white space char.
-It has _speci@l ch@r$ 2222 !!!Now \k as escape char to test
-chunk_split():::"
--- Iteration 5 --
-string(141) "This's heredoc string with::: and
- white space char.:::
-It has _speci@l ch@r$ 222:::2 !!!Now \k as escape char::: to test
-chunk_split():::"
--- Iteration 6 --
-string(129) "This's heredoc string with and
- white space char.
-It has _speci@l ch@r$ 2222 !!!Now \k as escape char to test
-chunk_split():::"
--- Iteration 7 --
-string(129) "This's heredoc string with and
- white space char.
-It has _speci@l ch@r$ 2222 !!!Now \k as escape char to test
-chunk_split():::"
--- Iteration 8 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing chunk_split() : different 'chunklen' with heredoc 'str' ***
--- Iteration 1 --
-
Warning: chunk_split(): Chunk length should be greater than zero in %s on line %d
bool(false)
-- Iteration 2 --
Warning: chunk_split(): Chunk length should be greater than zero in %s on line %d
bool(false)
Done
-
echo "Done\n";
?>
---EXPECTF--
-Warning: convert_cyr_string() expects exactly 3 parameters, 0 given in %s on line %d
-NULL
-
-Warning: convert_cyr_string() expects exactly 3 parameters, 1 given in %s on line %d
-NULL
-
-Warning: convert_cyr_string() expects exactly 3 parameters, 2 given in %s on line %d
-NULL
-
-Warning: convert_cyr_string(): Unknown source charset: in %s on line %d
-
-Warning: convert_cyr_string(): Unknown destination charset: in %s on line %d
-string(0) ""
-
-Warning: convert_cyr_string() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: convert_cyr_string(): Unknown source charset: q in %s on line %d
-string(6) "[[[[[["
-string(6) "[[[[[["
-string(6) "[[[[[["
-string(6) "[[[[[["
-string(6) "[[[[[["
-
-Warning: convert_cyr_string(): Unknown destination charset: q in %s on line %d
-string(6) "[[[[[["
-string(0) ""
-Done
---UEXPECTF--
+--EXPECTF--
Warning: convert_cyr_string() expects exactly 3 parameters, 0 given in %s on line %d
NULL
var_dump((int) strlen(count_chars($s, 4)) == 256-strlen($a));
?>
---EXPECT--
-000000000000000000000000000000001200000000000010000000000000000000000000000000000000000000000000003000120111121083202362220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-Array
-(
- [32] => 12
- [45] => 1
- [97] => 3
- [101] => 12
- [103] => 1
- [104] => 1
- [105] => 1
- [106] => 1
- [107] => 2
- [108] => 1
- [110] => 8
- [111] => 3
- [112] => 2
- [114] => 2
- [115] => 3
- [116] => 6
- [117] => 2
- [118] => 2
- [119] => 2
-)
-000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- -aeghijklnoprstuvw
-bool(true)
---UEXPECTF--
+--EXPECTF--
Warning: count_chars(): Only mode=1 is supported with Unicode strings in %s on line %d
Warning: implode(): Argument must be an array in %s on line %d
echo "Done";
?>
---EXPECTF--
-*** Testing crc32() : basic functionality ***
-bool(true)
-256895812
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing crc32() : basic functionality ***
bool(true)
256895812
Warning: crc32() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Done
-
---UEXPECTF--
-*** Testing crc32() : error conditions ***
-
--- Testing crc32() function with Zero arguments --
-
-Warning: crc32() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-
--- Testing crc32() function with more than expected no. of arguments --
-
-Warning: crc32() expects exactly 1 parameter, 2 given in %s on line %d
-NULL
-Done
-- Iteration 10 --
-Warning: crc32() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
--- Iteration 11 --
-
-Warning: crc32() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
--- Iteration 12 --
-
-Warning: crc32() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
--- Iteration 13 --
-
-Warning: crc32() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
--- Iteration 14 --
-
-Warning: crc32() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
--- Iteration 15 --
-int(0)
-
--- Iteration 16 --
-int(0)
-
--- Iteration 17 --
-int(-2082672713)
-
--- Iteration 18 --
-int(0)
-
--- Iteration 19 --
-int(-2082672713)
-
--- Iteration 20 --
-int(0)
-
--- Iteration 21 --
-int(0)
-
--- Iteration 22 --
-int(0)
-
--- Iteration 23 --
-int(-1465013268)
-
--- Iteration 24 --
-int(0)
-
--- Iteration 25 --
-int(0)
-
--- Iteration 26 --
-
-Warning: crc32() expects parameter 1 to be string, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing crc32() : with unexpected values for str argument ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
--- Iteration 1 --
-int(-186917087)
-
--- Iteration 2 --
-int(-2082672713)
-
--- Iteration 3 --
-int(-873121252)
-
--- Iteration 4 --
-int(1860518047)
-
--- Iteration 5 --
-int(269248583)
-
--- Iteration 6 --
-int(-834950157)
-
--- Iteration 7 --
-int(-965354630)
-
--- Iteration 8 --
-int(1376932222)
-
--- Iteration 9 --
-int(-2036403827)
-
--- Iteration 10 --
-
Warning: crc32() expects parameter 1 to be binary string, array given in %s on line %d
NULL
echo "Done";
?>
---EXPECTF--
-*** Testing crc32() : with different strings in single quotes ***
-
--- Iteration 1 --
-int(0)
-
--- Iteration 2 --
-int(-378745019)
-
--- Iteration 3 --
-int(222957957)
-
--- Iteration 4 --
-int(-2015000997)
-
--- Iteration 5 --
-int(1234261835)
-
--- Iteration 6 --
-int(-1867296214)
-
--- Iteration 7 --
-int(1048577080)
-
--- Iteration 8 --
-int(2129739710)
-
--- Iteration 9 --
-int(-1633247628)
-
--- Iteration 10 --
-int(135755572)
-
--- Iteration 11 --
-int(27384015)
-
--- Iteration 12 --
-int(-497244052)
-
--- Iteration 13 --
-int(-2065897232)
-
--- Iteration 14 --
-int(243585859)
-
--- Iteration 15 --
-int(-856440615)
-
--- Iteration 16 --
-int(647088397)
-
--- Iteration 17 --
-int(523630053)
-
--- Iteration 18 --
-int(-2062229676)
-
--- Iteration 19 --
-int(1169918910)
-
--- Iteration 20 --
-int(-618551732)
-
--- Iteration 21 --
-int(-1828940657)
-
--- Iteration 22 --
-int(-1654468652)
-
--- Iteration 23 --
-int(-1648442217)
-
--- Iteration 24 --
-int(1431761713)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing crc32() : with different strings in single quotes ***
-- Iteration 1 --
-- Iteration 24 --
int(1431761713)
Done
-
---UEXPECTF--
-*** Testing crc32() : with different strings in double quotes ***
-
-Notice: Undefined variable: hello in %s on line %d
-
-Notice: Undefined variable: world in %s on line %d
-
--- Iteration 1 --
-int(0)
-
--- Iteration 2 --
-int(-378745019)
-
--- Iteration 3 --
-int(222957957)
-
--- Iteration 4 --
-int(-2015000997)
-
--- Iteration 5 --
-int(1234261835)
-
--- Iteration 6 --
-int(-1867296214)
-
--- Iteration 7 --
-int(1048577080)
-
--- Iteration 8 --
-int(2129739710)
-
--- Iteration 9 --
-int(-1633247628)
-
--- Iteration 10 --
-int(1191242624)
-
--- Iteration 11 --
-int(603128807)
-
--- Iteration 12 --
-int(-525789576)
-
--- Iteration 13 --
-int(770262395)
-
--- Iteration 14 --
-int(243585859)
-
--- Iteration 15 --
-int(-986324846)
-
--- Iteration 16 --
-int(-1417857067)
-
--- Iteration 17 --
-int(523630053)
-
--- Iteration 18 --
-int(-503915034)
-
--- Iteration 19 --
-int(-254912432)
-
--- Iteration 20 --
-int(-1581578467)
-
--- Iteration 21 --
-int(-1828940657)
-
--- Iteration 22 --
-int(-1654468652)
-
--- Iteration 23 --
-int(0)
-
--- Iteration 24 --
-int(1431761713)
-Done
echo "Done";
?>
---EXPECTF--
-*** Testing crc32() : with different heredoc strings ***
-
--- Iteration 1 --
-int(0)
-
--- Iteration 2 --
-int(1541608299)
-
--- Iteration 3 --
-int(1588851550)
-
--- Iteration 4 --
-int(-1726108239)
-
--- Iteration 5 --
-int(-1847303891)
-
--- Iteration 6 --
-int(-1260053120)
-
--- Iteration 7 --
-int(-1718044186)
-
--- Iteration 8 --
-int(1646793751)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing crc32() : with different heredoc strings ***
-- Iteration 1 --
--EXPECTREGEX--
\*\*\* Testing basic operations \*\*\*
---Iteration 1 --
-string\(1\) "."
-
---Iteration 2 --
-string\(4\) "(\\|\/)foo"
-
---Iteration 3 --
-string\(3\) "foo"
-
---Iteration 4 --
-string\(1\) "(\\|\/)"
-
---Iteration 5 --
-string\(1\) "."
-
---Iteration 6 --
-string\(1\) "(\\|\/)"
-
---Iteration 7 --
-string\(4\) "(\\|\/)foo"
-
---Iteration 8 --
-string\(3\) "foo"
-
---Iteration 9 --
-string\(1\) "(\\|\/)"
-
---Iteration 10 --
-string\(4\) "(\\|\/)foo"
-
---Iteration 11 --
-string\(3\) "foo"
-
---Iteration 12 --
-string\(1\) "."
-
---Iteration 13 --
-string\(1\) "."
-
---Iteration 14 --
-string\(1\) "(\\|\/)"
-
---Iteration 15 --
-string\(1\) "(\\|\/)"
-
---Iteration 16 --
-string\(4\) "(\\|\/)foo"
-
---Iteration 17 --
-string\(3\) "foo"
-
---Iteration 18 --
-string\(1\) "(\\|\/)"
-
---Iteration 19 --
-string\(1\) "(\\|\/)"
-
---Iteration 20 --
-string\(1\) "."
-
---Iteration 21 --
-string\(4\) "(\\|\/)foo"
-
---Iteration 22 --
-string\(1\) "."
-
---Iteration 23 --
-string\(4\) "(\\|\/)foo"
-
---Iteration 24 --
-string\(3\) "foo"
-
---Iteration 25 --
-string\(3\) "foo"
-
---Iteration 26 --
-string\(4\) "(\\|\/)foo"
-
---Iteration 27 --
-string\(4\) "(\\|\/)foo"
-
---Iteration 28 --
-string\(3\) "foo"
-
---Iteration 29 --
-string\(8\) "(\\|\/)foo(\\|\/)bar"
-Done
---UEXPECTREGEX--
-\*\*\* Testing basic operations \*\*\*
-
--Iteration 1 --
unicode\(1\) "."
Warning: dirname() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Done
---UEXPECTF--
-*** Testing error conditions ***
-
-Warning: dirname() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-
-Warning: dirname() expects exactly 1 parameter, 2 given in %s on line %d
-NULL
-Done
--EXPECTREGEX--
\*\*\* Testing possible variations in path \*\*\*
---Iteration 1 --
-string\(11\) "~(\\|\/)home(\\|\/)user"
-
---Iteration 2 --
-string\(11\) "~(\\|\/)home(\\|\/)user"
-
---Iteration 3 --
-string\(11\) "~(\\|\/)home(\\|\/)user"
-
---Iteration 4 --
-string\(11\) "~(\\|\/)home(\\|\/)user"
-
---Iteration 5 --
-string\(19\) "hostname:(\\|\/)home(\\|\/)user"
-
---Iteration 6 --
-string\(19\) "hostname:(\\|\/)home(\\|\/)user"
-
---Iteration 7 --
-string\(19\) "hostname:(\\|\/)home(\\|\/)user"
-
---Iteration 8 --
-string\(19\) "hostname:(\\|\/)home(\\|\/)user"
-
---Iteration 9 --
-string\(19\) "hostname:(\\|\/)home(\\|\/)user"
-
---Iteration 10 --
-string\(19\) "hostname:(\\|\/)home(\\|\/)user"
-
---Iteration 11 --
-string\(1\) "."
-
---Iteration 12 --
-string\(1\) "(\\|\/)"
-
---Iteration 13 --
-string\(1\) "(\\|\/)"
-
---Iteration 14 --
-string\(1\) "."
-
---Iteration 15 --
-string\(2\) "10"
-
---Iteration 16 --
-string\(1\) "."
-
---Iteration 17 --
-string\(1\) "."
-
---Iteration 18 --
-string\(1\) "."
-
---Iteration 19 --
-string\(1\) "."
-
---Iteration 20 --
-string\(1\) "."
-
---Iteration 21 --
-string\(0\) ""
-
---Iteration 22 --
-string\(0\) ""
-
---Iteration 23 --
-string\(0\) ""
-
---Iteration 24 --
-string\(0\) ""
-Done
---UEXPECTREGEX--
-\*\*\* Testing possible variations in path \*\*\*
-
--Iteration 1 --
unicode\(11\) "~(\\|\/)home(\\|\/)user"
var_dump(explode(":^:","a lazy dog:^:jumps::over:^:",-1));
var_dump(explode(":^:","a lazy dog:^:jumps::over:^:",-2));
?>
---EXPECTF--
-array (
- 0 => 'a',
- 1 => 'b' . "\0" . 'd',
- 2 => 'f',
- 3 => '1',
- 4 => 'd',
-)d6bee42a771449205344c0938ad4f035
-bool(false)
-bool(false)
-bool(false)
-array(1) {
- [0]=>
- string(0) ""
-}
-array(2) {
- [0]=>
- string(0) ""
- [1]=>
- string(0) ""
-}
-array(1) {
- [0]=>
- string(0) ""
-}
-bool(false)
-array(1) {
- [0]=>
- string(3) "acb"
-}
-array(1) {
- [0]=>
- string(11) "otherstring"
-}
-array(7) {
- [0]=>
- string(0) ""
- [1]=>
- string(0) ""
- [2]=>
- string(0) ""
- [3]=>
- string(0) ""
- [4]=>
- string(0) ""
- [5]=>
- string(0) ""
- [6]=>
- string(0) ""
-}
-array(1) {
- [0]=>
- string(60) "-=48=--=48=--=48=--=48=--=48=--=48=--=48=--=48=--=48=--=48=-"
-}
-array(21) {
- [0]=>
- string(1) "-"
- [1]=>
- string(2) "48"
- [2]=>
- string(2) "--"
- [3]=>
- string(2) "48"
- [4]=>
- string(2) "--"
- [5]=>
- string(2) "48"
- [6]=>
- string(2) "--"
- [7]=>
- string(2) "48"
- [8]=>
- string(2) "--"
- [9]=>
- string(2) "48"
- [10]=>
- string(2) "--"
- [11]=>
- string(2) "48"
- [12]=>
- string(2) "--"
- [13]=>
- string(2) "48"
- [14]=>
- string(2) "--"
- [15]=>
- string(2) "48"
- [16]=>
- string(2) "--"
- [17]=>
- string(2) "48"
- [18]=>
- string(2) "--"
- [19]=>
- string(2) "48"
- [20]=>
- string(1) "-"
-}
-array(3) {
- [0]=>
- string(10) "a lazy dog"
- [1]=>
- string(5) "jumps"
- [2]=>
- string(4) "over"
-}
-array(2) {
- [0]=>
- string(10) "a lazy dog"
- [1]=>
- string(5) "jumps"
-}
-array(1) {
- [0]=>
- string(10) "a lazy dog"
-}
-array(0) {
-}
-array(0) {
-}
-array(2) {
- [0]=>
- string(10) "a lazy dog"
- [1]=>
- string(11) "jumps::over"
-}
-array(1) {
- [0]=>
- string(10) "a lazy dog"
-}
---UEXPECTF--
+--EXPECT--
array (
0 => 'a',
1 => 'b' . "\0" . 'd',
Warning: explode(): Empty delimiter in %s on line %d
bool(false)
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
--- Iteration 3 --
-array(1) {
- [0]=>
- string(10) "1234NULL23"
-}
-array(1) {
- [0]=>
- string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(1) {
- [0]=>
- string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(2) {
- [0]=>
- string(10) "1234NULL23"
- [1]=>
- string(43) "00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
--- Iteration 4 --
-array(5) {
- [0]=>
- string(14) "1234NULL23abcd"
- [1]=>
- string(0) ""
- [2]=>
- string(0) ""
- [3]=>
- string(0) ""
- [4]=>
- string(0) ""
-}
-array(1) {
- [0]=>
- string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(1) {
- [0]=>
- string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(2) {
- [0]=>
- string(14) "1234NULL23abcd"
- [1]=>
- string(42) "0000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
--- Iteration 5 --
-array(5) {
- [0]=>
- string(14) "1234NULL23abcd"
- [1]=>
- string(0) ""
- [2]=>
- string(0) ""
- [3]=>
- string(0) ""
- [4]=>
- string(0) ""
-}
-array(1) {
- [0]=>
- string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(1) {
- [0]=>
- string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(2) {
- [0]=>
- string(14) "1234NULL23abcd"
- [1]=>
- string(42) "0000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
--- Iteration 6 --
-array(5) {
- [0]=>
- string(0) ""
- [1]=>
- string(28) "234NULL23abcd00000TRUEFALSE-"
- [2]=>
- string(0) ""
- [3]=>
- string(12) ".234444true-"
- [4]=>
- string(0) ""
-}
-array(1) {
- [0]=>
- string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(1) {
- [0]=>
- string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(2) {
- [0]=>
- string(0) ""
- [1]=>
- string(56) "234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
--- Iteration 7 --
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
--- Iteration 8 --
-array(2) {
- [0]=>
- string(28) "1234NULL23abcd00000TRUEFALSE"
- [1]=>
- string(12) "1.234444true"
-}
-array(1) {
- [0]=>
- string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(1) {
- [0]=>
- string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(2) {
- [0]=>
- string(28) "1234NULL23abcd00000TRUEFALSE"
- [1]=>
- string(27) "1.234444true-11.24%PHP%ZEND"
-}
--- Iteration 9 --
-array(1) {
- [0]=>
- string(28) "1234NULL23abcd00000TRUEFALSE"
-}
-array(1) {
- [0]=>
- string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(1) {
- [0]=>
- string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(2) {
- [0]=>
- string(28) "1234NULL23abcd00000TRUEFALSE"
- [1]=>
- string(23) "4444true-11.24%PHP%ZEND"
-}
--- Iteration 10 --
-array(6) {
- [0]=>
- string(3) "123"
- [1]=>
- string(30) "NULL23abcd00000TRUEFALSE-11.23"
- [2]=>
- string(0) ""
- [3]=>
- string(0) ""
- [4]=>
- string(0) ""
- [5]=>
- string(9) "true-11.2"
-}
-array(1) {
- [0]=>
- string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(1) {
- [0]=>
- string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(2) {
- [0]=>
- string(3) "123"
- [1]=>
- string(53) "NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
--- Iteration 11 --
-array(2) {
- [0]=>
- string(48) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24"
- [1]=>
- string(3) "PHP"
-}
-array(1) {
- [0]=>
- string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(1) {
- [0]=>
- string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(2) {
- [0]=>
- string(48) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24"
- [1]=>
- string(8) "PHP%ZEND"
-}
-
-*** Testing explode() with miscelleneous input arguments ***
-
--- Passing positive values of Limit to explode() --
-array(2) {
- [0]=>
- string(3) "mon"
- [1]=>
- string(31) "tues::wed::thurs::fri::sat::sun"
-}
-
--- Passing limit values 0 and 1 to explode() --
-array(1) {
- [0]=>
- string(29) "Name:Phone:Address:City:State"
-}
-array(1) {
- [0]=>
- string(29) "Name:Phone:Address:City:State"
-}
-
-*** Testing explode() for maximum limit of string with Limit = -1 ***
-array(51) {
- [0]=>
- string(1) "1"
- [1]=>
- string(1) "2"
- [2]=>
- string(1) "3"
- [3]=>
- string(1) "4"
- [4]=>
- string(1) "5"
- [5]=>
- string(1) "6"
- [6]=>
- string(1) "7"
- [7]=>
- string(1) "7"
- [8]=>
- string(1) "5"
- [9]=>
- string(1) "6"
- [10]=>
- string(1) "7"
- [11]=>
- string(1) "3"
- [12]=>
- string(1) "4"
- [13]=>
- string(1) "5"
- [14]=>
- string(1) "2"
- [15]=>
- string(1) "8"
- [16]=>
- string(1) "9"
- [17]=>
- string(1) "0"
- [18]=>
- string(1) "5"
- [19]=>
- string(1) "5"
- [20]=>
- string(1) "5"
- [21]=>
- string(1) "5"
- [22]=>
- string(1) "5"
- [23]=>
- string(1) "5"
- [24]=>
- string(1) "5"
- [25]=>
- string(1) "5"
- [26]=>
- string(1) "5"
- [27]=>
- string(1) "5"
- [28]=>
- string(1) "5"
- [29]=>
- string(1) "5"
- [30]=>
- string(2) "55"
- [31]=>
- string(1) "5"
- [32]=>
- string(1) "5"
- [33]=>
- string(2) "5%"
- [34]=>
- string(1) "%"
- [35]=>
- string(1) "%"
- [36]=>
- string(1) "%"
- [37]=>
- string(1) "5"
- [38]=>
- string(1) "5"
- [39]=>
- string(1) "5"
- [40]=>
- string(1) "%"
- [41]=>
- string(1) "%"
- [42]=>
- string(1) "5"
- [43]=>
- string(1) "5"
- [44]=>
- string(1) "5"
- [45]=>
- string(1) "5"
- [46]=>
- string(2) "5%"
- [47]=>
- string(1) "%"
- [48]=>
- string(1) "%"
- [49]=>
- string(2) "55"
- [50]=>
- string(1) "1"
-}
-
-*** Testing explode() with string variations as input argument ***
-
--- Testing string with escape characters --
-array(2) {
- [0]=>
- string(4) "1234"
- [1]=>
- string(10) "5678
- 9100"
-}
-array(4) {
- [0]=>
- string(4) "1234"
- [1]=>
- string(4) "abcd"
- [2]=>
- string(4) "5678"
- [3]=>
- string(4) "rstu"
-}
-
--- Testing string with embedded NULL --
-array(4) {
- [0]=>
- string(4) "abcd"
- [1]=>
- string(5) "n1234"
- [2]=>
- string(5) "05678"
- [3]=>
- string(12) "00efgh\xijkl"
-}
-array(7) {
- [0]=>
- string(4) "abcd"
- [1]=>
- string(4) "efgh"
- [2]=>
- string(4) "ijkl"
- [3]=>
- string(4) "mnop"
- [4]=>
- string(5) "0qrst"
- [5]=>
- string(4) "uvwx"
- [6]=>
- string(2) "yz"
-}
-
-*** Testing explode() with objects ***
-array(2) {
- [0]=>
- string(1) "O"
- [1]=>
- string(4) "ject"
-}
-
-*** Testing error conditions ***
-
-Warning: explode() expects at most 3 parameters, 4 given in %s on line %d
-NULL
-
-Warning: explode() expects at least 2 parameters, 1 given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing explode() for basic operations ***
--- Iteration 1 --
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
--- Iteration 2 --
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
Warning: explode(): Empty delimiter in %s on line %d
bool(false)
-- Iteration 3 --
unlink($data_file);
?>
---EXPECTF--
+--EXPECT--
*** Testing fprintf() with floats ***
-- Iteration 1 --
unlink($data_file);
?>
---EXPECTF--
+--EXPECT--
*** Testing fprintf() with integers ***
-- Iteration 1 --
unlink($data_file);
?>
---EXPECTF--
+--EXPECT--
*** Testing fprintf() with binary ***
0
unlink($data_file);
?>
---EXPECTF--
+--EXPECT--
*** Testing fprintf() with binary ***
0
unlink($data_file);
?>
---EXPECTF--
+--EXPECT--
*** Testing fprintf() for scientific type ***
0.000000e+0
unlink($data_file);
?>
---EXPECTF--
+--EXPECT--
*** Testing fprintf() for unsigned integers ***
0
unlink($data_file);
?>
---EXPECTF--
+--EXPECT--
*** Testing fprintf() for unsigned integers ***
0
unlink($data_file);
?>
---EXPECTF--
+--EXPECT--
*** Testing fprintf() for octals ***
0
unlink($data_file);
?>
---EXPECTF--
+--EXPECT--
*** Testing fprintf() for octals ***
0
unlink($data_file);
?>
---EXPECTF--
+--EXPECT--
*** Testing fprintf() for hexadecimals ***
0
unlink($data_file);
?>
---EXPECTF--
+--EXPECT--
*** Testing fprintf() for hexadecimals ***
0
unlink($data_file);
?>
---EXPECTF--
+--EXPECT--
*** Testing fprintf() for string types ***
-- Iteration 1 --
+++ /dev/null
---TEST--
-Test get_html_translation_table() function : basic functionality - with default args
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) != "WIN"){
- die('skip only for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "English_United States.1252") ) {
- die('skip failed to set locale settings to "English_United States.1252"');
-}
-?>
---FILE--
-<?php
-/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/* Test get_html_translation_table() when table is specified as HTML_ENTITIES */
-
-//set locale
-setlocale(LC_ALL, "English_United States.1252");
-
-echo "*** Testing get_html_translation_table() : basic functionality ***\n";
-
-// Calling get_html_translation_table() with default arguments
-echo "-- with default arguments --\n";
-var_dump( get_html_translation_table() );
-
-// Calling get_html_translation_table() with all possible optional arguments
-echo "-- with table = HTML_ENTITIES --\n";
-$table = HTML_ENTITIES;
-var_dump( get_html_translation_table($table) );
-
-echo "-- with table = HTML_SPECIALCHARS --\n";
-$table = HTML_SPECIALCHARS;
-var_dump( get_html_translation_table($table) );
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with default arguments --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- with table = HTML_ENTITIES --
-array(100) {
- [" "]=>
- string(6) " "
- ["¡"]=>
- string(7) "¡"
- ["¢"]=>
- string(6) "¢"
- ["£"]=>
- string(7) "£"
- ["¤"]=>
- string(8) "¤"
- ["¥"]=>
- string(5) "¥"
- ["¦"]=>
- string(8) "¦"
- ["§"]=>
- string(6) "§"
- ["¨"]=>
- string(5) "¨"
- ["©"]=>
- string(6) "©"
- ["ª"]=>
- string(6) "ª"
- ["«"]=>
- string(7) "«"
- ["¬"]=>
- string(5) "¬"
- [""]=>
- string(5) "­"
- ["®"]=>
- string(5) "®"
- ["¯"]=>
- string(6) "¯"
- ["°"]=>
- string(5) "°"
- ["±"]=>
- string(8) "±"
- ["²"]=>
- string(6) "²"
- ["³"]=>
- string(6) "³"
- ["´"]=>
- string(7) "´"
- ["µ"]=>
- string(7) "µ"
- ["¶"]=>
- string(6) "¶"
- ["·"]=>
- string(8) "·"
- ["¸"]=>
- string(7) "¸"
- ["¹"]=>
- string(6) "¹"
- ["º"]=>
- string(6) "º"
- ["»"]=>
- string(7) "»"
- ["¼"]=>
- string(8) "¼"
- ["½"]=>
- string(8) "½"
- ["¾"]=>
- string(8) "¾"
- ["¿"]=>
- string(8) "¿"
- ["À"]=>
- string(8) "À"
- ["Á"]=>
- string(8) "Á"
- ["Â"]=>
- string(7) "Â"
- ["Ã"]=>
- string(8) "Ã"
- ["Ä"]=>
- string(6) "Ä"
- ["Å"]=>
- string(7) "Å"
- ["Æ"]=>
- string(7) "Æ"
- ["Ç"]=>
- string(8) "Ç"
- ["È"]=>
- string(8) "È"
- ["É"]=>
- string(8) "É"
- ["Ê"]=>
- string(7) "Ê"
- ["Ë"]=>
- string(6) "Ë"
- ["Ì"]=>
- string(8) "Ì"
- ["Í"]=>
- string(8) "Í"
- ["Î"]=>
- string(7) "Î"
- ["Ï"]=>
- string(6) "Ï"
- ["Ð"]=>
- string(5) "Ð"
- ["Ñ"]=>
- string(8) "Ñ"
- ["Ò"]=>
- string(8) "Ò"
- ["Ó"]=>
- string(8) "Ó"
- ["Ô"]=>
- string(7) "Ô"
- ["Õ"]=>
- string(8) "Õ"
- ["Ö"]=>
- string(6) "Ö"
- ["×"]=>
- string(7) "×"
- ["Ø"]=>
- string(8) "Ø"
- ["Ù"]=>
- string(8) "Ù"
- ["Ú"]=>
- string(8) "Ú"
- ["Û"]=>
- string(7) "Û"
- ["Ü"]=>
- string(6) "Ü"
- ["Ý"]=>
- string(8) "Ý"
- ["Þ"]=>
- string(7) "Þ"
- ["ß"]=>
- string(7) "ß"
- ["à"]=>
- string(8) "à"
- ["á"]=>
- string(8) "á"
- ["â"]=>
- string(7) "â"
- ["ã"]=>
- string(8) "ã"
- ["ä"]=>
- string(6) "ä"
- ["å"]=>
- string(7) "å"
- ["æ"]=>
- string(7) "æ"
- ["ç"]=>
- string(8) "ç"
- ["è"]=>
- string(8) "è"
- ["é"]=>
- string(8) "é"
- ["ê"]=>
- string(7) "ê"
- ["ë"]=>
- string(6) "ë"
- ["ì"]=>
- string(8) "ì"
- ["í"]=>
- string(8) "í"
- ["î"]=>
- string(7) "î"
- ["ï"]=>
- string(6) "ï"
- ["ð"]=>
- string(5) "ð"
- ["ñ"]=>
- string(8) "ñ"
- ["ò"]=>
- string(8) "ò"
- ["ó"]=>
- string(8) "ó"
- ["ô"]=>
- string(7) "ô"
- ["õ"]=>
- string(8) "õ"
- ["ö"]=>
- string(6) "ö"
- ["÷"]=>
- string(8) "÷"
- ["ø"]=>
- string(8) "ø"
- ["ù"]=>
- string(8) "ù"
- ["ú"]=>
- string(8) "ú"
- ["û"]=>
- string(7) "û"
- ["ü"]=>
- string(6) "ü"
- ["ý"]=>
- string(8) "ý"
- ["þ"]=>
- string(7) "þ"
- ["ÿ"]=>
- string(6) "ÿ"
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- with table = HTML_SPECIALCHARS --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with default arguments --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- with table = HTML_ENTITIES --
-array(311) {
- [u" "]=>
- unicode(6) " "
- [u"¡"]=>
- unicode(7) "¡"
- [u"¢"]=>
- unicode(6) "¢"
- [u"£"]=>
- unicode(7) "£"
- [u"¤"]=>
- unicode(8) "¤"
- [u"¥"]=>
- unicode(5) "¥"
- [u"¦"]=>
- unicode(8) "¦"
- [u"§"]=>
- unicode(6) "§"
- [u"¨"]=>
- unicode(5) "¨"
- [u"©"]=>
- unicode(6) "©"
- [u"ª"]=>
- unicode(6) "ª"
- [u"«"]=>
- unicode(7) "«"
- [u"¬"]=>
- unicode(5) "¬"
- [u""]=>
- unicode(5) "­"
- [u"®"]=>
- unicode(5) "®"
- [u"¯"]=>
- unicode(6) "¯"
- [u"°"]=>
- unicode(5) "°"
- [u"±"]=>
- unicode(8) "±"
- [u"²"]=>
- unicode(6) "²"
- [u"³"]=>
- unicode(6) "³"
- [u"´"]=>
- unicode(7) "´"
- [u"µ"]=>
- unicode(7) "µ"
- [u"¶"]=>
- unicode(6) "¶"
- [u"·"]=>
- unicode(8) "·"
- [u"¸"]=>
- unicode(7) "¸"
- [u"¹"]=>
- unicode(6) "¹"
- [u"º"]=>
- unicode(6) "º"
- [u"»"]=>
- unicode(7) "»"
- [u"¼"]=>
- unicode(8) "¼"
- [u"½"]=>
- unicode(8) "½"
- [u"¾"]=>
- unicode(8) "¾"
- [u"¿"]=>
- unicode(8) "¿"
- [u"À"]=>
- unicode(8) "À"
- [u"Á"]=>
- unicode(8) "Á"
- [u"Â"]=>
- unicode(7) "Â"
- [u"Ã"]=>
- unicode(8) "Ã"
- [u"Ä"]=>
- unicode(6) "Ä"
- [u"Å"]=>
- unicode(7) "Å"
- [u"Æ"]=>
- unicode(7) "Æ"
- [u"Ç"]=>
- unicode(8) "Ç"
- [u"È"]=>
- unicode(8) "È"
- [u"É"]=>
- unicode(8) "É"
- [u"Ê"]=>
- unicode(7) "Ê"
- [u"Ë"]=>
- unicode(6) "Ë"
- [u"Ì"]=>
- unicode(8) "Ì"
- [u"Í"]=>
- unicode(8) "Í"
- [u"Î"]=>
- unicode(7) "Î"
- [u"Ï"]=>
- unicode(6) "Ï"
- [u"Ð"]=>
- unicode(5) "Ð"
- [u"Ñ"]=>
- unicode(8) "Ñ"
- [u"Ò"]=>
- unicode(8) "Ò"
- [u"Ó"]=>
- unicode(8) "Ó"
- [u"Ô"]=>
- unicode(7) "Ô"
- [u"Õ"]=>
- unicode(8) "Õ"
- [u"Ö"]=>
- unicode(6) "Ö"
- [u"×"]=>
- unicode(7) "×"
- [u"Ø"]=>
- unicode(8) "Ø"
- [u"Ù"]=>
- unicode(8) "Ù"
- [u"Ú"]=>
- unicode(8) "Ú"
- [u"Û"]=>
- unicode(7) "Û"
- [u"Ü"]=>
- unicode(6) "Ü"
- [u"Ý"]=>
- unicode(8) "Ý"
- [u"Þ"]=>
- unicode(7) "Þ"
- [u"ß"]=>
- unicode(7) "ß"
- [u"à"]=>
- unicode(8) "à"
- [u"á"]=>
- unicode(8) "á"
- [u"â"]=>
- unicode(7) "â"
- [u"ã"]=>
- unicode(8) "ã"
- [u"ä"]=>
- unicode(6) "ä"
- [u"å"]=>
- unicode(7) "å"
- [u"æ"]=>
- unicode(7) "æ"
- [u"ç"]=>
- unicode(8) "ç"
- [u"è"]=>
- unicode(8) "è"
- [u"é"]=>
- unicode(8) "é"
- [u"ê"]=>
- unicode(7) "ê"
- [u"ë"]=>
- unicode(6) "ë"
- [u"ì"]=>
- unicode(8) "ì"
- [u"í"]=>
- unicode(8) "í"
- [u"î"]=>
- unicode(7) "î"
- [u"ï"]=>
- unicode(6) "ï"
- [u"ð"]=>
- unicode(5) "ð"
- [u"ñ"]=>
- unicode(8) "ñ"
- [u"ò"]=>
- unicode(8) "ò"
- [u"ó"]=>
- unicode(8) "ó"
- [u"ô"]=>
- unicode(7) "ô"
- [u"õ"]=>
- unicode(8) "õ"
- [u"ö"]=>
- unicode(6) "ö"
- [u"÷"]=>
- unicode(8) "÷"
- [u"ø"]=>
- unicode(8) "ø"
- [u"ù"]=>
- unicode(8) "ù"
- [u"ú"]=>
- unicode(8) "ú"
- [u"û"]=>
- unicode(7) "û"
- [u"ü"]=>
- unicode(6) "ü"
- [u"ý"]=>
- unicode(8) "ý"
- [u"þ"]=>
- unicode(7) "þ"
- [u"ÿ"]=>
- unicode(6) "ÿ"
- [u"Œ"]=>
- unicode(7) "Œ"
- [u"œ"]=>
- unicode(7) "œ"
- [u"Š"]=>
- unicode(8) "Š"
- [u"š"]=>
- unicode(8) "š"
- [u"Ÿ"]=>
- unicode(6) "Ÿ"
- [u"ƒ"]=>
- unicode(6) "ƒ"
- [u"ˆ"]=>
- unicode(6) "ˆ"
- [u"˜"]=>
- unicode(7) "˜"
- [u"Α"]=>
- unicode(7) "Α"
- [u"Β"]=>
- unicode(6) "Β"
- [u"Γ"]=>
- unicode(7) "Γ"
- [u"Δ"]=>
- unicode(7) "Δ"
- [u"Ε"]=>
- unicode(9) "Ε"
- [u"Ζ"]=>
- unicode(6) "Ζ"
- [u"Η"]=>
- unicode(5) "Η"
- [u"Θ"]=>
- unicode(7) "Θ"
- [u"Ι"]=>
- unicode(6) "Ι"
- [u"Κ"]=>
- unicode(7) "Κ"
- [u"Λ"]=>
- unicode(8) "Λ"
- [u"Μ"]=>
- unicode(4) "Μ"
- [u"Ν"]=>
- unicode(4) "Ν"
- [u"Ξ"]=>
- unicode(4) "Ξ"
- [u"Ο"]=>
- unicode(9) "Ο"
- [u"Π"]=>
- unicode(4) "Π"
- [u"Ρ"]=>
- unicode(5) "Ρ"
- [u"Σ"]=>
- unicode(7) "Σ"
- [u"Τ"]=>
- unicode(5) "Τ"
- [u"Υ"]=>
- unicode(9) "Υ"
- [u"Φ"]=>
- unicode(5) "Φ"
- [u"Χ"]=>
- unicode(5) "Χ"
- [u"Ψ"]=>
- unicode(5) "Ψ"
- [u"Ω"]=>
- unicode(7) "Ω"
- [u"α"]=>
- unicode(7) "α"
- [u"β"]=>
- unicode(6) "β"
- [u"γ"]=>
- unicode(7) "γ"
- [u"δ"]=>
- unicode(7) "δ"
- [u"ε"]=>
- unicode(9) "ε"
- [u"ζ"]=>
- unicode(6) "ζ"
- [u"η"]=>
- unicode(5) "η"
- [u"θ"]=>
- unicode(7) "θ"
- [u"ι"]=>
- unicode(6) "ι"
- [u"κ"]=>
- unicode(7) "κ"
- [u"λ"]=>
- unicode(8) "λ"
- [u"μ"]=>
- unicode(4) "μ"
- [u"ν"]=>
- unicode(4) "ν"
- [u"ξ"]=>
- unicode(4) "ξ"
- [u"ο"]=>
- unicode(9) "ο"
- [u"π"]=>
- unicode(4) "π"
- [u"ρ"]=>
- unicode(5) "ρ"
- [u"ς"]=>
- unicode(8) "ς"
- [u"σ"]=>
- unicode(7) "σ"
- [u"τ"]=>
- unicode(5) "τ"
- [u"υ"]=>
- unicode(9) "υ"
- [u"φ"]=>
- unicode(5) "φ"
- [u"χ"]=>
- unicode(5) "χ"
- [u"ψ"]=>
- unicode(5) "ψ"
- [u"ω"]=>
- unicode(7) "ω"
- [u"ϑ"]=>
- unicode(10) "ϑ"
- [u"ϒ"]=>
- unicode(7) "ϒ"
- [u"ϖ"]=>
- unicode(5) "ϖ"
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(8) " "
- [u""]=>
- unicode(6) "‌"
- [u""]=>
- unicode(5) "‍"
- [u""]=>
- unicode(5) "‎"
- [u""]=>
- unicode(5) "‏"
- [u"–"]=>
- unicode(7) "–"
- [u"—"]=>
- unicode(7) "—"
- [u"‘"]=>
- unicode(7) "‘"
- [u"’"]=>
- unicode(7) "’"
- [u"‚"]=>
- unicode(7) "‚"
- [u"“"]=>
- unicode(7) "“"
- [u"”"]=>
- unicode(7) "”"
- [u"„"]=>
- unicode(7) "„"
- [u"†"]=>
- unicode(8) "†"
- [u"‡"]=>
- unicode(8) "‡"
- [u"•"]=>
- unicode(6) "•"
- [u"…"]=>
- unicode(8) "…"
- [u"‰"]=>
- unicode(8) "‰"
- [u"′"]=>
- unicode(7) "′"
- [u"″"]=>
- unicode(7) "″"
- [u"‹"]=>
- unicode(8) "‹"
- [u"›"]=>
- unicode(8) "›"
- [u"‾"]=>
- unicode(7) "‾"
- [u"⁄"]=>
- unicode(7) "⁄"
- [u"€"]=>
- unicode(6) "€"
- [u"ℑ"]=>
- unicode(7) "ℑ"
- [u"℘"]=>
- unicode(8) "℘"
- [u"ℜ"]=>
- unicode(6) "ℜ"
- [u"™"]=>
- unicode(7) "™"
- [u"ℵ"]=>
- unicode(9) "ℵ"
- [u"←"]=>
- unicode(6) "←"
- [u"↑"]=>
- unicode(6) "↑"
- [u"→"]=>
- unicode(6) "→"
- [u"↓"]=>
- unicode(6) "↓"
- [u"↔"]=>
- unicode(6) "↔"
- [u"↵"]=>
- unicode(7) "↵"
- [u"⇐"]=>
- unicode(6) "⇐"
- [u"⇑"]=>
- unicode(6) "⇑"
- [u"⇒"]=>
- unicode(6) "⇒"
- [u"⇓"]=>
- unicode(6) "⇓"
- [u"⇔"]=>
- unicode(6) "⇔"
- [u"⇕"]=>
- unicode(6) "⇕"
- [u"⇚"]=>
- unicode(7) "⇚"
- [u"⇛"]=>
- unicode(7) "⇛"
- [u"⇝"]=>
- unicode(7) "↝"
- [u"∀"]=>
- unicode(8) "∀"
- [u"∁"]=>
- unicode(6) "∁"
- [u"∂"]=>
- unicode(6) "∂"
- [u"∃"]=>
- unicode(7) "∃"
- [u"∄"]=>
- unicode(8) "∄"
- [u"∅"]=>
- unicode(7) "∅"
- [u"∇"]=>
- unicode(7) "∇"
- [u"∈"]=>
- unicode(6) "∈"
- [u"∉"]=>
- unicode(7) "∉"
- [u"∊"]=>
- unicode(7) "&epsis;"
- [u"∋"]=>
- unicode(4) "∋"
- [u"∌"]=>
- unicode(7) "∌"
- [u"∍"]=>
- unicode(7) "϶"
- [u"∏"]=>
- unicode(6) "∏"
- [u"∐"]=>
- unicode(8) "∐"
- [u"∑"]=>
- unicode(5) "∑"
- [u"−"]=>
- unicode(7) "−"
- [u"∓"]=>
- unicode(8) "∓"
- [u"∔"]=>
- unicode(8) "∔"
- [u"∖"]=>
- unicode(7) "∖"
- [u"∗"]=>
- unicode(8) "∗"
- [u"∘"]=>
- unicode(8) "∘"
- [u"√"]=>
- unicode(7) "√"
- [u"∝"]=>
- unicode(6) "∝"
- [u"∞"]=>
- unicode(7) "∞"
- [u"∟"]=>
- unicode(7) "&ang90;"
- [u"∠"]=>
- unicode(5) "∠"
- [u"∡"]=>
- unicode(8) "∡"
- [u"∢"]=>
- unicode(8) "∢"
- [u"∣"]=>
- unicode(5) "∣"
- [u"∤"]=>
- unicode(6) "∤"
- [u"∥"]=>
- unicode(5) "∥"
- [u"∦"]=>
- unicode(6) "∦"
- [u"∧"]=>
- unicode(5) "∧"
- [u"∨"]=>
- unicode(4) "∨"
- [u"∩"]=>
- unicode(5) "∩"
- [u"∪"]=>
- unicode(5) "∪"
- [u"∫"]=>
- unicode(5) "∫"
- [u"∮"]=>
- unicode(8) "∮"
- [u"∴"]=>
- unicode(8) "∴"
- [u"∵"]=>
- unicode(8) "∵"
- [u"∼"]=>
- unicode(5) "∼"
- [u"∽"]=>
- unicode(6) "∽"
- [u"≀"]=>
- unicode(8) "≀"
- [u"≁"]=>
- unicode(6) "≁"
- [u"≃"]=>
- unicode(6) "≃"
- [u"≄"]=>
- unicode(7) "≄"
- [u"≅"]=>
- unicode(6) "≅"
- [u"≇"]=>
- unicode(7) "≇"
- [u"≈"]=>
- unicode(7) "≈"
- [u"≉"]=>
- unicode(5) "≉"
- [u"≊"]=>
- unicode(5) "≊"
- [u"≌"]=>
- unicode(7) "≌"
- [u"≍"]=>
- unicode(7) "≈"
- [u"≎"]=>
- unicode(6) "≎"
- [u"≏"]=>
- unicode(7) "≏"
- [u"≠"]=>
- unicode(4) "≠"
- [u"≡"]=>
- unicode(7) "≡"
- [u"≤"]=>
- unicode(4) "≤"
- [u"≥"]=>
- unicode(4) "≥"
- [u"≦"]=>
- unicode(4) "≦"
- [u"≧"]=>
- unicode(4) "≧"
- [u"≨"]=>
- unicode(5) "≨"
- [u"≩"]=>
- unicode(5) "≩"
- [u"≪"]=>
- unicode(4) "≪"
- [u"≫"]=>
- unicode(4) "≫"
- [u"≬"]=>
- unicode(7) "≬"
- [u"≮"]=>
- unicode(5) "≮"
- [u"≯"]=>
- unicode(5) "≯"
- [u"≰"]=>
- unicode(6) "⩽̸"
- [u"≱"]=>
- unicode(6) "⩾̸"
- [u"≲"]=>
- unicode(6) "≲"
- [u"≳"]=>
- unicode(6) "≳"
- [u"≶"]=>
- unicode(4) "≶"
- [u"≷"]=>
- unicode(4) "≷"
- [u"≺"]=>
- unicode(4) "≺"
- [u"≻"]=>
- unicode(4) "≻"
- [u"≼"]=>
- unicode(7) "&cupre;"
- [u"≽"]=>
- unicode(7) "&sscue;"
- [u"≾"]=>
- unicode(7) "≾"
- [u"≿"]=>
- unicode(7) "≿"
- [u"⊀"]=>
- unicode(5) "⊀"
- [u"⊁"]=>
- unicode(5) "⊁"
- [u"⊂"]=>
- unicode(5) "⊂"
- [u"⊃"]=>
- unicode(5) "⊃"
- [u"⊄"]=>
- unicode(6) "⊄"
- [u"⊅"]=>
- unicode(6) "⊅"
- [u"⊆"]=>
- unicode(6) "⊆"
- [u"⊇"]=>
- unicode(6) "⊇"
- [u"⊕"]=>
- unicode(7) "⊕"
- [u"⊗"]=>
- unicode(8) "⊗"
- [u"⊥"]=>
- unicode(6) "⊥"
- [u"⋅"]=>
- unicode(6) "⋅"
- [u"⌈"]=>
- unicode(7) "⌈"
- [u"⌉"]=>
- unicode(7) "⌉"
- [u"⌊"]=>
- unicode(8) "⌊"
- [u"⌋"]=>
- unicode(8) "⌋"
- [u"〈"]=>
- unicode(6) "⟨"
- [u"〉"]=>
- unicode(6) "⟩"
- [u"◊"]=>
- unicode(5) "◊"
- [u"♠"]=>
- unicode(8) "♠"
- [u"♣"]=>
- unicode(7) "♣"
- [u"♥"]=>
- unicode(8) "♥"
- [u"♦"]=>
- unicode(7) "♦"
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- with table = HTML_SPECIALCHARS --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-Done
+++ /dev/null
---TEST--
-Test get_html_translation_table() function : basic functionality - with default args
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) == "WIN"){
- die('skip Not for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "en_US.UTF-8") ) {
- die('skip failed to set locale settings to "en-US.UTF-8"');
-}
-?>
---FILE--
-<?php
-/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/* Test get_html_translation_table() when table is specified as HTML_ENTITIES */
-
-//set locale to en_US.UTF-8
-setlocale(LC_ALL, "en_US.UTF-8");
-
-echo "*** Testing get_html_translation_table() : basic functionality ***\n";
-
-// Calling get_html_translation_table() with default arguments
-echo "-- with default arguments --\n";
-var_dump( get_html_translation_table() );
-
-// Calling get_html_translation_table() with all possible optional arguments
-echo "-- with table = HTML_ENTITIES --\n";
-$table = HTML_ENTITIES;
-var_dump( get_html_translation_table($table) );
-
-echo "-- with table = HTML_SPECIALCHARS --\n";
-$table = HTML_SPECIALCHARS;
-var_dump( get_html_translation_table($table) );
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with default arguments --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- with table = HTML_ENTITIES --
-array(100) {
- [" "]=>
- string(6) " "
- ["¡"]=>
- string(7) "¡"
- ["¢"]=>
- string(6) "¢"
- ["£"]=>
- string(7) "£"
- ["¤"]=>
- string(8) "¤"
- ["¥"]=>
- string(5) "¥"
- ["¦"]=>
- string(8) "¦"
- ["§"]=>
- string(6) "§"
- ["¨"]=>
- string(5) "¨"
- ["©"]=>
- string(6) "©"
- ["ª"]=>
- string(6) "ª"
- ["«"]=>
- string(7) "«"
- ["¬"]=>
- string(5) "¬"
- [""]=>
- string(5) "­"
- ["®"]=>
- string(5) "®"
- ["¯"]=>
- string(6) "¯"
- ["°"]=>
- string(5) "°"
- ["±"]=>
- string(8) "±"
- ["²"]=>
- string(6) "²"
- ["³"]=>
- string(6) "³"
- ["´"]=>
- string(7) "´"
- ["µ"]=>
- string(7) "µ"
- ["¶"]=>
- string(6) "¶"
- ["·"]=>
- string(8) "·"
- ["¸"]=>
- string(7) "¸"
- ["¹"]=>
- string(6) "¹"
- ["º"]=>
- string(6) "º"
- ["»"]=>
- string(7) "»"
- ["¼"]=>
- string(8) "¼"
- ["½"]=>
- string(8) "½"
- ["¾"]=>
- string(8) "¾"
- ["¿"]=>
- string(8) "¿"
- ["À"]=>
- string(8) "À"
- ["Á"]=>
- string(8) "Á"
- ["Â"]=>
- string(7) "Â"
- ["Ã"]=>
- string(8) "Ã"
- ["Ä"]=>
- string(6) "Ä"
- ["Å"]=>
- string(7) "Å"
- ["Æ"]=>
- string(7) "Æ"
- ["Ç"]=>
- string(8) "Ç"
- ["È"]=>
- string(8) "È"
- ["É"]=>
- string(8) "É"
- ["Ê"]=>
- string(7) "Ê"
- ["Ë"]=>
- string(6) "Ë"
- ["Ì"]=>
- string(8) "Ì"
- ["Í"]=>
- string(8) "Í"
- ["Î"]=>
- string(7) "Î"
- ["Ï"]=>
- string(6) "Ï"
- ["Ð"]=>
- string(5) "Ð"
- ["Ñ"]=>
- string(8) "Ñ"
- ["Ò"]=>
- string(8) "Ò"
- ["Ó"]=>
- string(8) "Ó"
- ["Ô"]=>
- string(7) "Ô"
- ["Õ"]=>
- string(8) "Õ"
- ["Ö"]=>
- string(6) "Ö"
- ["×"]=>
- string(7) "×"
- ["Ø"]=>
- string(8) "Ø"
- ["Ù"]=>
- string(8) "Ù"
- ["Ú"]=>
- string(8) "Ú"
- ["Û"]=>
- string(7) "Û"
- ["Ü"]=>
- string(6) "Ü"
- ["Ý"]=>
- string(8) "Ý"
- ["Þ"]=>
- string(7) "Þ"
- ["ß"]=>
- string(7) "ß"
- ["à"]=>
- string(8) "à"
- ["á"]=>
- string(8) "á"
- ["â"]=>
- string(7) "â"
- ["ã"]=>
- string(8) "ã"
- ["ä"]=>
- string(6) "ä"
- ["å"]=>
- string(7) "å"
- ["æ"]=>
- string(7) "æ"
- ["ç"]=>
- string(8) "ç"
- ["è"]=>
- string(8) "è"
- ["é"]=>
- string(8) "é"
- ["ê"]=>
- string(7) "ê"
- ["ë"]=>
- string(6) "ë"
- ["ì"]=>
- string(8) "ì"
- ["í"]=>
- string(8) "í"
- ["î"]=>
- string(7) "î"
- ["ï"]=>
- string(6) "ï"
- ["ð"]=>
- string(5) "ð"
- ["ñ"]=>
- string(8) "ñ"
- ["ò"]=>
- string(8) "ò"
- ["ó"]=>
- string(8) "ó"
- ["ô"]=>
- string(7) "ô"
- ["õ"]=>
- string(8) "õ"
- ["ö"]=>
- string(6) "ö"
- ["÷"]=>
- string(8) "÷"
- ["ø"]=>
- string(8) "ø"
- ["ù"]=>
- string(8) "ù"
- ["ú"]=>
- string(8) "ú"
- ["û"]=>
- string(7) "û"
- ["ü"]=>
- string(6) "ü"
- ["ý"]=>
- string(8) "ý"
- ["þ"]=>
- string(7) "þ"
- ["ÿ"]=>
- string(6) "ÿ"
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- with table = HTML_SPECIALCHARS --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with default arguments --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- with table = HTML_ENTITIES --
-array(311) {
- [u" "]=>
- unicode(6) " "
- [u"¡"]=>
- unicode(7) "¡"
- [u"¢"]=>
- unicode(6) "¢"
- [u"£"]=>
- unicode(7) "£"
- [u"¤"]=>
- unicode(8) "¤"
- [u"¥"]=>
- unicode(5) "¥"
- [u"¦"]=>
- unicode(8) "¦"
- [u"§"]=>
- unicode(6) "§"
- [u"¨"]=>
- unicode(5) "¨"
- [u"©"]=>
- unicode(6) "©"
- [u"ª"]=>
- unicode(6) "ª"
- [u"«"]=>
- unicode(7) "«"
- [u"¬"]=>
- unicode(5) "¬"
- [u""]=>
- unicode(5) "­"
- [u"®"]=>
- unicode(5) "®"
- [u"¯"]=>
- unicode(6) "¯"
- [u"°"]=>
- unicode(5) "°"
- [u"±"]=>
- unicode(8) "±"
- [u"²"]=>
- unicode(6) "²"
- [u"³"]=>
- unicode(6) "³"
- [u"´"]=>
- unicode(7) "´"
- [u"µ"]=>
- unicode(7) "µ"
- [u"¶"]=>
- unicode(6) "¶"
- [u"·"]=>
- unicode(8) "·"
- [u"¸"]=>
- unicode(7) "¸"
- [u"¹"]=>
- unicode(6) "¹"
- [u"º"]=>
- unicode(6) "º"
- [u"»"]=>
- unicode(7) "»"
- [u"¼"]=>
- unicode(8) "¼"
- [u"½"]=>
- unicode(8) "½"
- [u"¾"]=>
- unicode(8) "¾"
- [u"¿"]=>
- unicode(8) "¿"
- [u"À"]=>
- unicode(8) "À"
- [u"Á"]=>
- unicode(8) "Á"
- [u"Â"]=>
- unicode(7) "Â"
- [u"Ã"]=>
- unicode(8) "Ã"
- [u"Ä"]=>
- unicode(6) "Ä"
- [u"Å"]=>
- unicode(7) "Å"
- [u"Æ"]=>
- unicode(7) "Æ"
- [u"Ç"]=>
- unicode(8) "Ç"
- [u"È"]=>
- unicode(8) "È"
- [u"É"]=>
- unicode(8) "É"
- [u"Ê"]=>
- unicode(7) "Ê"
- [u"Ë"]=>
- unicode(6) "Ë"
- [u"Ì"]=>
- unicode(8) "Ì"
- [u"Í"]=>
- unicode(8) "Í"
- [u"Î"]=>
- unicode(7) "Î"
- [u"Ï"]=>
- unicode(6) "Ï"
- [u"Ð"]=>
- unicode(5) "Ð"
- [u"Ñ"]=>
- unicode(8) "Ñ"
- [u"Ò"]=>
- unicode(8) "Ò"
- [u"Ó"]=>
- unicode(8) "Ó"
- [u"Ô"]=>
- unicode(7) "Ô"
- [u"Õ"]=>
- unicode(8) "Õ"
- [u"Ö"]=>
- unicode(6) "Ö"
- [u"×"]=>
- unicode(7) "×"
- [u"Ø"]=>
- unicode(8) "Ø"
- [u"Ù"]=>
- unicode(8) "Ù"
- [u"Ú"]=>
- unicode(8) "Ú"
- [u"Û"]=>
- unicode(7) "Û"
- [u"Ü"]=>
- unicode(6) "Ü"
- [u"Ý"]=>
- unicode(8) "Ý"
- [u"Þ"]=>
- unicode(7) "Þ"
- [u"ß"]=>
- unicode(7) "ß"
- [u"à"]=>
- unicode(8) "à"
- [u"á"]=>
- unicode(8) "á"
- [u"â"]=>
- unicode(7) "â"
- [u"ã"]=>
- unicode(8) "ã"
- [u"ä"]=>
- unicode(6) "ä"
- [u"å"]=>
- unicode(7) "å"
- [u"æ"]=>
- unicode(7) "æ"
- [u"ç"]=>
- unicode(8) "ç"
- [u"è"]=>
- unicode(8) "è"
- [u"é"]=>
- unicode(8) "é"
- [u"ê"]=>
- unicode(7) "ê"
- [u"ë"]=>
- unicode(6) "ë"
- [u"ì"]=>
- unicode(8) "ì"
- [u"í"]=>
- unicode(8) "í"
- [u"î"]=>
- unicode(7) "î"
- [u"ï"]=>
- unicode(6) "ï"
- [u"ð"]=>
- unicode(5) "ð"
- [u"ñ"]=>
- unicode(8) "ñ"
- [u"ò"]=>
- unicode(8) "ò"
- [u"ó"]=>
- unicode(8) "ó"
- [u"ô"]=>
- unicode(7) "ô"
- [u"õ"]=>
- unicode(8) "õ"
- [u"ö"]=>
- unicode(6) "ö"
- [u"÷"]=>
- unicode(8) "÷"
- [u"ø"]=>
- unicode(8) "ø"
- [u"ù"]=>
- unicode(8) "ù"
- [u"ú"]=>
- unicode(8) "ú"
- [u"û"]=>
- unicode(7) "û"
- [u"ü"]=>
- unicode(6) "ü"
- [u"ý"]=>
- unicode(8) "ý"
- [u"þ"]=>
- unicode(7) "þ"
- [u"ÿ"]=>
- unicode(6) "ÿ"
- [u"Œ"]=>
- unicode(7) "Œ"
- [u"œ"]=>
- unicode(7) "œ"
- [u"Š"]=>
- unicode(8) "Š"
- [u"š"]=>
- unicode(8) "š"
- [u"Ÿ"]=>
- unicode(6) "Ÿ"
- [u"ƒ"]=>
- unicode(6) "ƒ"
- [u"ˆ"]=>
- unicode(6) "ˆ"
- [u"˜"]=>
- unicode(7) "˜"
- [u"Α"]=>
- unicode(7) "Α"
- [u"Β"]=>
- unicode(6) "Β"
- [u"Γ"]=>
- unicode(7) "Γ"
- [u"Δ"]=>
- unicode(7) "Δ"
- [u"Ε"]=>
- unicode(9) "Ε"
- [u"Ζ"]=>
- unicode(6) "Ζ"
- [u"Η"]=>
- unicode(5) "Η"
- [u"Θ"]=>
- unicode(7) "Θ"
- [u"Ι"]=>
- unicode(6) "Ι"
- [u"Κ"]=>
- unicode(7) "Κ"
- [u"Λ"]=>
- unicode(8) "Λ"
- [u"Μ"]=>
- unicode(4) "Μ"
- [u"Ν"]=>
- unicode(4) "Ν"
- [u"Ξ"]=>
- unicode(4) "Ξ"
- [u"Ο"]=>
- unicode(9) "Ο"
- [u"Π"]=>
- unicode(4) "Π"
- [u"Ρ"]=>
- unicode(5) "Ρ"
- [u"Σ"]=>
- unicode(7) "Σ"
- [u"Τ"]=>
- unicode(5) "Τ"
- [u"Υ"]=>
- unicode(9) "Υ"
- [u"Φ"]=>
- unicode(5) "Φ"
- [u"Χ"]=>
- unicode(5) "Χ"
- [u"Ψ"]=>
- unicode(5) "Ψ"
- [u"Ω"]=>
- unicode(7) "Ω"
- [u"α"]=>
- unicode(7) "α"
- [u"β"]=>
- unicode(6) "β"
- [u"γ"]=>
- unicode(7) "γ"
- [u"δ"]=>
- unicode(7) "δ"
- [u"ε"]=>
- unicode(9) "ε"
- [u"ζ"]=>
- unicode(6) "ζ"
- [u"η"]=>
- unicode(5) "η"
- [u"θ"]=>
- unicode(7) "θ"
- [u"ι"]=>
- unicode(6) "ι"
- [u"κ"]=>
- unicode(7) "κ"
- [u"λ"]=>
- unicode(8) "λ"
- [u"μ"]=>
- unicode(4) "μ"
- [u"ν"]=>
- unicode(4) "ν"
- [u"ξ"]=>
- unicode(4) "ξ"
- [u"ο"]=>
- unicode(9) "ο"
- [u"π"]=>
- unicode(4) "π"
- [u"ρ"]=>
- unicode(5) "ρ"
- [u"ς"]=>
- unicode(8) "ς"
- [u"σ"]=>
- unicode(7) "σ"
- [u"τ"]=>
- unicode(5) "τ"
- [u"υ"]=>
- unicode(9) "υ"
- [u"φ"]=>
- unicode(5) "φ"
- [u"χ"]=>
- unicode(5) "χ"
- [u"ψ"]=>
- unicode(5) "ψ"
- [u"ω"]=>
- unicode(7) "ω"
- [u"ϑ"]=>
- unicode(10) "ϑ"
- [u"ϒ"]=>
- unicode(7) "ϒ"
- [u"ϖ"]=>
- unicode(5) "ϖ"
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(8) " "
- [u""]=>
- unicode(6) "‌"
- [u""]=>
- unicode(5) "‍"
- [u""]=>
- unicode(5) "‎"
- [u""]=>
- unicode(5) "‏"
- [u"–"]=>
- unicode(7) "–"
- [u"—"]=>
- unicode(7) "—"
- [u"‘"]=>
- unicode(7) "‘"
- [u"’"]=>
- unicode(7) "’"
- [u"‚"]=>
- unicode(7) "‚"
- [u"“"]=>
- unicode(7) "“"
- [u"”"]=>
- unicode(7) "”"
- [u"„"]=>
- unicode(7) "„"
- [u"†"]=>
- unicode(8) "†"
- [u"‡"]=>
- unicode(8) "‡"
- [u"•"]=>
- unicode(6) "•"
- [u"…"]=>
- unicode(8) "…"
- [u"‰"]=>
- unicode(8) "‰"
- [u"′"]=>
- unicode(7) "′"
- [u"″"]=>
- unicode(7) "″"
- [u"‹"]=>
- unicode(8) "‹"
- [u"›"]=>
- unicode(8) "›"
- [u"‾"]=>
- unicode(7) "‾"
- [u"⁄"]=>
- unicode(7) "⁄"
- [u"€"]=>
- unicode(6) "€"
- [u"ℑ"]=>
- unicode(7) "ℑ"
- [u"℘"]=>
- unicode(8) "℘"
- [u"ℜ"]=>
- unicode(6) "ℜ"
- [u"™"]=>
- unicode(7) "™"
- [u"ℵ"]=>
- unicode(9) "ℵ"
- [u"←"]=>
- unicode(6) "←"
- [u"↑"]=>
- unicode(6) "↑"
- [u"→"]=>
- unicode(6) "→"
- [u"↓"]=>
- unicode(6) "↓"
- [u"↔"]=>
- unicode(6) "↔"
- [u"↵"]=>
- unicode(7) "↵"
- [u"⇐"]=>
- unicode(6) "⇐"
- [u"⇑"]=>
- unicode(6) "⇑"
- [u"⇒"]=>
- unicode(6) "⇒"
- [u"⇓"]=>
- unicode(6) "⇓"
- [u"⇔"]=>
- unicode(6) "⇔"
- [u"⇕"]=>
- unicode(6) "⇕"
- [u"⇚"]=>
- unicode(7) "⇚"
- [u"⇛"]=>
- unicode(7) "⇛"
- [u"⇝"]=>
- unicode(7) "↝"
- [u"∀"]=>
- unicode(8) "∀"
- [u"∁"]=>
- unicode(6) "∁"
- [u"∂"]=>
- unicode(6) "∂"
- [u"∃"]=>
- unicode(7) "∃"
- [u"∄"]=>
- unicode(8) "∄"
- [u"∅"]=>
- unicode(7) "∅"
- [u"∇"]=>
- unicode(7) "∇"
- [u"∈"]=>
- unicode(6) "∈"
- [u"∉"]=>
- unicode(7) "∉"
- [u"∊"]=>
- unicode(7) "&epsis;"
- [u"∋"]=>
- unicode(4) "∋"
- [u"∌"]=>
- unicode(7) "∌"
- [u"∍"]=>
- unicode(7) "϶"
- [u"∏"]=>
- unicode(6) "∏"
- [u"∐"]=>
- unicode(8) "∐"
- [u"∑"]=>
- unicode(5) "∑"
- [u"−"]=>
- unicode(7) "−"
- [u"∓"]=>
- unicode(8) "∓"
- [u"∔"]=>
- unicode(8) "∔"
- [u"∖"]=>
- unicode(7) "∖"
- [u"∗"]=>
- unicode(8) "∗"
- [u"∘"]=>
- unicode(8) "∘"
- [u"√"]=>
- unicode(7) "√"
- [u"∝"]=>
- unicode(6) "∝"
- [u"∞"]=>
- unicode(7) "∞"
- [u"∟"]=>
- unicode(7) "&ang90;"
- [u"∠"]=>
- unicode(5) "∠"
- [u"∡"]=>
- unicode(8) "∡"
- [u"∢"]=>
- unicode(8) "∢"
- [u"∣"]=>
- unicode(5) "∣"
- [u"∤"]=>
- unicode(6) "∤"
- [u"∥"]=>
- unicode(5) "∥"
- [u"∦"]=>
- unicode(6) "∦"
- [u"∧"]=>
- unicode(5) "∧"
- [u"∨"]=>
- unicode(4) "∨"
- [u"∩"]=>
- unicode(5) "∩"
- [u"∪"]=>
- unicode(5) "∪"
- [u"∫"]=>
- unicode(5) "∫"
- [u"∮"]=>
- unicode(8) "∮"
- [u"∴"]=>
- unicode(8) "∴"
- [u"∵"]=>
- unicode(8) "∵"
- [u"∼"]=>
- unicode(5) "∼"
- [u"∽"]=>
- unicode(6) "∽"
- [u"≀"]=>
- unicode(8) "≀"
- [u"≁"]=>
- unicode(6) "≁"
- [u"≃"]=>
- unicode(6) "≃"
- [u"≄"]=>
- unicode(7) "≄"
- [u"≅"]=>
- unicode(6) "≅"
- [u"≇"]=>
- unicode(7) "≇"
- [u"≈"]=>
- unicode(7) "≈"
- [u"≉"]=>
- unicode(5) "≉"
- [u"≊"]=>
- unicode(5) "≊"
- [u"≌"]=>
- unicode(7) "≌"
- [u"≍"]=>
- unicode(7) "≈"
- [u"≎"]=>
- unicode(6) "≎"
- [u"≏"]=>
- unicode(7) "≏"
- [u"≠"]=>
- unicode(4) "≠"
- [u"≡"]=>
- unicode(7) "≡"
- [u"≤"]=>
- unicode(4) "≤"
- [u"≥"]=>
- unicode(4) "≥"
- [u"≦"]=>
- unicode(4) "≦"
- [u"≧"]=>
- unicode(4) "≧"
- [u"≨"]=>
- unicode(5) "≨"
- [u"≩"]=>
- unicode(5) "≩"
- [u"≪"]=>
- unicode(4) "≪"
- [u"≫"]=>
- unicode(4) "≫"
- [u"≬"]=>
- unicode(7) "≬"
- [u"≮"]=>
- unicode(5) "≮"
- [u"≯"]=>
- unicode(5) "≯"
- [u"≰"]=>
- unicode(6) "⩽̸"
- [u"≱"]=>
- unicode(6) "⩾̸"
- [u"≲"]=>
- unicode(6) "≲"
- [u"≳"]=>
- unicode(6) "≳"
- [u"≶"]=>
- unicode(4) "≶"
- [u"≷"]=>
- unicode(4) "≷"
- [u"≺"]=>
- unicode(4) "≺"
- [u"≻"]=>
- unicode(4) "≻"
- [u"≼"]=>
- unicode(7) "&cupre;"
- [u"≽"]=>
- unicode(7) "&sscue;"
- [u"≾"]=>
- unicode(7) "≾"
- [u"≿"]=>
- unicode(7) "≿"
- [u"⊀"]=>
- unicode(5) "⊀"
- [u"⊁"]=>
- unicode(5) "⊁"
- [u"⊂"]=>
- unicode(5) "⊂"
- [u"⊃"]=>
- unicode(5) "⊃"
- [u"⊄"]=>
- unicode(6) "⊄"
- [u"⊅"]=>
- unicode(6) "⊅"
- [u"⊆"]=>
- unicode(6) "⊆"
- [u"⊇"]=>
- unicode(6) "⊇"
- [u"⊕"]=>
- unicode(7) "⊕"
- [u"⊗"]=>
- unicode(8) "⊗"
- [u"⊥"]=>
- unicode(6) "⊥"
- [u"⋅"]=>
- unicode(6) "⋅"
- [u"⌈"]=>
- unicode(7) "⌈"
- [u"⌉"]=>
- unicode(7) "⌉"
- [u"⌊"]=>
- unicode(8) "⌊"
- [u"⌋"]=>
- unicode(8) "⌋"
- [u"〈"]=>
- unicode(6) "⟨"
- [u"〉"]=>
- unicode(6) "⟩"
- [u"◊"]=>
- unicode(5) "◊"
- [u"♠"]=>
- unicode(8) "♠"
- [u"♣"]=>
- unicode(7) "♣"
- [u"♥"]=>
- unicode(8) "♥"
- [u"♦"]=>
- unicode(7) "♦"
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- with table = HTML_SPECIALCHARS --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-Done
+++ /dev/null
---TEST--
-Test get_html_translation_table() function : basic functionality - table as HTML_ENTITIES & quote_style(ENT_COMPAT, ENT_QUOTES)
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) != "WIN"){
- die('skip only for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "English_United States.1252") ) {
- die('skip failed to set locale settings to "English_United States.1252"');
-}
-?>
---FILE--
-<?php
-/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/* Test get_html_translation_table() when table is specified as HTML_ENTITIES */
-
-//set locale
-setlocale(LC_ALL, "English_United States.1252");
-
-echo "*** Testing get_html_translation_table() : basic functionality ***\n";
-
-// Calling get_html_translation_table() with default arguments
-echo "-- with default arguments --\n";
-var_dump( get_html_translation_table() );
-
-// Calling get_html_translation_table() with all arguments
-// $table as HTML_ENTITIES and different quote style
-echo "-- with table = HTML_ENTITIES & quote_style = ENT_COMPAT --\n";
-$table = HTML_ENTITIES;
-$quote_style = ENT_COMPAT;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "-- with table = HTML_ENTITIES & quote_style = ENT_QUOTES --\n";
-$quote_style = ENT_QUOTES;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with default arguments --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- with table = HTML_ENTITIES & quote_style = ENT_COMPAT --
-array(100) {
- [" "]=>
- string(6) " "
- ["¡"]=>
- string(7) "¡"
- ["¢"]=>
- string(6) "¢"
- ["£"]=>
- string(7) "£"
- ["¤"]=>
- string(8) "¤"
- ["¥"]=>
- string(5) "¥"
- ["¦"]=>
- string(8) "¦"
- ["§"]=>
- string(6) "§"
- ["¨"]=>
- string(5) "¨"
- ["©"]=>
- string(6) "©"
- ["ª"]=>
- string(6) "ª"
- ["«"]=>
- string(7) "«"
- ["¬"]=>
- string(5) "¬"
- [""]=>
- string(5) "­"
- ["®"]=>
- string(5) "®"
- ["¯"]=>
- string(6) "¯"
- ["°"]=>
- string(5) "°"
- ["±"]=>
- string(8) "±"
- ["²"]=>
- string(6) "²"
- ["³"]=>
- string(6) "³"
- ["´"]=>
- string(7) "´"
- ["µ"]=>
- string(7) "µ"
- ["¶"]=>
- string(6) "¶"
- ["·"]=>
- string(8) "·"
- ["¸"]=>
- string(7) "¸"
- ["¹"]=>
- string(6) "¹"
- ["º"]=>
- string(6) "º"
- ["»"]=>
- string(7) "»"
- ["¼"]=>
- string(8) "¼"
- ["½"]=>
- string(8) "½"
- ["¾"]=>
- string(8) "¾"
- ["¿"]=>
- string(8) "¿"
- ["À"]=>
- string(8) "À"
- ["Á"]=>
- string(8) "Á"
- ["Â"]=>
- string(7) "Â"
- ["Ã"]=>
- string(8) "Ã"
- ["Ä"]=>
- string(6) "Ä"
- ["Å"]=>
- string(7) "Å"
- ["Æ"]=>
- string(7) "Æ"
- ["Ç"]=>
- string(8) "Ç"
- ["È"]=>
- string(8) "È"
- ["É"]=>
- string(8) "É"
- ["Ê"]=>
- string(7) "Ê"
- ["Ë"]=>
- string(6) "Ë"
- ["Ì"]=>
- string(8) "Ì"
- ["Í"]=>
- string(8) "Í"
- ["Î"]=>
- string(7) "Î"
- ["Ï"]=>
- string(6) "Ï"
- ["Ð"]=>
- string(5) "Ð"
- ["Ñ"]=>
- string(8) "Ñ"
- ["Ò"]=>
- string(8) "Ò"
- ["Ó"]=>
- string(8) "Ó"
- ["Ô"]=>
- string(7) "Ô"
- ["Õ"]=>
- string(8) "Õ"
- ["Ö"]=>
- string(6) "Ö"
- ["×"]=>
- string(7) "×"
- ["Ø"]=>
- string(8) "Ø"
- ["Ù"]=>
- string(8) "Ù"
- ["Ú"]=>
- string(8) "Ú"
- ["Û"]=>
- string(7) "Û"
- ["Ü"]=>
- string(6) "Ü"
- ["Ý"]=>
- string(8) "Ý"
- ["Þ"]=>
- string(7) "Þ"
- ["ß"]=>
- string(7) "ß"
- ["à"]=>
- string(8) "à"
- ["á"]=>
- string(8) "á"
- ["â"]=>
- string(7) "â"
- ["ã"]=>
- string(8) "ã"
- ["ä"]=>
- string(6) "ä"
- ["å"]=>
- string(7) "å"
- ["æ"]=>
- string(7) "æ"
- ["ç"]=>
- string(8) "ç"
- ["è"]=>
- string(8) "è"
- ["é"]=>
- string(8) "é"
- ["ê"]=>
- string(7) "ê"
- ["ë"]=>
- string(6) "ë"
- ["ì"]=>
- string(8) "ì"
- ["í"]=>
- string(8) "í"
- ["î"]=>
- string(7) "î"
- ["ï"]=>
- string(6) "ï"
- ["ð"]=>
- string(5) "ð"
- ["ñ"]=>
- string(8) "ñ"
- ["ò"]=>
- string(8) "ò"
- ["ó"]=>
- string(8) "ó"
- ["ô"]=>
- string(7) "ô"
- ["õ"]=>
- string(8) "õ"
- ["ö"]=>
- string(6) "ö"
- ["÷"]=>
- string(8) "÷"
- ["ø"]=>
- string(8) "ø"
- ["ù"]=>
- string(8) "ù"
- ["ú"]=>
- string(8) "ú"
- ["û"]=>
- string(7) "û"
- ["ü"]=>
- string(6) "ü"
- ["ý"]=>
- string(8) "ý"
- ["þ"]=>
- string(7) "þ"
- ["ÿ"]=>
- string(6) "ÿ"
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- with table = HTML_ENTITIES & quote_style = ENT_QUOTES --
-array(101) {
- [" "]=>
- string(6) " "
- ["¡"]=>
- string(7) "¡"
- ["¢"]=>
- string(6) "¢"
- ["£"]=>
- string(7) "£"
- ["¤"]=>
- string(8) "¤"
- ["¥"]=>
- string(5) "¥"
- ["¦"]=>
- string(8) "¦"
- ["§"]=>
- string(6) "§"
- ["¨"]=>
- string(5) "¨"
- ["©"]=>
- string(6) "©"
- ["ª"]=>
- string(6) "ª"
- ["«"]=>
- string(7) "«"
- ["¬"]=>
- string(5) "¬"
- [""]=>
- string(5) "­"
- ["®"]=>
- string(5) "®"
- ["¯"]=>
- string(6) "¯"
- ["°"]=>
- string(5) "°"
- ["±"]=>
- string(8) "±"
- ["²"]=>
- string(6) "²"
- ["³"]=>
- string(6) "³"
- ["´"]=>
- string(7) "´"
- ["µ"]=>
- string(7) "µ"
- ["¶"]=>
- string(6) "¶"
- ["·"]=>
- string(8) "·"
- ["¸"]=>
- string(7) "¸"
- ["¹"]=>
- string(6) "¹"
- ["º"]=>
- string(6) "º"
- ["»"]=>
- string(7) "»"
- ["¼"]=>
- string(8) "¼"
- ["½"]=>
- string(8) "½"
- ["¾"]=>
- string(8) "¾"
- ["¿"]=>
- string(8) "¿"
- ["À"]=>
- string(8) "À"
- ["Á"]=>
- string(8) "Á"
- ["Â"]=>
- string(7) "Â"
- ["Ã"]=>
- string(8) "Ã"
- ["Ä"]=>
- string(6) "Ä"
- ["Å"]=>
- string(7) "Å"
- ["Æ"]=>
- string(7) "Æ"
- ["Ç"]=>
- string(8) "Ç"
- ["È"]=>
- string(8) "È"
- ["É"]=>
- string(8) "É"
- ["Ê"]=>
- string(7) "Ê"
- ["Ë"]=>
- string(6) "Ë"
- ["Ì"]=>
- string(8) "Ì"
- ["Í"]=>
- string(8) "Í"
- ["Î"]=>
- string(7) "Î"
- ["Ï"]=>
- string(6) "Ï"
- ["Ð"]=>
- string(5) "Ð"
- ["Ñ"]=>
- string(8) "Ñ"
- ["Ò"]=>
- string(8) "Ò"
- ["Ó"]=>
- string(8) "Ó"
- ["Ô"]=>
- string(7) "Ô"
- ["Õ"]=>
- string(8) "Õ"
- ["Ö"]=>
- string(6) "Ö"
- ["×"]=>
- string(7) "×"
- ["Ø"]=>
- string(8) "Ø"
- ["Ù"]=>
- string(8) "Ù"
- ["Ú"]=>
- string(8) "Ú"
- ["Û"]=>
- string(7) "Û"
- ["Ü"]=>
- string(6) "Ü"
- ["Ý"]=>
- string(8) "Ý"
- ["Þ"]=>
- string(7) "Þ"
- ["ß"]=>
- string(7) "ß"
- ["à"]=>
- string(8) "à"
- ["á"]=>
- string(8) "á"
- ["â"]=>
- string(7) "â"
- ["ã"]=>
- string(8) "ã"
- ["ä"]=>
- string(6) "ä"
- ["å"]=>
- string(7) "å"
- ["æ"]=>
- string(7) "æ"
- ["ç"]=>
- string(8) "ç"
- ["è"]=>
- string(8) "è"
- ["é"]=>
- string(8) "é"
- ["ê"]=>
- string(7) "ê"
- ["ë"]=>
- string(6) "ë"
- ["ì"]=>
- string(8) "ì"
- ["í"]=>
- string(8) "í"
- ["î"]=>
- string(7) "î"
- ["ï"]=>
- string(6) "ï"
- ["ð"]=>
- string(5) "ð"
- ["ñ"]=>
- string(8) "ñ"
- ["ò"]=>
- string(8) "ò"
- ["ó"]=>
- string(8) "ó"
- ["ô"]=>
- string(7) "ô"
- ["õ"]=>
- string(8) "õ"
- ["ö"]=>
- string(6) "ö"
- ["÷"]=>
- string(8) "÷"
- ["ø"]=>
- string(8) "ø"
- ["ù"]=>
- string(8) "ù"
- ["ú"]=>
- string(8) "ú"
- ["û"]=>
- string(7) "û"
- ["ü"]=>
- string(6) "ü"
- ["ý"]=>
- string(8) "ý"
- ["þ"]=>
- string(7) "þ"
- ["ÿ"]=>
- string(6) "ÿ"
- ["""]=>
- string(6) """
- ["'"]=>
- string(5) "'"
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with default arguments --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- with table = HTML_ENTITIES & quote_style = ENT_COMPAT --
-array(311) {
- [u" "]=>
- unicode(6) " "
- [u"¡"]=>
- unicode(7) "¡"
- [u"¢"]=>
- unicode(6) "¢"
- [u"£"]=>
- unicode(7) "£"
- [u"¤"]=>
- unicode(8) "¤"
- [u"¥"]=>
- unicode(5) "¥"
- [u"¦"]=>
- unicode(8) "¦"
- [u"§"]=>
- unicode(6) "§"
- [u"¨"]=>
- unicode(5) "¨"
- [u"©"]=>
- unicode(6) "©"
- [u"ª"]=>
- unicode(6) "ª"
- [u"«"]=>
- unicode(7) "«"
- [u"¬"]=>
- unicode(5) "¬"
- [u""]=>
- unicode(5) "­"
- [u"®"]=>
- unicode(5) "®"
- [u"¯"]=>
- unicode(6) "¯"
- [u"°"]=>
- unicode(5) "°"
- [u"±"]=>
- unicode(8) "±"
- [u"²"]=>
- unicode(6) "²"
- [u"³"]=>
- unicode(6) "³"
- [u"´"]=>
- unicode(7) "´"
- [u"µ"]=>
- unicode(7) "µ"
- [u"¶"]=>
- unicode(6) "¶"
- [u"·"]=>
- unicode(8) "·"
- [u"¸"]=>
- unicode(7) "¸"
- [u"¹"]=>
- unicode(6) "¹"
- [u"º"]=>
- unicode(6) "º"
- [u"»"]=>
- unicode(7) "»"
- [u"¼"]=>
- unicode(8) "¼"
- [u"½"]=>
- unicode(8) "½"
- [u"¾"]=>
- unicode(8) "¾"
- [u"¿"]=>
- unicode(8) "¿"
- [u"À"]=>
- unicode(8) "À"
- [u"Á"]=>
- unicode(8) "Á"
- [u"Â"]=>
- unicode(7) "Â"
- [u"Ã"]=>
- unicode(8) "Ã"
- [u"Ä"]=>
- unicode(6) "Ä"
- [u"Å"]=>
- unicode(7) "Å"
- [u"Æ"]=>
- unicode(7) "Æ"
- [u"Ç"]=>
- unicode(8) "Ç"
- [u"È"]=>
- unicode(8) "È"
- [u"É"]=>
- unicode(8) "É"
- [u"Ê"]=>
- unicode(7) "Ê"
- [u"Ë"]=>
- unicode(6) "Ë"
- [u"Ì"]=>
- unicode(8) "Ì"
- [u"Í"]=>
- unicode(8) "Í"
- [u"Î"]=>
- unicode(7) "Î"
- [u"Ï"]=>
- unicode(6) "Ï"
- [u"Ð"]=>
- unicode(5) "Ð"
- [u"Ñ"]=>
- unicode(8) "Ñ"
- [u"Ò"]=>
- unicode(8) "Ò"
- [u"Ó"]=>
- unicode(8) "Ó"
- [u"Ô"]=>
- unicode(7) "Ô"
- [u"Õ"]=>
- unicode(8) "Õ"
- [u"Ö"]=>
- unicode(6) "Ö"
- [u"×"]=>
- unicode(7) "×"
- [u"Ø"]=>
- unicode(8) "Ø"
- [u"Ù"]=>
- unicode(8) "Ù"
- [u"Ú"]=>
- unicode(8) "Ú"
- [u"Û"]=>
- unicode(7) "Û"
- [u"Ü"]=>
- unicode(6) "Ü"
- [u"Ý"]=>
- unicode(8) "Ý"
- [u"Þ"]=>
- unicode(7) "Þ"
- [u"ß"]=>
- unicode(7) "ß"
- [u"à"]=>
- unicode(8) "à"
- [u"á"]=>
- unicode(8) "á"
- [u"â"]=>
- unicode(7) "â"
- [u"ã"]=>
- unicode(8) "ã"
- [u"ä"]=>
- unicode(6) "ä"
- [u"å"]=>
- unicode(7) "å"
- [u"æ"]=>
- unicode(7) "æ"
- [u"ç"]=>
- unicode(8) "ç"
- [u"è"]=>
- unicode(8) "è"
- [u"é"]=>
- unicode(8) "é"
- [u"ê"]=>
- unicode(7) "ê"
- [u"ë"]=>
- unicode(6) "ë"
- [u"ì"]=>
- unicode(8) "ì"
- [u"í"]=>
- unicode(8) "í"
- [u"î"]=>
- unicode(7) "î"
- [u"ï"]=>
- unicode(6) "ï"
- [u"ð"]=>
- unicode(5) "ð"
- [u"ñ"]=>
- unicode(8) "ñ"
- [u"ò"]=>
- unicode(8) "ò"
- [u"ó"]=>
- unicode(8) "ó"
- [u"ô"]=>
- unicode(7) "ô"
- [u"õ"]=>
- unicode(8) "õ"
- [u"ö"]=>
- unicode(6) "ö"
- [u"÷"]=>
- unicode(8) "÷"
- [u"ø"]=>
- unicode(8) "ø"
- [u"ù"]=>
- unicode(8) "ù"
- [u"ú"]=>
- unicode(8) "ú"
- [u"û"]=>
- unicode(7) "û"
- [u"ü"]=>
- unicode(6) "ü"
- [u"ý"]=>
- unicode(8) "ý"
- [u"þ"]=>
- unicode(7) "þ"
- [u"ÿ"]=>
- unicode(6) "ÿ"
- [u"Œ"]=>
- unicode(7) "Œ"
- [u"œ"]=>
- unicode(7) "œ"
- [u"Š"]=>
- unicode(8) "Š"
- [u"š"]=>
- unicode(8) "š"
- [u"Ÿ"]=>
- unicode(6) "Ÿ"
- [u"ƒ"]=>
- unicode(6) "ƒ"
- [u"ˆ"]=>
- unicode(6) "ˆ"
- [u"˜"]=>
- unicode(7) "˜"
- [u"Α"]=>
- unicode(7) "Α"
- [u"Β"]=>
- unicode(6) "Β"
- [u"Γ"]=>
- unicode(7) "Γ"
- [u"Δ"]=>
- unicode(7) "Δ"
- [u"Ε"]=>
- unicode(9) "Ε"
- [u"Ζ"]=>
- unicode(6) "Ζ"
- [u"Η"]=>
- unicode(5) "Η"
- [u"Θ"]=>
- unicode(7) "Θ"
- [u"Ι"]=>
- unicode(6) "Ι"
- [u"Κ"]=>
- unicode(7) "Κ"
- [u"Λ"]=>
- unicode(8) "Λ"
- [u"Μ"]=>
- unicode(4) "Μ"
- [u"Ν"]=>
- unicode(4) "Ν"
- [u"Ξ"]=>
- unicode(4) "Ξ"
- [u"Ο"]=>
- unicode(9) "Ο"
- [u"Π"]=>
- unicode(4) "Π"
- [u"Ρ"]=>
- unicode(5) "Ρ"
- [u"Σ"]=>
- unicode(7) "Σ"
- [u"Τ"]=>
- unicode(5) "Τ"
- [u"Υ"]=>
- unicode(9) "Υ"
- [u"Φ"]=>
- unicode(5) "Φ"
- [u"Χ"]=>
- unicode(5) "Χ"
- [u"Ψ"]=>
- unicode(5) "Ψ"
- [u"Ω"]=>
- unicode(7) "Ω"
- [u"α"]=>
- unicode(7) "α"
- [u"β"]=>
- unicode(6) "β"
- [u"γ"]=>
- unicode(7) "γ"
- [u"δ"]=>
- unicode(7) "δ"
- [u"ε"]=>
- unicode(9) "ε"
- [u"ζ"]=>
- unicode(6) "ζ"
- [u"η"]=>
- unicode(5) "η"
- [u"θ"]=>
- unicode(7) "θ"
- [u"ι"]=>
- unicode(6) "ι"
- [u"κ"]=>
- unicode(7) "κ"
- [u"λ"]=>
- unicode(8) "λ"
- [u"μ"]=>
- unicode(4) "μ"
- [u"ν"]=>
- unicode(4) "ν"
- [u"ξ"]=>
- unicode(4) "ξ"
- [u"ο"]=>
- unicode(9) "ο"
- [u"π"]=>
- unicode(4) "π"
- [u"ρ"]=>
- unicode(5) "ρ"
- [u"ς"]=>
- unicode(8) "ς"
- [u"σ"]=>
- unicode(7) "σ"
- [u"τ"]=>
- unicode(5) "τ"
- [u"υ"]=>
- unicode(9) "υ"
- [u"φ"]=>
- unicode(5) "φ"
- [u"χ"]=>
- unicode(5) "χ"
- [u"ψ"]=>
- unicode(5) "ψ"
- [u"ω"]=>
- unicode(7) "ω"
- [u"ϑ"]=>
- unicode(10) "ϑ"
- [u"ϒ"]=>
- unicode(7) "ϒ"
- [u"ϖ"]=>
- unicode(5) "ϖ"
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(8) " "
- [u""]=>
- unicode(6) "‌"
- [u""]=>
- unicode(5) "‍"
- [u""]=>
- unicode(5) "‎"
- [u""]=>
- unicode(5) "‏"
- [u"–"]=>
- unicode(7) "–"
- [u"—"]=>
- unicode(7) "—"
- [u"‘"]=>
- unicode(7) "‘"
- [u"’"]=>
- unicode(7) "’"
- [u"‚"]=>
- unicode(7) "‚"
- [u"“"]=>
- unicode(7) "“"
- [u"”"]=>
- unicode(7) "”"
- [u"„"]=>
- unicode(7) "„"
- [u"†"]=>
- unicode(8) "†"
- [u"‡"]=>
- unicode(8) "‡"
- [u"•"]=>
- unicode(6) "•"
- [u"…"]=>
- unicode(8) "…"
- [u"‰"]=>
- unicode(8) "‰"
- [u"′"]=>
- unicode(7) "′"
- [u"″"]=>
- unicode(7) "″"
- [u"‹"]=>
- unicode(8) "‹"
- [u"›"]=>
- unicode(8) "›"
- [u"‾"]=>
- unicode(7) "‾"
- [u"⁄"]=>
- unicode(7) "⁄"
- [u"€"]=>
- unicode(6) "€"
- [u"ℑ"]=>
- unicode(7) "ℑ"
- [u"℘"]=>
- unicode(8) "℘"
- [u"ℜ"]=>
- unicode(6) "ℜ"
- [u"™"]=>
- unicode(7) "™"
- [u"ℵ"]=>
- unicode(9) "ℵ"
- [u"←"]=>
- unicode(6) "←"
- [u"↑"]=>
- unicode(6) "↑"
- [u"→"]=>
- unicode(6) "→"
- [u"↓"]=>
- unicode(6) "↓"
- [u"↔"]=>
- unicode(6) "↔"
- [u"↵"]=>
- unicode(7) "↵"
- [u"⇐"]=>
- unicode(6) "⇐"
- [u"⇑"]=>
- unicode(6) "⇑"
- [u"⇒"]=>
- unicode(6) "⇒"
- [u"⇓"]=>
- unicode(6) "⇓"
- [u"⇔"]=>
- unicode(6) "⇔"
- [u"⇕"]=>
- unicode(6) "⇕"
- [u"⇚"]=>
- unicode(7) "⇚"
- [u"⇛"]=>
- unicode(7) "⇛"
- [u"⇝"]=>
- unicode(7) "↝"
- [u"∀"]=>
- unicode(8) "∀"
- [u"∁"]=>
- unicode(6) "∁"
- [u"∂"]=>
- unicode(6) "∂"
- [u"∃"]=>
- unicode(7) "∃"
- [u"∄"]=>
- unicode(8) "∄"
- [u"∅"]=>
- unicode(7) "∅"
- [u"∇"]=>
- unicode(7) "∇"
- [u"∈"]=>
- unicode(6) "∈"
- [u"∉"]=>
- unicode(7) "∉"
- [u"∊"]=>
- unicode(7) "&epsis;"
- [u"∋"]=>
- unicode(4) "∋"
- [u"∌"]=>
- unicode(7) "∌"
- [u"∍"]=>
- unicode(7) "϶"
- [u"∏"]=>
- unicode(6) "∏"
- [u"∐"]=>
- unicode(8) "∐"
- [u"∑"]=>
- unicode(5) "∑"
- [u"−"]=>
- unicode(7) "−"
- [u"∓"]=>
- unicode(8) "∓"
- [u"∔"]=>
- unicode(8) "∔"
- [u"∖"]=>
- unicode(7) "∖"
- [u"∗"]=>
- unicode(8) "∗"
- [u"∘"]=>
- unicode(8) "∘"
- [u"√"]=>
- unicode(7) "√"
- [u"∝"]=>
- unicode(6) "∝"
- [u"∞"]=>
- unicode(7) "∞"
- [u"∟"]=>
- unicode(7) "&ang90;"
- [u"∠"]=>
- unicode(5) "∠"
- [u"∡"]=>
- unicode(8) "∡"
- [u"∢"]=>
- unicode(8) "∢"
- [u"∣"]=>
- unicode(5) "∣"
- [u"∤"]=>
- unicode(6) "∤"
- [u"∥"]=>
- unicode(5) "∥"
- [u"∦"]=>
- unicode(6) "∦"
- [u"∧"]=>
- unicode(5) "∧"
- [u"∨"]=>
- unicode(4) "∨"
- [u"∩"]=>
- unicode(5) "∩"
- [u"∪"]=>
- unicode(5) "∪"
- [u"∫"]=>
- unicode(5) "∫"
- [u"∮"]=>
- unicode(8) "∮"
- [u"∴"]=>
- unicode(8) "∴"
- [u"∵"]=>
- unicode(8) "∵"
- [u"∼"]=>
- unicode(5) "∼"
- [u"∽"]=>
- unicode(6) "∽"
- [u"≀"]=>
- unicode(8) "≀"
- [u"≁"]=>
- unicode(6) "≁"
- [u"≃"]=>
- unicode(6) "≃"
- [u"≄"]=>
- unicode(7) "≄"
- [u"≅"]=>
- unicode(6) "≅"
- [u"≇"]=>
- unicode(7) "≇"
- [u"≈"]=>
- unicode(7) "≈"
- [u"≉"]=>
- unicode(5) "≉"
- [u"≊"]=>
- unicode(5) "≊"
- [u"≌"]=>
- unicode(7) "≌"
- [u"≍"]=>
- unicode(7) "≈"
- [u"≎"]=>
- unicode(6) "≎"
- [u"≏"]=>
- unicode(7) "≏"
- [u"≠"]=>
- unicode(4) "≠"
- [u"≡"]=>
- unicode(7) "≡"
- [u"≤"]=>
- unicode(4) "≤"
- [u"≥"]=>
- unicode(4) "≥"
- [u"≦"]=>
- unicode(4) "≦"
- [u"≧"]=>
- unicode(4) "≧"
- [u"≨"]=>
- unicode(5) "≨"
- [u"≩"]=>
- unicode(5) "≩"
- [u"≪"]=>
- unicode(4) "≪"
- [u"≫"]=>
- unicode(4) "≫"
- [u"≬"]=>
- unicode(7) "≬"
- [u"≮"]=>
- unicode(5) "≮"
- [u"≯"]=>
- unicode(5) "≯"
- [u"≰"]=>
- unicode(6) "⩽̸"
- [u"≱"]=>
- unicode(6) "⩾̸"
- [u"≲"]=>
- unicode(6) "≲"
- [u"≳"]=>
- unicode(6) "≳"
- [u"≶"]=>
- unicode(4) "≶"
- [u"≷"]=>
- unicode(4) "≷"
- [u"≺"]=>
- unicode(4) "≺"
- [u"≻"]=>
- unicode(4) "≻"
- [u"≼"]=>
- unicode(7) "&cupre;"
- [u"≽"]=>
- unicode(7) "&sscue;"
- [u"≾"]=>
- unicode(7) "≾"
- [u"≿"]=>
- unicode(7) "≿"
- [u"⊀"]=>
- unicode(5) "⊀"
- [u"⊁"]=>
- unicode(5) "⊁"
- [u"⊂"]=>
- unicode(5) "⊂"
- [u"⊃"]=>
- unicode(5) "⊃"
- [u"⊄"]=>
- unicode(6) "⊄"
- [u"⊅"]=>
- unicode(6) "⊅"
- [u"⊆"]=>
- unicode(6) "⊆"
- [u"⊇"]=>
- unicode(6) "⊇"
- [u"⊕"]=>
- unicode(7) "⊕"
- [u"⊗"]=>
- unicode(8) "⊗"
- [u"⊥"]=>
- unicode(6) "⊥"
- [u"⋅"]=>
- unicode(6) "⋅"
- [u"⌈"]=>
- unicode(7) "⌈"
- [u"⌉"]=>
- unicode(7) "⌉"
- [u"⌊"]=>
- unicode(8) "⌊"
- [u"⌋"]=>
- unicode(8) "⌋"
- [u"〈"]=>
- unicode(6) "⟨"
- [u"〉"]=>
- unicode(6) "⟩"
- [u"◊"]=>
- unicode(5) "◊"
- [u"♠"]=>
- unicode(8) "♠"
- [u"♣"]=>
- unicode(7) "♣"
- [u"♥"]=>
- unicode(8) "♥"
- [u"♦"]=>
- unicode(7) "♦"
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- with table = HTML_ENTITIES & quote_style = ENT_QUOTES --
-array(312) {
- [u" "]=>
- unicode(6) " "
- [u"¡"]=>
- unicode(7) "¡"
- [u"¢"]=>
- unicode(6) "¢"
- [u"£"]=>
- unicode(7) "£"
- [u"¤"]=>
- unicode(8) "¤"
- [u"¥"]=>
- unicode(5) "¥"
- [u"¦"]=>
- unicode(8) "¦"
- [u"§"]=>
- unicode(6) "§"
- [u"¨"]=>
- unicode(5) "¨"
- [u"©"]=>
- unicode(6) "©"
- [u"ª"]=>
- unicode(6) "ª"
- [u"«"]=>
- unicode(7) "«"
- [u"¬"]=>
- unicode(5) "¬"
- [u""]=>
- unicode(5) "­"
- [u"®"]=>
- unicode(5) "®"
- [u"¯"]=>
- unicode(6) "¯"
- [u"°"]=>
- unicode(5) "°"
- [u"±"]=>
- unicode(8) "±"
- [u"²"]=>
- unicode(6) "²"
- [u"³"]=>
- unicode(6) "³"
- [u"´"]=>
- unicode(7) "´"
- [u"µ"]=>
- unicode(7) "µ"
- [u"¶"]=>
- unicode(6) "¶"
- [u"·"]=>
- unicode(8) "·"
- [u"¸"]=>
- unicode(7) "¸"
- [u"¹"]=>
- unicode(6) "¹"
- [u"º"]=>
- unicode(6) "º"
- [u"»"]=>
- unicode(7) "»"
- [u"¼"]=>
- unicode(8) "¼"
- [u"½"]=>
- unicode(8) "½"
- [u"¾"]=>
- unicode(8) "¾"
- [u"¿"]=>
- unicode(8) "¿"
- [u"À"]=>
- unicode(8) "À"
- [u"Á"]=>
- unicode(8) "Á"
- [u"Â"]=>
- unicode(7) "Â"
- [u"Ã"]=>
- unicode(8) "Ã"
- [u"Ä"]=>
- unicode(6) "Ä"
- [u"Å"]=>
- unicode(7) "Å"
- [u"Æ"]=>
- unicode(7) "Æ"
- [u"Ç"]=>
- unicode(8) "Ç"
- [u"È"]=>
- unicode(8) "È"
- [u"É"]=>
- unicode(8) "É"
- [u"Ê"]=>
- unicode(7) "Ê"
- [u"Ë"]=>
- unicode(6) "Ë"
- [u"Ì"]=>
- unicode(8) "Ì"
- [u"Í"]=>
- unicode(8) "Í"
- [u"Î"]=>
- unicode(7) "Î"
- [u"Ï"]=>
- unicode(6) "Ï"
- [u"Ð"]=>
- unicode(5) "Ð"
- [u"Ñ"]=>
- unicode(8) "Ñ"
- [u"Ò"]=>
- unicode(8) "Ò"
- [u"Ó"]=>
- unicode(8) "Ó"
- [u"Ô"]=>
- unicode(7) "Ô"
- [u"Õ"]=>
- unicode(8) "Õ"
- [u"Ö"]=>
- unicode(6) "Ö"
- [u"×"]=>
- unicode(7) "×"
- [u"Ø"]=>
- unicode(8) "Ø"
- [u"Ù"]=>
- unicode(8) "Ù"
- [u"Ú"]=>
- unicode(8) "Ú"
- [u"Û"]=>
- unicode(7) "Û"
- [u"Ü"]=>
- unicode(6) "Ü"
- [u"Ý"]=>
- unicode(8) "Ý"
- [u"Þ"]=>
- unicode(7) "Þ"
- [u"ß"]=>
- unicode(7) "ß"
- [u"à"]=>
- unicode(8) "à"
- [u"á"]=>
- unicode(8) "á"
- [u"â"]=>
- unicode(7) "â"
- [u"ã"]=>
- unicode(8) "ã"
- [u"ä"]=>
- unicode(6) "ä"
- [u"å"]=>
- unicode(7) "å"
- [u"æ"]=>
- unicode(7) "æ"
- [u"ç"]=>
- unicode(8) "ç"
- [u"è"]=>
- unicode(8) "è"
- [u"é"]=>
- unicode(8) "é"
- [u"ê"]=>
- unicode(7) "ê"
- [u"ë"]=>
- unicode(6) "ë"
- [u"ì"]=>
- unicode(8) "ì"
- [u"í"]=>
- unicode(8) "í"
- [u"î"]=>
- unicode(7) "î"
- [u"ï"]=>
- unicode(6) "ï"
- [u"ð"]=>
- unicode(5) "ð"
- [u"ñ"]=>
- unicode(8) "ñ"
- [u"ò"]=>
- unicode(8) "ò"
- [u"ó"]=>
- unicode(8) "ó"
- [u"ô"]=>
- unicode(7) "ô"
- [u"õ"]=>
- unicode(8) "õ"
- [u"ö"]=>
- unicode(6) "ö"
- [u"÷"]=>
- unicode(8) "÷"
- [u"ø"]=>
- unicode(8) "ø"
- [u"ù"]=>
- unicode(8) "ù"
- [u"ú"]=>
- unicode(8) "ú"
- [u"û"]=>
- unicode(7) "û"
- [u"ü"]=>
- unicode(6) "ü"
- [u"ý"]=>
- unicode(8) "ý"
- [u"þ"]=>
- unicode(7) "þ"
- [u"ÿ"]=>
- unicode(6) "ÿ"
- [u"Œ"]=>
- unicode(7) "Œ"
- [u"œ"]=>
- unicode(7) "œ"
- [u"Š"]=>
- unicode(8) "Š"
- [u"š"]=>
- unicode(8) "š"
- [u"Ÿ"]=>
- unicode(6) "Ÿ"
- [u"ƒ"]=>
- unicode(6) "ƒ"
- [u"ˆ"]=>
- unicode(6) "ˆ"
- [u"˜"]=>
- unicode(7) "˜"
- [u"Α"]=>
- unicode(7) "Α"
- [u"Β"]=>
- unicode(6) "Β"
- [u"Γ"]=>
- unicode(7) "Γ"
- [u"Δ"]=>
- unicode(7) "Δ"
- [u"Ε"]=>
- unicode(9) "Ε"
- [u"Ζ"]=>
- unicode(6) "Ζ"
- [u"Η"]=>
- unicode(5) "Η"
- [u"Θ"]=>
- unicode(7) "Θ"
- [u"Ι"]=>
- unicode(6) "Ι"
- [u"Κ"]=>
- unicode(7) "Κ"
- [u"Λ"]=>
- unicode(8) "Λ"
- [u"Μ"]=>
- unicode(4) "Μ"
- [u"Ν"]=>
- unicode(4) "Ν"
- [u"Ξ"]=>
- unicode(4) "Ξ"
- [u"Ο"]=>
- unicode(9) "Ο"
- [u"Π"]=>
- unicode(4) "Π"
- [u"Ρ"]=>
- unicode(5) "Ρ"
- [u"Σ"]=>
- unicode(7) "Σ"
- [u"Τ"]=>
- unicode(5) "Τ"
- [u"Υ"]=>
- unicode(9) "Υ"
- [u"Φ"]=>
- unicode(5) "Φ"
- [u"Χ"]=>
- unicode(5) "Χ"
- [u"Ψ"]=>
- unicode(5) "Ψ"
- [u"Ω"]=>
- unicode(7) "Ω"
- [u"α"]=>
- unicode(7) "α"
- [u"β"]=>
- unicode(6) "β"
- [u"γ"]=>
- unicode(7) "γ"
- [u"δ"]=>
- unicode(7) "δ"
- [u"ε"]=>
- unicode(9) "ε"
- [u"ζ"]=>
- unicode(6) "ζ"
- [u"η"]=>
- unicode(5) "η"
- [u"θ"]=>
- unicode(7) "θ"
- [u"ι"]=>
- unicode(6) "ι"
- [u"κ"]=>
- unicode(7) "κ"
- [u"λ"]=>
- unicode(8) "λ"
- [u"μ"]=>
- unicode(4) "μ"
- [u"ν"]=>
- unicode(4) "ν"
- [u"ξ"]=>
- unicode(4) "ξ"
- [u"ο"]=>
- unicode(9) "ο"
- [u"π"]=>
- unicode(4) "π"
- [u"ρ"]=>
- unicode(5) "ρ"
- [u"ς"]=>
- unicode(8) "ς"
- [u"σ"]=>
- unicode(7) "σ"
- [u"τ"]=>
- unicode(5) "τ"
- [u"υ"]=>
- unicode(9) "υ"
- [u"φ"]=>
- unicode(5) "φ"
- [u"χ"]=>
- unicode(5) "χ"
- [u"ψ"]=>
- unicode(5) "ψ"
- [u"ω"]=>
- unicode(7) "ω"
- [u"ϑ"]=>
- unicode(10) "ϑ"
- [u"ϒ"]=>
- unicode(7) "ϒ"
- [u"ϖ"]=>
- unicode(5) "ϖ"
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(8) " "
- [u""]=>
- unicode(6) "‌"
- [u""]=>
- unicode(5) "‍"
- [u""]=>
- unicode(5) "‎"
- [u""]=>
- unicode(5) "‏"
- [u"–"]=>
- unicode(7) "–"
- [u"—"]=>
- unicode(7) "—"
- [u"‘"]=>
- unicode(7) "‘"
- [u"’"]=>
- unicode(7) "’"
- [u"‚"]=>
- unicode(7) "‚"
- [u"“"]=>
- unicode(7) "“"
- [u"”"]=>
- unicode(7) "”"
- [u"„"]=>
- unicode(7) "„"
- [u"†"]=>
- unicode(8) "†"
- [u"‡"]=>
- unicode(8) "‡"
- [u"•"]=>
- unicode(6) "•"
- [u"…"]=>
- unicode(8) "…"
- [u"‰"]=>
- unicode(8) "‰"
- [u"′"]=>
- unicode(7) "′"
- [u"″"]=>
- unicode(7) "″"
- [u"‹"]=>
- unicode(8) "‹"
- [u"›"]=>
- unicode(8) "›"
- [u"‾"]=>
- unicode(7) "‾"
- [u"⁄"]=>
- unicode(7) "⁄"
- [u"€"]=>
- unicode(6) "€"
- [u"ℑ"]=>
- unicode(7) "ℑ"
- [u"℘"]=>
- unicode(8) "℘"
- [u"ℜ"]=>
- unicode(6) "ℜ"
- [u"™"]=>
- unicode(7) "™"
- [u"ℵ"]=>
- unicode(9) "ℵ"
- [u"←"]=>
- unicode(6) "←"
- [u"↑"]=>
- unicode(6) "↑"
- [u"→"]=>
- unicode(6) "→"
- [u"↓"]=>
- unicode(6) "↓"
- [u"↔"]=>
- unicode(6) "↔"
- [u"↵"]=>
- unicode(7) "↵"
- [u"⇐"]=>
- unicode(6) "⇐"
- [u"⇑"]=>
- unicode(6) "⇑"
- [u"⇒"]=>
- unicode(6) "⇒"
- [u"⇓"]=>
- unicode(6) "⇓"
- [u"⇔"]=>
- unicode(6) "⇔"
- [u"⇕"]=>
- unicode(6) "⇕"
- [u"⇚"]=>
- unicode(7) "⇚"
- [u"⇛"]=>
- unicode(7) "⇛"
- [u"⇝"]=>
- unicode(7) "↝"
- [u"∀"]=>
- unicode(8) "∀"
- [u"∁"]=>
- unicode(6) "∁"
- [u"∂"]=>
- unicode(6) "∂"
- [u"∃"]=>
- unicode(7) "∃"
- [u"∄"]=>
- unicode(8) "∄"
- [u"∅"]=>
- unicode(7) "∅"
- [u"∇"]=>
- unicode(7) "∇"
- [u"∈"]=>
- unicode(6) "∈"
- [u"∉"]=>
- unicode(7) "∉"
- [u"∊"]=>
- unicode(7) "&epsis;"
- [u"∋"]=>
- unicode(4) "∋"
- [u"∌"]=>
- unicode(7) "∌"
- [u"∍"]=>
- unicode(7) "϶"
- [u"∏"]=>
- unicode(6) "∏"
- [u"∐"]=>
- unicode(8) "∐"
- [u"∑"]=>
- unicode(5) "∑"
- [u"−"]=>
- unicode(7) "−"
- [u"∓"]=>
- unicode(8) "∓"
- [u"∔"]=>
- unicode(8) "∔"
- [u"∖"]=>
- unicode(7) "∖"
- [u"∗"]=>
- unicode(8) "∗"
- [u"∘"]=>
- unicode(8) "∘"
- [u"√"]=>
- unicode(7) "√"
- [u"∝"]=>
- unicode(6) "∝"
- [u"∞"]=>
- unicode(7) "∞"
- [u"∟"]=>
- unicode(7) "&ang90;"
- [u"∠"]=>
- unicode(5) "∠"
- [u"∡"]=>
- unicode(8) "∡"
- [u"∢"]=>
- unicode(8) "∢"
- [u"∣"]=>
- unicode(5) "∣"
- [u"∤"]=>
- unicode(6) "∤"
- [u"∥"]=>
- unicode(5) "∥"
- [u"∦"]=>
- unicode(6) "∦"
- [u"∧"]=>
- unicode(5) "∧"
- [u"∨"]=>
- unicode(4) "∨"
- [u"∩"]=>
- unicode(5) "∩"
- [u"∪"]=>
- unicode(5) "∪"
- [u"∫"]=>
- unicode(5) "∫"
- [u"∮"]=>
- unicode(8) "∮"
- [u"∴"]=>
- unicode(8) "∴"
- [u"∵"]=>
- unicode(8) "∵"
- [u"∼"]=>
- unicode(5) "∼"
- [u"∽"]=>
- unicode(6) "∽"
- [u"≀"]=>
- unicode(8) "≀"
- [u"≁"]=>
- unicode(6) "≁"
- [u"≃"]=>
- unicode(6) "≃"
- [u"≄"]=>
- unicode(7) "≄"
- [u"≅"]=>
- unicode(6) "≅"
- [u"≇"]=>
- unicode(7) "≇"
- [u"≈"]=>
- unicode(7) "≈"
- [u"≉"]=>
- unicode(5) "≉"
- [u"≊"]=>
- unicode(5) "≊"
- [u"≌"]=>
- unicode(7) "≌"
- [u"≍"]=>
- unicode(7) "≈"
- [u"≎"]=>
- unicode(6) "≎"
- [u"≏"]=>
- unicode(7) "≏"
- [u"≠"]=>
- unicode(4) "≠"
- [u"≡"]=>
- unicode(7) "≡"
- [u"≤"]=>
- unicode(4) "≤"
- [u"≥"]=>
- unicode(4) "≥"
- [u"≦"]=>
- unicode(4) "≦"
- [u"≧"]=>
- unicode(4) "≧"
- [u"≨"]=>
- unicode(5) "≨"
- [u"≩"]=>
- unicode(5) "≩"
- [u"≪"]=>
- unicode(4) "≪"
- [u"≫"]=>
- unicode(4) "≫"
- [u"≬"]=>
- unicode(7) "≬"
- [u"≮"]=>
- unicode(5) "≮"
- [u"≯"]=>
- unicode(5) "≯"
- [u"≰"]=>
- unicode(6) "⩽̸"
- [u"≱"]=>
- unicode(6) "⩾̸"
- [u"≲"]=>
- unicode(6) "≲"
- [u"≳"]=>
- unicode(6) "≳"
- [u"≶"]=>
- unicode(4) "≶"
- [u"≷"]=>
- unicode(4) "≷"
- [u"≺"]=>
- unicode(4) "≺"
- [u"≻"]=>
- unicode(4) "≻"
- [u"≼"]=>
- unicode(7) "&cupre;"
- [u"≽"]=>
- unicode(7) "&sscue;"
- [u"≾"]=>
- unicode(7) "≾"
- [u"≿"]=>
- unicode(7) "≿"
- [u"⊀"]=>
- unicode(5) "⊀"
- [u"⊁"]=>
- unicode(5) "⊁"
- [u"⊂"]=>
- unicode(5) "⊂"
- [u"⊃"]=>
- unicode(5) "⊃"
- [u"⊄"]=>
- unicode(6) "⊄"
- [u"⊅"]=>
- unicode(6) "⊅"
- [u"⊆"]=>
- unicode(6) "⊆"
- [u"⊇"]=>
- unicode(6) "⊇"
- [u"⊕"]=>
- unicode(7) "⊕"
- [u"⊗"]=>
- unicode(8) "⊗"
- [u"⊥"]=>
- unicode(6) "⊥"
- [u"⋅"]=>
- unicode(6) "⋅"
- [u"⌈"]=>
- unicode(7) "⌈"
- [u"⌉"]=>
- unicode(7) "⌉"
- [u"⌊"]=>
- unicode(8) "⌊"
- [u"⌋"]=>
- unicode(8) "⌋"
- [u"〈"]=>
- unicode(6) "⟨"
- [u"〉"]=>
- unicode(6) "⟩"
- [u"◊"]=>
- unicode(5) "◊"
- [u"♠"]=>
- unicode(8) "♠"
- [u"♣"]=>
- unicode(7) "♣"
- [u"♥"]=>
- unicode(8) "♥"
- [u"♦"]=>
- unicode(7) "♦"
- [u"""]=>
- unicode(6) """
- [u"'"]=>
- unicode(5) "'"
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-Done
+++ /dev/null
---TEST--
-Test get_html_translation_table() function : basic functionality - table as HTML_ENTITIES & quote_style(ENT_COMPAT, ENT_QUOTES)
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) == "WIN"){
- die('skip Not for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "en_US.UTF-8") ) {
- die('skip failed to set locale settings to "en-US.UTF-8"');
-}
-?>
---FILE--
-<?php
-/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/* Test get_html_translation_table() when table is specified as HTML_ENTITIES */
-
-//set locale to en_US.UTF-8
-setlocale(LC_ALL, "en_US.UTF-8");
-
-echo "*** Testing get_html_translation_table() : basic functionality ***\n";
-
-// Calling get_html_translation_table() with default arguments
-echo "-- with default arguments --\n";
-var_dump( get_html_translation_table() );
-
-// Calling get_html_translation_table() with all arguments
-// $table as HTML_ENTITIES and different quote style
-echo "-- with table = HTML_ENTITIES & quote_style = ENT_COMPAT --\n";
-$table = HTML_ENTITIES;
-$quote_style = ENT_COMPAT;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "-- with table = HTML_ENTITIES & quote_style = ENT_QUOTES --\n";
-$quote_style = ENT_QUOTES;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with default arguments --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- with table = HTML_ENTITIES & quote_style = ENT_COMPAT --
-array(100) {
- [" "]=>
- string(6) " "
- ["¡"]=>
- string(7) "¡"
- ["¢"]=>
- string(6) "¢"
- ["£"]=>
- string(7) "£"
- ["¤"]=>
- string(8) "¤"
- ["¥"]=>
- string(5) "¥"
- ["¦"]=>
- string(8) "¦"
- ["§"]=>
- string(6) "§"
- ["¨"]=>
- string(5) "¨"
- ["©"]=>
- string(6) "©"
- ["ª"]=>
- string(6) "ª"
- ["«"]=>
- string(7) "«"
- ["¬"]=>
- string(5) "¬"
- [""]=>
- string(5) "­"
- ["®"]=>
- string(5) "®"
- ["¯"]=>
- string(6) "¯"
- ["°"]=>
- string(5) "°"
- ["±"]=>
- string(8) "±"
- ["²"]=>
- string(6) "²"
- ["³"]=>
- string(6) "³"
- ["´"]=>
- string(7) "´"
- ["µ"]=>
- string(7) "µ"
- ["¶"]=>
- string(6) "¶"
- ["·"]=>
- string(8) "·"
- ["¸"]=>
- string(7) "¸"
- ["¹"]=>
- string(6) "¹"
- ["º"]=>
- string(6) "º"
- ["»"]=>
- string(7) "»"
- ["¼"]=>
- string(8) "¼"
- ["½"]=>
- string(8) "½"
- ["¾"]=>
- string(8) "¾"
- ["¿"]=>
- string(8) "¿"
- ["À"]=>
- string(8) "À"
- ["Á"]=>
- string(8) "Á"
- ["Â"]=>
- string(7) "Â"
- ["Ã"]=>
- string(8) "Ã"
- ["Ä"]=>
- string(6) "Ä"
- ["Å"]=>
- string(7) "Å"
- ["Æ"]=>
- string(7) "Æ"
- ["Ç"]=>
- string(8) "Ç"
- ["È"]=>
- string(8) "È"
- ["É"]=>
- string(8) "É"
- ["Ê"]=>
- string(7) "Ê"
- ["Ë"]=>
- string(6) "Ë"
- ["Ì"]=>
- string(8) "Ì"
- ["Í"]=>
- string(8) "Í"
- ["Î"]=>
- string(7) "Î"
- ["Ï"]=>
- string(6) "Ï"
- ["Ð"]=>
- string(5) "Ð"
- ["Ñ"]=>
- string(8) "Ñ"
- ["Ò"]=>
- string(8) "Ò"
- ["Ó"]=>
- string(8) "Ó"
- ["Ô"]=>
- string(7) "Ô"
- ["Õ"]=>
- string(8) "Õ"
- ["Ö"]=>
- string(6) "Ö"
- ["×"]=>
- string(7) "×"
- ["Ø"]=>
- string(8) "Ø"
- ["Ù"]=>
- string(8) "Ù"
- ["Ú"]=>
- string(8) "Ú"
- ["Û"]=>
- string(7) "Û"
- ["Ü"]=>
- string(6) "Ü"
- ["Ý"]=>
- string(8) "Ý"
- ["Þ"]=>
- string(7) "Þ"
- ["ß"]=>
- string(7) "ß"
- ["à"]=>
- string(8) "à"
- ["á"]=>
- string(8) "á"
- ["â"]=>
- string(7) "â"
- ["ã"]=>
- string(8) "ã"
- ["ä"]=>
- string(6) "ä"
- ["å"]=>
- string(7) "å"
- ["æ"]=>
- string(7) "æ"
- ["ç"]=>
- string(8) "ç"
- ["è"]=>
- string(8) "è"
- ["é"]=>
- string(8) "é"
- ["ê"]=>
- string(7) "ê"
- ["ë"]=>
- string(6) "ë"
- ["ì"]=>
- string(8) "ì"
- ["í"]=>
- string(8) "í"
- ["î"]=>
- string(7) "î"
- ["ï"]=>
- string(6) "ï"
- ["ð"]=>
- string(5) "ð"
- ["ñ"]=>
- string(8) "ñ"
- ["ò"]=>
- string(8) "ò"
- ["ó"]=>
- string(8) "ó"
- ["ô"]=>
- string(7) "ô"
- ["õ"]=>
- string(8) "õ"
- ["ö"]=>
- string(6) "ö"
- ["÷"]=>
- string(8) "÷"
- ["ø"]=>
- string(8) "ø"
- ["ù"]=>
- string(8) "ù"
- ["ú"]=>
- string(8) "ú"
- ["û"]=>
- string(7) "û"
- ["ü"]=>
- string(6) "ü"
- ["ý"]=>
- string(8) "ý"
- ["þ"]=>
- string(7) "þ"
- ["ÿ"]=>
- string(6) "ÿ"
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- with table = HTML_ENTITIES & quote_style = ENT_QUOTES --
-array(101) {
- [" "]=>
- string(6) " "
- ["¡"]=>
- string(7) "¡"
- ["¢"]=>
- string(6) "¢"
- ["£"]=>
- string(7) "£"
- ["¤"]=>
- string(8) "¤"
- ["¥"]=>
- string(5) "¥"
- ["¦"]=>
- string(8) "¦"
- ["§"]=>
- string(6) "§"
- ["¨"]=>
- string(5) "¨"
- ["©"]=>
- string(6) "©"
- ["ª"]=>
- string(6) "ª"
- ["«"]=>
- string(7) "«"
- ["¬"]=>
- string(5) "¬"
- [""]=>
- string(5) "­"
- ["®"]=>
- string(5) "®"
- ["¯"]=>
- string(6) "¯"
- ["°"]=>
- string(5) "°"
- ["±"]=>
- string(8) "±"
- ["²"]=>
- string(6) "²"
- ["³"]=>
- string(6) "³"
- ["´"]=>
- string(7) "´"
- ["µ"]=>
- string(7) "µ"
- ["¶"]=>
- string(6) "¶"
- ["·"]=>
- string(8) "·"
- ["¸"]=>
- string(7) "¸"
- ["¹"]=>
- string(6) "¹"
- ["º"]=>
- string(6) "º"
- ["»"]=>
- string(7) "»"
- ["¼"]=>
- string(8) "¼"
- ["½"]=>
- string(8) "½"
- ["¾"]=>
- string(8) "¾"
- ["¿"]=>
- string(8) "¿"
- ["À"]=>
- string(8) "À"
- ["Á"]=>
- string(8) "Á"
- ["Â"]=>
- string(7) "Â"
- ["Ã"]=>
- string(8) "Ã"
- ["Ä"]=>
- string(6) "Ä"
- ["Å"]=>
- string(7) "Å"
- ["Æ"]=>
- string(7) "Æ"
- ["Ç"]=>
- string(8) "Ç"
- ["È"]=>
- string(8) "È"
- ["É"]=>
- string(8) "É"
- ["Ê"]=>
- string(7) "Ê"
- ["Ë"]=>
- string(6) "Ë"
- ["Ì"]=>
- string(8) "Ì"
- ["Í"]=>
- string(8) "Í"
- ["Î"]=>
- string(7) "Î"
- ["Ï"]=>
- string(6) "Ï"
- ["Ð"]=>
- string(5) "Ð"
- ["Ñ"]=>
- string(8) "Ñ"
- ["Ò"]=>
- string(8) "Ò"
- ["Ó"]=>
- string(8) "Ó"
- ["Ô"]=>
- string(7) "Ô"
- ["Õ"]=>
- string(8) "Õ"
- ["Ö"]=>
- string(6) "Ö"
- ["×"]=>
- string(7) "×"
- ["Ø"]=>
- string(8) "Ø"
- ["Ù"]=>
- string(8) "Ù"
- ["Ú"]=>
- string(8) "Ú"
- ["Û"]=>
- string(7) "Û"
- ["Ü"]=>
- string(6) "Ü"
- ["Ý"]=>
- string(8) "Ý"
- ["Þ"]=>
- string(7) "Þ"
- ["ß"]=>
- string(7) "ß"
- ["à"]=>
- string(8) "à"
- ["á"]=>
- string(8) "á"
- ["â"]=>
- string(7) "â"
- ["ã"]=>
- string(8) "ã"
- ["ä"]=>
- string(6) "ä"
- ["å"]=>
- string(7) "å"
- ["æ"]=>
- string(7) "æ"
- ["ç"]=>
- string(8) "ç"
- ["è"]=>
- string(8) "è"
- ["é"]=>
- string(8) "é"
- ["ê"]=>
- string(7) "ê"
- ["ë"]=>
- string(6) "ë"
- ["ì"]=>
- string(8) "ì"
- ["í"]=>
- string(8) "í"
- ["î"]=>
- string(7) "î"
- ["ï"]=>
- string(6) "ï"
- ["ð"]=>
- string(5) "ð"
- ["ñ"]=>
- string(8) "ñ"
- ["ò"]=>
- string(8) "ò"
- ["ó"]=>
- string(8) "ó"
- ["ô"]=>
- string(7) "ô"
- ["õ"]=>
- string(8) "õ"
- ["ö"]=>
- string(6) "ö"
- ["÷"]=>
- string(8) "÷"
- ["ø"]=>
- string(8) "ø"
- ["ù"]=>
- string(8) "ù"
- ["ú"]=>
- string(8) "ú"
- ["û"]=>
- string(7) "û"
- ["ü"]=>
- string(6) "ü"
- ["ý"]=>
- string(8) "ý"
- ["þ"]=>
- string(7) "þ"
- ["ÿ"]=>
- string(6) "ÿ"
- ["""]=>
- string(6) """
- ["'"]=>
- string(5) "'"
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with default arguments --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- with table = HTML_ENTITIES & quote_style = ENT_COMPAT --
-array(311) {
- [u" "]=>
- unicode(6) " "
- [u"¡"]=>
- unicode(7) "¡"
- [u"¢"]=>
- unicode(6) "¢"
- [u"£"]=>
- unicode(7) "£"
- [u"¤"]=>
- unicode(8) "¤"
- [u"¥"]=>
- unicode(5) "¥"
- [u"¦"]=>
- unicode(8) "¦"
- [u"§"]=>
- unicode(6) "§"
- [u"¨"]=>
- unicode(5) "¨"
- [u"©"]=>
- unicode(6) "©"
- [u"ª"]=>
- unicode(6) "ª"
- [u"«"]=>
- unicode(7) "«"
- [u"¬"]=>
- unicode(5) "¬"
- [u""]=>
- unicode(5) "­"
- [u"®"]=>
- unicode(5) "®"
- [u"¯"]=>
- unicode(6) "¯"
- [u"°"]=>
- unicode(5) "°"
- [u"±"]=>
- unicode(8) "±"
- [u"²"]=>
- unicode(6) "²"
- [u"³"]=>
- unicode(6) "³"
- [u"´"]=>
- unicode(7) "´"
- [u"µ"]=>
- unicode(7) "µ"
- [u"¶"]=>
- unicode(6) "¶"
- [u"·"]=>
- unicode(8) "·"
- [u"¸"]=>
- unicode(7) "¸"
- [u"¹"]=>
- unicode(6) "¹"
- [u"º"]=>
- unicode(6) "º"
- [u"»"]=>
- unicode(7) "»"
- [u"¼"]=>
- unicode(8) "¼"
- [u"½"]=>
- unicode(8) "½"
- [u"¾"]=>
- unicode(8) "¾"
- [u"¿"]=>
- unicode(8) "¿"
- [u"À"]=>
- unicode(8) "À"
- [u"Á"]=>
- unicode(8) "Á"
- [u"Â"]=>
- unicode(7) "Â"
- [u"Ã"]=>
- unicode(8) "Ã"
- [u"Ä"]=>
- unicode(6) "Ä"
- [u"Å"]=>
- unicode(7) "Å"
- [u"Æ"]=>
- unicode(7) "Æ"
- [u"Ç"]=>
- unicode(8) "Ç"
- [u"È"]=>
- unicode(8) "È"
- [u"É"]=>
- unicode(8) "É"
- [u"Ê"]=>
- unicode(7) "Ê"
- [u"Ë"]=>
- unicode(6) "Ë"
- [u"Ì"]=>
- unicode(8) "Ì"
- [u"Í"]=>
- unicode(8) "Í"
- [u"Î"]=>
- unicode(7) "Î"
- [u"Ï"]=>
- unicode(6) "Ï"
- [u"Ð"]=>
- unicode(5) "Ð"
- [u"Ñ"]=>
- unicode(8) "Ñ"
- [u"Ò"]=>
- unicode(8) "Ò"
- [u"Ó"]=>
- unicode(8) "Ó"
- [u"Ô"]=>
- unicode(7) "Ô"
- [u"Õ"]=>
- unicode(8) "Õ"
- [u"Ö"]=>
- unicode(6) "Ö"
- [u"×"]=>
- unicode(7) "×"
- [u"Ø"]=>
- unicode(8) "Ø"
- [u"Ù"]=>
- unicode(8) "Ù"
- [u"Ú"]=>
- unicode(8) "Ú"
- [u"Û"]=>
- unicode(7) "Û"
- [u"Ü"]=>
- unicode(6) "Ü"
- [u"Ý"]=>
- unicode(8) "Ý"
- [u"Þ"]=>
- unicode(7) "Þ"
- [u"ß"]=>
- unicode(7) "ß"
- [u"à"]=>
- unicode(8) "à"
- [u"á"]=>
- unicode(8) "á"
- [u"â"]=>
- unicode(7) "â"
- [u"ã"]=>
- unicode(8) "ã"
- [u"ä"]=>
- unicode(6) "ä"
- [u"å"]=>
- unicode(7) "å"
- [u"æ"]=>
- unicode(7) "æ"
- [u"ç"]=>
- unicode(8) "ç"
- [u"è"]=>
- unicode(8) "è"
- [u"é"]=>
- unicode(8) "é"
- [u"ê"]=>
- unicode(7) "ê"
- [u"ë"]=>
- unicode(6) "ë"
- [u"ì"]=>
- unicode(8) "ì"
- [u"í"]=>
- unicode(8) "í"
- [u"î"]=>
- unicode(7) "î"
- [u"ï"]=>
- unicode(6) "ï"
- [u"ð"]=>
- unicode(5) "ð"
- [u"ñ"]=>
- unicode(8) "ñ"
- [u"ò"]=>
- unicode(8) "ò"
- [u"ó"]=>
- unicode(8) "ó"
- [u"ô"]=>
- unicode(7) "ô"
- [u"õ"]=>
- unicode(8) "õ"
- [u"ö"]=>
- unicode(6) "ö"
- [u"÷"]=>
- unicode(8) "÷"
- [u"ø"]=>
- unicode(8) "ø"
- [u"ù"]=>
- unicode(8) "ù"
- [u"ú"]=>
- unicode(8) "ú"
- [u"û"]=>
- unicode(7) "û"
- [u"ü"]=>
- unicode(6) "ü"
- [u"ý"]=>
- unicode(8) "ý"
- [u"þ"]=>
- unicode(7) "þ"
- [u"ÿ"]=>
- unicode(6) "ÿ"
- [u"Œ"]=>
- unicode(7) "Œ"
- [u"œ"]=>
- unicode(7) "œ"
- [u"Š"]=>
- unicode(8) "Š"
- [u"š"]=>
- unicode(8) "š"
- [u"Ÿ"]=>
- unicode(6) "Ÿ"
- [u"ƒ"]=>
- unicode(6) "ƒ"
- [u"ˆ"]=>
- unicode(6) "ˆ"
- [u"˜"]=>
- unicode(7) "˜"
- [u"Α"]=>
- unicode(7) "Α"
- [u"Β"]=>
- unicode(6) "Β"
- [u"Γ"]=>
- unicode(7) "Γ"
- [u"Δ"]=>
- unicode(7) "Δ"
- [u"Ε"]=>
- unicode(9) "Ε"
- [u"Ζ"]=>
- unicode(6) "Ζ"
- [u"Η"]=>
- unicode(5) "Η"
- [u"Θ"]=>
- unicode(7) "Θ"
- [u"Ι"]=>
- unicode(6) "Ι"
- [u"Κ"]=>
- unicode(7) "Κ"
- [u"Λ"]=>
- unicode(8) "Λ"
- [u"Μ"]=>
- unicode(4) "Μ"
- [u"Ν"]=>
- unicode(4) "Ν"
- [u"Ξ"]=>
- unicode(4) "Ξ"
- [u"Ο"]=>
- unicode(9) "Ο"
- [u"Π"]=>
- unicode(4) "Π"
- [u"Ρ"]=>
- unicode(5) "Ρ"
- [u"Σ"]=>
- unicode(7) "Σ"
- [u"Τ"]=>
- unicode(5) "Τ"
- [u"Υ"]=>
- unicode(9) "Υ"
- [u"Φ"]=>
- unicode(5) "Φ"
- [u"Χ"]=>
- unicode(5) "Χ"
- [u"Ψ"]=>
- unicode(5) "Ψ"
- [u"Ω"]=>
- unicode(7) "Ω"
- [u"α"]=>
- unicode(7) "α"
- [u"β"]=>
- unicode(6) "β"
- [u"γ"]=>
- unicode(7) "γ"
- [u"δ"]=>
- unicode(7) "δ"
- [u"ε"]=>
- unicode(9) "ε"
- [u"ζ"]=>
- unicode(6) "ζ"
- [u"η"]=>
- unicode(5) "η"
- [u"θ"]=>
- unicode(7) "θ"
- [u"ι"]=>
- unicode(6) "ι"
- [u"κ"]=>
- unicode(7) "κ"
- [u"λ"]=>
- unicode(8) "λ"
- [u"μ"]=>
- unicode(4) "μ"
- [u"ν"]=>
- unicode(4) "ν"
- [u"ξ"]=>
- unicode(4) "ξ"
- [u"ο"]=>
- unicode(9) "ο"
- [u"π"]=>
- unicode(4) "π"
- [u"ρ"]=>
- unicode(5) "ρ"
- [u"ς"]=>
- unicode(8) "ς"
- [u"σ"]=>
- unicode(7) "σ"
- [u"τ"]=>
- unicode(5) "τ"
- [u"υ"]=>
- unicode(9) "υ"
- [u"φ"]=>
- unicode(5) "φ"
- [u"χ"]=>
- unicode(5) "χ"
- [u"ψ"]=>
- unicode(5) "ψ"
- [u"ω"]=>
- unicode(7) "ω"
- [u"ϑ"]=>
- unicode(10) "ϑ"
- [u"ϒ"]=>
- unicode(7) "ϒ"
- [u"ϖ"]=>
- unicode(5) "ϖ"
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(8) " "
- [u""]=>
- unicode(6) "‌"
- [u""]=>
- unicode(5) "‍"
- [u""]=>
- unicode(5) "‎"
- [u""]=>
- unicode(5) "‏"
- [u"–"]=>
- unicode(7) "–"
- [u"—"]=>
- unicode(7) "—"
- [u"‘"]=>
- unicode(7) "‘"
- [u"’"]=>
- unicode(7) "’"
- [u"‚"]=>
- unicode(7) "‚"
- [u"“"]=>
- unicode(7) "“"
- [u"”"]=>
- unicode(7) "”"
- [u"„"]=>
- unicode(7) "„"
- [u"†"]=>
- unicode(8) "†"
- [u"‡"]=>
- unicode(8) "‡"
- [u"•"]=>
- unicode(6) "•"
- [u"…"]=>
- unicode(8) "…"
- [u"‰"]=>
- unicode(8) "‰"
- [u"′"]=>
- unicode(7) "′"
- [u"″"]=>
- unicode(7) "″"
- [u"‹"]=>
- unicode(8) "‹"
- [u"›"]=>
- unicode(8) "›"
- [u"‾"]=>
- unicode(7) "‾"
- [u"⁄"]=>
- unicode(7) "⁄"
- [u"€"]=>
- unicode(6) "€"
- [u"ℑ"]=>
- unicode(7) "ℑ"
- [u"℘"]=>
- unicode(8) "℘"
- [u"ℜ"]=>
- unicode(6) "ℜ"
- [u"™"]=>
- unicode(7) "™"
- [u"ℵ"]=>
- unicode(9) "ℵ"
- [u"←"]=>
- unicode(6) "←"
- [u"↑"]=>
- unicode(6) "↑"
- [u"→"]=>
- unicode(6) "→"
- [u"↓"]=>
- unicode(6) "↓"
- [u"↔"]=>
- unicode(6) "↔"
- [u"↵"]=>
- unicode(7) "↵"
- [u"⇐"]=>
- unicode(6) "⇐"
- [u"⇑"]=>
- unicode(6) "⇑"
- [u"⇒"]=>
- unicode(6) "⇒"
- [u"⇓"]=>
- unicode(6) "⇓"
- [u"⇔"]=>
- unicode(6) "⇔"
- [u"⇕"]=>
- unicode(6) "⇕"
- [u"⇚"]=>
- unicode(7) "⇚"
- [u"⇛"]=>
- unicode(7) "⇛"
- [u"⇝"]=>
- unicode(7) "↝"
- [u"∀"]=>
- unicode(8) "∀"
- [u"∁"]=>
- unicode(6) "∁"
- [u"∂"]=>
- unicode(6) "∂"
- [u"∃"]=>
- unicode(7) "∃"
- [u"∄"]=>
- unicode(8) "∄"
- [u"∅"]=>
- unicode(7) "∅"
- [u"∇"]=>
- unicode(7) "∇"
- [u"∈"]=>
- unicode(6) "∈"
- [u"∉"]=>
- unicode(7) "∉"
- [u"∊"]=>
- unicode(7) "&epsis;"
- [u"∋"]=>
- unicode(4) "∋"
- [u"∌"]=>
- unicode(7) "∌"
- [u"∍"]=>
- unicode(7) "϶"
- [u"∏"]=>
- unicode(6) "∏"
- [u"∐"]=>
- unicode(8) "∐"
- [u"∑"]=>
- unicode(5) "∑"
- [u"−"]=>
- unicode(7) "−"
- [u"∓"]=>
- unicode(8) "∓"
- [u"∔"]=>
- unicode(8) "∔"
- [u"∖"]=>
- unicode(7) "∖"
- [u"∗"]=>
- unicode(8) "∗"
- [u"∘"]=>
- unicode(8) "∘"
- [u"√"]=>
- unicode(7) "√"
- [u"∝"]=>
- unicode(6) "∝"
- [u"∞"]=>
- unicode(7) "∞"
- [u"∟"]=>
- unicode(7) "&ang90;"
- [u"∠"]=>
- unicode(5) "∠"
- [u"∡"]=>
- unicode(8) "∡"
- [u"∢"]=>
- unicode(8) "∢"
- [u"∣"]=>
- unicode(5) "∣"
- [u"∤"]=>
- unicode(6) "∤"
- [u"∥"]=>
- unicode(5) "∥"
- [u"∦"]=>
- unicode(6) "∦"
- [u"∧"]=>
- unicode(5) "∧"
- [u"∨"]=>
- unicode(4) "∨"
- [u"∩"]=>
- unicode(5) "∩"
- [u"∪"]=>
- unicode(5) "∪"
- [u"∫"]=>
- unicode(5) "∫"
- [u"∮"]=>
- unicode(8) "∮"
- [u"∴"]=>
- unicode(8) "∴"
- [u"∵"]=>
- unicode(8) "∵"
- [u"∼"]=>
- unicode(5) "∼"
- [u"∽"]=>
- unicode(6) "∽"
- [u"≀"]=>
- unicode(8) "≀"
- [u"≁"]=>
- unicode(6) "≁"
- [u"≃"]=>
- unicode(6) "≃"
- [u"≄"]=>
- unicode(7) "≄"
- [u"≅"]=>
- unicode(6) "≅"
- [u"≇"]=>
- unicode(7) "≇"
- [u"≈"]=>
- unicode(7) "≈"
- [u"≉"]=>
- unicode(5) "≉"
- [u"≊"]=>
- unicode(5) "≊"
- [u"≌"]=>
- unicode(7) "≌"
- [u"≍"]=>
- unicode(7) "≈"
- [u"≎"]=>
- unicode(6) "≎"
- [u"≏"]=>
- unicode(7) "≏"
- [u"≠"]=>
- unicode(4) "≠"
- [u"≡"]=>
- unicode(7) "≡"
- [u"≤"]=>
- unicode(4) "≤"
- [u"≥"]=>
- unicode(4) "≥"
- [u"≦"]=>
- unicode(4) "≦"
- [u"≧"]=>
- unicode(4) "≧"
- [u"≨"]=>
- unicode(5) "≨"
- [u"≩"]=>
- unicode(5) "≩"
- [u"≪"]=>
- unicode(4) "≪"
- [u"≫"]=>
- unicode(4) "≫"
- [u"≬"]=>
- unicode(7) "≬"
- [u"≮"]=>
- unicode(5) "≮"
- [u"≯"]=>
- unicode(5) "≯"
- [u"≰"]=>
- unicode(6) "⩽̸"
- [u"≱"]=>
- unicode(6) "⩾̸"
- [u"≲"]=>
- unicode(6) "≲"
- [u"≳"]=>
- unicode(6) "≳"
- [u"≶"]=>
- unicode(4) "≶"
- [u"≷"]=>
- unicode(4) "≷"
- [u"≺"]=>
- unicode(4) "≺"
- [u"≻"]=>
- unicode(4) "≻"
- [u"≼"]=>
- unicode(7) "&cupre;"
- [u"≽"]=>
- unicode(7) "&sscue;"
- [u"≾"]=>
- unicode(7) "≾"
- [u"≿"]=>
- unicode(7) "≿"
- [u"⊀"]=>
- unicode(5) "⊀"
- [u"⊁"]=>
- unicode(5) "⊁"
- [u"⊂"]=>
- unicode(5) "⊂"
- [u"⊃"]=>
- unicode(5) "⊃"
- [u"⊄"]=>
- unicode(6) "⊄"
- [u"⊅"]=>
- unicode(6) "⊅"
- [u"⊆"]=>
- unicode(6) "⊆"
- [u"⊇"]=>
- unicode(6) "⊇"
- [u"⊕"]=>
- unicode(7) "⊕"
- [u"⊗"]=>
- unicode(8) "⊗"
- [u"⊥"]=>
- unicode(6) "⊥"
- [u"⋅"]=>
- unicode(6) "⋅"
- [u"⌈"]=>
- unicode(7) "⌈"
- [u"⌉"]=>
- unicode(7) "⌉"
- [u"⌊"]=>
- unicode(8) "⌊"
- [u"⌋"]=>
- unicode(8) "⌋"
- [u"〈"]=>
- unicode(6) "⟨"
- [u"〉"]=>
- unicode(6) "⟩"
- [u"◊"]=>
- unicode(5) "◊"
- [u"♠"]=>
- unicode(8) "♠"
- [u"♣"]=>
- unicode(7) "♣"
- [u"♥"]=>
- unicode(8) "♥"
- [u"♦"]=>
- unicode(7) "♦"
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- with table = HTML_ENTITIES & quote_style = ENT_QUOTES --
-array(312) {
- [u" "]=>
- unicode(6) " "
- [u"¡"]=>
- unicode(7) "¡"
- [u"¢"]=>
- unicode(6) "¢"
- [u"£"]=>
- unicode(7) "£"
- [u"¤"]=>
- unicode(8) "¤"
- [u"¥"]=>
- unicode(5) "¥"
- [u"¦"]=>
- unicode(8) "¦"
- [u"§"]=>
- unicode(6) "§"
- [u"¨"]=>
- unicode(5) "¨"
- [u"©"]=>
- unicode(6) "©"
- [u"ª"]=>
- unicode(6) "ª"
- [u"«"]=>
- unicode(7) "«"
- [u"¬"]=>
- unicode(5) "¬"
- [u""]=>
- unicode(5) "­"
- [u"®"]=>
- unicode(5) "®"
- [u"¯"]=>
- unicode(6) "¯"
- [u"°"]=>
- unicode(5) "°"
- [u"±"]=>
- unicode(8) "±"
- [u"²"]=>
- unicode(6) "²"
- [u"³"]=>
- unicode(6) "³"
- [u"´"]=>
- unicode(7) "´"
- [u"µ"]=>
- unicode(7) "µ"
- [u"¶"]=>
- unicode(6) "¶"
- [u"·"]=>
- unicode(8) "·"
- [u"¸"]=>
- unicode(7) "¸"
- [u"¹"]=>
- unicode(6) "¹"
- [u"º"]=>
- unicode(6) "º"
- [u"»"]=>
- unicode(7) "»"
- [u"¼"]=>
- unicode(8) "¼"
- [u"½"]=>
- unicode(8) "½"
- [u"¾"]=>
- unicode(8) "¾"
- [u"¿"]=>
- unicode(8) "¿"
- [u"À"]=>
- unicode(8) "À"
- [u"Á"]=>
- unicode(8) "Á"
- [u"Â"]=>
- unicode(7) "Â"
- [u"Ã"]=>
- unicode(8) "Ã"
- [u"Ä"]=>
- unicode(6) "Ä"
- [u"Å"]=>
- unicode(7) "Å"
- [u"Æ"]=>
- unicode(7) "Æ"
- [u"Ç"]=>
- unicode(8) "Ç"
- [u"È"]=>
- unicode(8) "È"
- [u"É"]=>
- unicode(8) "É"
- [u"Ê"]=>
- unicode(7) "Ê"
- [u"Ë"]=>
- unicode(6) "Ë"
- [u"Ì"]=>
- unicode(8) "Ì"
- [u"Í"]=>
- unicode(8) "Í"
- [u"Î"]=>
- unicode(7) "Î"
- [u"Ï"]=>
- unicode(6) "Ï"
- [u"Ð"]=>
- unicode(5) "Ð"
- [u"Ñ"]=>
- unicode(8) "Ñ"
- [u"Ò"]=>
- unicode(8) "Ò"
- [u"Ó"]=>
- unicode(8) "Ó"
- [u"Ô"]=>
- unicode(7) "Ô"
- [u"Õ"]=>
- unicode(8) "Õ"
- [u"Ö"]=>
- unicode(6) "Ö"
- [u"×"]=>
- unicode(7) "×"
- [u"Ø"]=>
- unicode(8) "Ø"
- [u"Ù"]=>
- unicode(8) "Ù"
- [u"Ú"]=>
- unicode(8) "Ú"
- [u"Û"]=>
- unicode(7) "Û"
- [u"Ü"]=>
- unicode(6) "Ü"
- [u"Ý"]=>
- unicode(8) "Ý"
- [u"Þ"]=>
- unicode(7) "Þ"
- [u"ß"]=>
- unicode(7) "ß"
- [u"à"]=>
- unicode(8) "à"
- [u"á"]=>
- unicode(8) "á"
- [u"â"]=>
- unicode(7) "â"
- [u"ã"]=>
- unicode(8) "ã"
- [u"ä"]=>
- unicode(6) "ä"
- [u"å"]=>
- unicode(7) "å"
- [u"æ"]=>
- unicode(7) "æ"
- [u"ç"]=>
- unicode(8) "ç"
- [u"è"]=>
- unicode(8) "è"
- [u"é"]=>
- unicode(8) "é"
- [u"ê"]=>
- unicode(7) "ê"
- [u"ë"]=>
- unicode(6) "ë"
- [u"ì"]=>
- unicode(8) "ì"
- [u"í"]=>
- unicode(8) "í"
- [u"î"]=>
- unicode(7) "î"
- [u"ï"]=>
- unicode(6) "ï"
- [u"ð"]=>
- unicode(5) "ð"
- [u"ñ"]=>
- unicode(8) "ñ"
- [u"ò"]=>
- unicode(8) "ò"
- [u"ó"]=>
- unicode(8) "ó"
- [u"ô"]=>
- unicode(7) "ô"
- [u"õ"]=>
- unicode(8) "õ"
- [u"ö"]=>
- unicode(6) "ö"
- [u"÷"]=>
- unicode(8) "÷"
- [u"ø"]=>
- unicode(8) "ø"
- [u"ù"]=>
- unicode(8) "ù"
- [u"ú"]=>
- unicode(8) "ú"
- [u"û"]=>
- unicode(7) "û"
- [u"ü"]=>
- unicode(6) "ü"
- [u"ý"]=>
- unicode(8) "ý"
- [u"þ"]=>
- unicode(7) "þ"
- [u"ÿ"]=>
- unicode(6) "ÿ"
- [u"Œ"]=>
- unicode(7) "Œ"
- [u"œ"]=>
- unicode(7) "œ"
- [u"Š"]=>
- unicode(8) "Š"
- [u"š"]=>
- unicode(8) "š"
- [u"Ÿ"]=>
- unicode(6) "Ÿ"
- [u"ƒ"]=>
- unicode(6) "ƒ"
- [u"ˆ"]=>
- unicode(6) "ˆ"
- [u"˜"]=>
- unicode(7) "˜"
- [u"Α"]=>
- unicode(7) "Α"
- [u"Β"]=>
- unicode(6) "Β"
- [u"Γ"]=>
- unicode(7) "Γ"
- [u"Δ"]=>
- unicode(7) "Δ"
- [u"Ε"]=>
- unicode(9) "Ε"
- [u"Ζ"]=>
- unicode(6) "Ζ"
- [u"Η"]=>
- unicode(5) "Η"
- [u"Θ"]=>
- unicode(7) "Θ"
- [u"Ι"]=>
- unicode(6) "Ι"
- [u"Κ"]=>
- unicode(7) "Κ"
- [u"Λ"]=>
- unicode(8) "Λ"
- [u"Μ"]=>
- unicode(4) "Μ"
- [u"Ν"]=>
- unicode(4) "Ν"
- [u"Ξ"]=>
- unicode(4) "Ξ"
- [u"Ο"]=>
- unicode(9) "Ο"
- [u"Π"]=>
- unicode(4) "Π"
- [u"Ρ"]=>
- unicode(5) "Ρ"
- [u"Σ"]=>
- unicode(7) "Σ"
- [u"Τ"]=>
- unicode(5) "Τ"
- [u"Υ"]=>
- unicode(9) "Υ"
- [u"Φ"]=>
- unicode(5) "Φ"
- [u"Χ"]=>
- unicode(5) "Χ"
- [u"Ψ"]=>
- unicode(5) "Ψ"
- [u"Ω"]=>
- unicode(7) "Ω"
- [u"α"]=>
- unicode(7) "α"
- [u"β"]=>
- unicode(6) "β"
- [u"γ"]=>
- unicode(7) "γ"
- [u"δ"]=>
- unicode(7) "δ"
- [u"ε"]=>
- unicode(9) "ε"
- [u"ζ"]=>
- unicode(6) "ζ"
- [u"η"]=>
- unicode(5) "η"
- [u"θ"]=>
- unicode(7) "θ"
- [u"ι"]=>
- unicode(6) "ι"
- [u"κ"]=>
- unicode(7) "κ"
- [u"λ"]=>
- unicode(8) "λ"
- [u"μ"]=>
- unicode(4) "μ"
- [u"ν"]=>
- unicode(4) "ν"
- [u"ξ"]=>
- unicode(4) "ξ"
- [u"ο"]=>
- unicode(9) "ο"
- [u"π"]=>
- unicode(4) "π"
- [u"ρ"]=>
- unicode(5) "ρ"
- [u"ς"]=>
- unicode(8) "ς"
- [u"σ"]=>
- unicode(7) "σ"
- [u"τ"]=>
- unicode(5) "τ"
- [u"υ"]=>
- unicode(9) "υ"
- [u"φ"]=>
- unicode(5) "φ"
- [u"χ"]=>
- unicode(5) "χ"
- [u"ψ"]=>
- unicode(5) "ψ"
- [u"ω"]=>
- unicode(7) "ω"
- [u"ϑ"]=>
- unicode(10) "ϑ"
- [u"ϒ"]=>
- unicode(7) "ϒ"
- [u"ϖ"]=>
- unicode(5) "ϖ"
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(8) " "
- [u""]=>
- unicode(6) "‌"
- [u""]=>
- unicode(5) "‍"
- [u""]=>
- unicode(5) "‎"
- [u""]=>
- unicode(5) "‏"
- [u"–"]=>
- unicode(7) "–"
- [u"—"]=>
- unicode(7) "—"
- [u"‘"]=>
- unicode(7) "‘"
- [u"’"]=>
- unicode(7) "’"
- [u"‚"]=>
- unicode(7) "‚"
- [u"“"]=>
- unicode(7) "“"
- [u"”"]=>
- unicode(7) "”"
- [u"„"]=>
- unicode(7) "„"
- [u"†"]=>
- unicode(8) "†"
- [u"‡"]=>
- unicode(8) "‡"
- [u"•"]=>
- unicode(6) "•"
- [u"…"]=>
- unicode(8) "…"
- [u"‰"]=>
- unicode(8) "‰"
- [u"′"]=>
- unicode(7) "′"
- [u"″"]=>
- unicode(7) "″"
- [u"‹"]=>
- unicode(8) "‹"
- [u"›"]=>
- unicode(8) "›"
- [u"‾"]=>
- unicode(7) "‾"
- [u"⁄"]=>
- unicode(7) "⁄"
- [u"€"]=>
- unicode(6) "€"
- [u"ℑ"]=>
- unicode(7) "ℑ"
- [u"℘"]=>
- unicode(8) "℘"
- [u"ℜ"]=>
- unicode(6) "ℜ"
- [u"™"]=>
- unicode(7) "™"
- [u"ℵ"]=>
- unicode(9) "ℵ"
- [u"←"]=>
- unicode(6) "←"
- [u"↑"]=>
- unicode(6) "↑"
- [u"→"]=>
- unicode(6) "→"
- [u"↓"]=>
- unicode(6) "↓"
- [u"↔"]=>
- unicode(6) "↔"
- [u"↵"]=>
- unicode(7) "↵"
- [u"⇐"]=>
- unicode(6) "⇐"
- [u"⇑"]=>
- unicode(6) "⇑"
- [u"⇒"]=>
- unicode(6) "⇒"
- [u"⇓"]=>
- unicode(6) "⇓"
- [u"⇔"]=>
- unicode(6) "⇔"
- [u"⇕"]=>
- unicode(6) "⇕"
- [u"⇚"]=>
- unicode(7) "⇚"
- [u"⇛"]=>
- unicode(7) "⇛"
- [u"⇝"]=>
- unicode(7) "↝"
- [u"∀"]=>
- unicode(8) "∀"
- [u"∁"]=>
- unicode(6) "∁"
- [u"∂"]=>
- unicode(6) "∂"
- [u"∃"]=>
- unicode(7) "∃"
- [u"∄"]=>
- unicode(8) "∄"
- [u"∅"]=>
- unicode(7) "∅"
- [u"∇"]=>
- unicode(7) "∇"
- [u"∈"]=>
- unicode(6) "∈"
- [u"∉"]=>
- unicode(7) "∉"
- [u"∊"]=>
- unicode(7) "&epsis;"
- [u"∋"]=>
- unicode(4) "∋"
- [u"∌"]=>
- unicode(7) "∌"
- [u"∍"]=>
- unicode(7) "϶"
- [u"∏"]=>
- unicode(6) "∏"
- [u"∐"]=>
- unicode(8) "∐"
- [u"∑"]=>
- unicode(5) "∑"
- [u"−"]=>
- unicode(7) "−"
- [u"∓"]=>
- unicode(8) "∓"
- [u"∔"]=>
- unicode(8) "∔"
- [u"∖"]=>
- unicode(7) "∖"
- [u"∗"]=>
- unicode(8) "∗"
- [u"∘"]=>
- unicode(8) "∘"
- [u"√"]=>
- unicode(7) "√"
- [u"∝"]=>
- unicode(6) "∝"
- [u"∞"]=>
- unicode(7) "∞"
- [u"∟"]=>
- unicode(7) "&ang90;"
- [u"∠"]=>
- unicode(5) "∠"
- [u"∡"]=>
- unicode(8) "∡"
- [u"∢"]=>
- unicode(8) "∢"
- [u"∣"]=>
- unicode(5) "∣"
- [u"∤"]=>
- unicode(6) "∤"
- [u"∥"]=>
- unicode(5) "∥"
- [u"∦"]=>
- unicode(6) "∦"
- [u"∧"]=>
- unicode(5) "∧"
- [u"∨"]=>
- unicode(4) "∨"
- [u"∩"]=>
- unicode(5) "∩"
- [u"∪"]=>
- unicode(5) "∪"
- [u"∫"]=>
- unicode(5) "∫"
- [u"∮"]=>
- unicode(8) "∮"
- [u"∴"]=>
- unicode(8) "∴"
- [u"∵"]=>
- unicode(8) "∵"
- [u"∼"]=>
- unicode(5) "∼"
- [u"∽"]=>
- unicode(6) "∽"
- [u"≀"]=>
- unicode(8) "≀"
- [u"≁"]=>
- unicode(6) "≁"
- [u"≃"]=>
- unicode(6) "≃"
- [u"≄"]=>
- unicode(7) "≄"
- [u"≅"]=>
- unicode(6) "≅"
- [u"≇"]=>
- unicode(7) "≇"
- [u"≈"]=>
- unicode(7) "≈"
- [u"≉"]=>
- unicode(5) "≉"
- [u"≊"]=>
- unicode(5) "≊"
- [u"≌"]=>
- unicode(7) "≌"
- [u"≍"]=>
- unicode(7) "≈"
- [u"≎"]=>
- unicode(6) "≎"
- [u"≏"]=>
- unicode(7) "≏"
- [u"≠"]=>
- unicode(4) "≠"
- [u"≡"]=>
- unicode(7) "≡"
- [u"≤"]=>
- unicode(4) "≤"
- [u"≥"]=>
- unicode(4) "≥"
- [u"≦"]=>
- unicode(4) "≦"
- [u"≧"]=>
- unicode(4) "≧"
- [u"≨"]=>
- unicode(5) "≨"
- [u"≩"]=>
- unicode(5) "≩"
- [u"≪"]=>
- unicode(4) "≪"
- [u"≫"]=>
- unicode(4) "≫"
- [u"≬"]=>
- unicode(7) "≬"
- [u"≮"]=>
- unicode(5) "≮"
- [u"≯"]=>
- unicode(5) "≯"
- [u"≰"]=>
- unicode(6) "⩽̸"
- [u"≱"]=>
- unicode(6) "⩾̸"
- [u"≲"]=>
- unicode(6) "≲"
- [u"≳"]=>
- unicode(6) "≳"
- [u"≶"]=>
- unicode(4) "≶"
- [u"≷"]=>
- unicode(4) "≷"
- [u"≺"]=>
- unicode(4) "≺"
- [u"≻"]=>
- unicode(4) "≻"
- [u"≼"]=>
- unicode(7) "&cupre;"
- [u"≽"]=>
- unicode(7) "&sscue;"
- [u"≾"]=>
- unicode(7) "≾"
- [u"≿"]=>
- unicode(7) "≿"
- [u"⊀"]=>
- unicode(5) "⊀"
- [u"⊁"]=>
- unicode(5) "⊁"
- [u"⊂"]=>
- unicode(5) "⊂"
- [u"⊃"]=>
- unicode(5) "⊃"
- [u"⊄"]=>
- unicode(6) "⊄"
- [u"⊅"]=>
- unicode(6) "⊅"
- [u"⊆"]=>
- unicode(6) "⊆"
- [u"⊇"]=>
- unicode(6) "⊇"
- [u"⊕"]=>
- unicode(7) "⊕"
- [u"⊗"]=>
- unicode(8) "⊗"
- [u"⊥"]=>
- unicode(6) "⊥"
- [u"⋅"]=>
- unicode(6) "⋅"
- [u"⌈"]=>
- unicode(7) "⌈"
- [u"⌉"]=>
- unicode(7) "⌉"
- [u"⌊"]=>
- unicode(8) "⌊"
- [u"⌋"]=>
- unicode(8) "⌋"
- [u"〈"]=>
- unicode(6) "⟨"
- [u"〉"]=>
- unicode(6) "⟩"
- [u"◊"]=>
- unicode(5) "◊"
- [u"♠"]=>
- unicode(8) "♠"
- [u"♣"]=>
- unicode(7) "♣"
- [u"♥"]=>
- unicode(8) "♥"
- [u"♦"]=>
- unicode(7) "♦"
- [u"""]=>
- unicode(6) """
- [u"'"]=>
- unicode(5) "'"
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-Done
+++ /dev/null
---TEST--
-Test get_html_translation_table() function : basic functionality - table as HTML_ENTITIES & quote_style(ENT_NOQUOTES)
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) != "WIN"){
- die('skip only for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "English_United States.1252") ) {
- die('skip failed to set locale settings to "English_United States.1252"');
-}
-?>
---FILE--
-<?php
-/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/* Test get_html_translation_table() when table is specified as HTML_ENTITIES */
-
-//set locale
-setlocale(LC_ALL, "English_United States.1252");
-
-echo "*** Testing get_html_translation_table() : basic functionality ***\n";
-
-echo "-- with table = HTML_ENTITIES & quote_style = ENT_NOQUOTES --\n";
-$table = HTML_ENTITIES;
-$quote_style = ENT_NOQUOTES;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with table = HTML_ENTITIES & quote_style = ENT_NOQUOTES --
-array(99) {
- [" "]=>
- string(6) " "
- ["¡"]=>
- string(7) "¡"
- ["¢"]=>
- string(6) "¢"
- ["£"]=>
- string(7) "£"
- ["¤"]=>
- string(8) "¤"
- ["¥"]=>
- string(5) "¥"
- ["¦"]=>
- string(8) "¦"
- ["§"]=>
- string(6) "§"
- ["¨"]=>
- string(5) "¨"
- ["©"]=>
- string(6) "©"
- ["ª"]=>
- string(6) "ª"
- ["«"]=>
- string(7) "«"
- ["¬"]=>
- string(5) "¬"
- [""]=>
- string(5) "­"
- ["®"]=>
- string(5) "®"
- ["¯"]=>
- string(6) "¯"
- ["°"]=>
- string(5) "°"
- ["±"]=>
- string(8) "±"
- ["²"]=>
- string(6) "²"
- ["³"]=>
- string(6) "³"
- ["´"]=>
- string(7) "´"
- ["µ"]=>
- string(7) "µ"
- ["¶"]=>
- string(6) "¶"
- ["·"]=>
- string(8) "·"
- ["¸"]=>
- string(7) "¸"
- ["¹"]=>
- string(6) "¹"
- ["º"]=>
- string(6) "º"
- ["»"]=>
- string(7) "»"
- ["¼"]=>
- string(8) "¼"
- ["½"]=>
- string(8) "½"
- ["¾"]=>
- string(8) "¾"
- ["¿"]=>
- string(8) "¿"
- ["À"]=>
- string(8) "À"
- ["Á"]=>
- string(8) "Á"
- ["Â"]=>
- string(7) "Â"
- ["Ã"]=>
- string(8) "Ã"
- ["Ä"]=>
- string(6) "Ä"
- ["Å"]=>
- string(7) "Å"
- ["Æ"]=>
- string(7) "Æ"
- ["Ç"]=>
- string(8) "Ç"
- ["È"]=>
- string(8) "È"
- ["É"]=>
- string(8) "É"
- ["Ê"]=>
- string(7) "Ê"
- ["Ë"]=>
- string(6) "Ë"
- ["Ì"]=>
- string(8) "Ì"
- ["Í"]=>
- string(8) "Í"
- ["Î"]=>
- string(7) "Î"
- ["Ï"]=>
- string(6) "Ï"
- ["Ð"]=>
- string(5) "Ð"
- ["Ñ"]=>
- string(8) "Ñ"
- ["Ò"]=>
- string(8) "Ò"
- ["Ó"]=>
- string(8) "Ó"
- ["Ô"]=>
- string(7) "Ô"
- ["Õ"]=>
- string(8) "Õ"
- ["Ö"]=>
- string(6) "Ö"
- ["×"]=>
- string(7) "×"
- ["Ø"]=>
- string(8) "Ø"
- ["Ù"]=>
- string(8) "Ù"
- ["Ú"]=>
- string(8) "Ú"
- ["Û"]=>
- string(7) "Û"
- ["Ü"]=>
- string(6) "Ü"
- ["Ý"]=>
- string(8) "Ý"
- ["Þ"]=>
- string(7) "Þ"
- ["ß"]=>
- string(7) "ß"
- ["à"]=>
- string(8) "à"
- ["á"]=>
- string(8) "á"
- ["â"]=>
- string(7) "â"
- ["ã"]=>
- string(8) "ã"
- ["ä"]=>
- string(6) "ä"
- ["å"]=>
- string(7) "å"
- ["æ"]=>
- string(7) "æ"
- ["ç"]=>
- string(8) "ç"
- ["è"]=>
- string(8) "è"
- ["é"]=>
- string(8) "é"
- ["ê"]=>
- string(7) "ê"
- ["ë"]=>
- string(6) "ë"
- ["ì"]=>
- string(8) "ì"
- ["í"]=>
- string(8) "í"
- ["î"]=>
- string(7) "î"
- ["ï"]=>
- string(6) "ï"
- ["ð"]=>
- string(5) "ð"
- ["ñ"]=>
- string(8) "ñ"
- ["ò"]=>
- string(8) "ò"
- ["ó"]=>
- string(8) "ó"
- ["ô"]=>
- string(7) "ô"
- ["õ"]=>
- string(8) "õ"
- ["ö"]=>
- string(6) "ö"
- ["÷"]=>
- string(8) "÷"
- ["ø"]=>
- string(8) "ø"
- ["ù"]=>
- string(8) "ù"
- ["ú"]=>
- string(8) "ú"
- ["û"]=>
- string(7) "û"
- ["ü"]=>
- string(6) "ü"
- ["ý"]=>
- string(8) "ý"
- ["þ"]=>
- string(7) "þ"
- ["ÿ"]=>
- string(6) "ÿ"
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with table = HTML_ENTITIES & quote_style = ENT_NOQUOTES --
-array(310) {
- [u" "]=>
- unicode(6) " "
- [u"¡"]=>
- unicode(7) "¡"
- [u"¢"]=>
- unicode(6) "¢"
- [u"£"]=>
- unicode(7) "£"
- [u"¤"]=>
- unicode(8) "¤"
- [u"¥"]=>
- unicode(5) "¥"
- [u"¦"]=>
- unicode(8) "¦"
- [u"§"]=>
- unicode(6) "§"
- [u"¨"]=>
- unicode(5) "¨"
- [u"©"]=>
- unicode(6) "©"
- [u"ª"]=>
- unicode(6) "ª"
- [u"«"]=>
- unicode(7) "«"
- [u"¬"]=>
- unicode(5) "¬"
- [u""]=>
- unicode(5) "­"
- [u"®"]=>
- unicode(5) "®"
- [u"¯"]=>
- unicode(6) "¯"
- [u"°"]=>
- unicode(5) "°"
- [u"±"]=>
- unicode(8) "±"
- [u"²"]=>
- unicode(6) "²"
- [u"³"]=>
- unicode(6) "³"
- [u"´"]=>
- unicode(7) "´"
- [u"µ"]=>
- unicode(7) "µ"
- [u"¶"]=>
- unicode(6) "¶"
- [u"·"]=>
- unicode(8) "·"
- [u"¸"]=>
- unicode(7) "¸"
- [u"¹"]=>
- unicode(6) "¹"
- [u"º"]=>
- unicode(6) "º"
- [u"»"]=>
- unicode(7) "»"
- [u"¼"]=>
- unicode(8) "¼"
- [u"½"]=>
- unicode(8) "½"
- [u"¾"]=>
- unicode(8) "¾"
- [u"¿"]=>
- unicode(8) "¿"
- [u"À"]=>
- unicode(8) "À"
- [u"Á"]=>
- unicode(8) "Á"
- [u"Â"]=>
- unicode(7) "Â"
- [u"Ã"]=>
- unicode(8) "Ã"
- [u"Ä"]=>
- unicode(6) "Ä"
- [u"Å"]=>
- unicode(7) "Å"
- [u"Æ"]=>
- unicode(7) "Æ"
- [u"Ç"]=>
- unicode(8) "Ç"
- [u"È"]=>
- unicode(8) "È"
- [u"É"]=>
- unicode(8) "É"
- [u"Ê"]=>
- unicode(7) "Ê"
- [u"Ë"]=>
- unicode(6) "Ë"
- [u"Ì"]=>
- unicode(8) "Ì"
- [u"Í"]=>
- unicode(8) "Í"
- [u"Î"]=>
- unicode(7) "Î"
- [u"Ï"]=>
- unicode(6) "Ï"
- [u"Ð"]=>
- unicode(5) "Ð"
- [u"Ñ"]=>
- unicode(8) "Ñ"
- [u"Ò"]=>
- unicode(8) "Ò"
- [u"Ó"]=>
- unicode(8) "Ó"
- [u"Ô"]=>
- unicode(7) "Ô"
- [u"Õ"]=>
- unicode(8) "Õ"
- [u"Ö"]=>
- unicode(6) "Ö"
- [u"×"]=>
- unicode(7) "×"
- [u"Ø"]=>
- unicode(8) "Ø"
- [u"Ù"]=>
- unicode(8) "Ù"
- [u"Ú"]=>
- unicode(8) "Ú"
- [u"Û"]=>
- unicode(7) "Û"
- [u"Ü"]=>
- unicode(6) "Ü"
- [u"Ý"]=>
- unicode(8) "Ý"
- [u"Þ"]=>
- unicode(7) "Þ"
- [u"ß"]=>
- unicode(7) "ß"
- [u"à"]=>
- unicode(8) "à"
- [u"á"]=>
- unicode(8) "á"
- [u"â"]=>
- unicode(7) "â"
- [u"ã"]=>
- unicode(8) "ã"
- [u"ä"]=>
- unicode(6) "ä"
- [u"å"]=>
- unicode(7) "å"
- [u"æ"]=>
- unicode(7) "æ"
- [u"ç"]=>
- unicode(8) "ç"
- [u"è"]=>
- unicode(8) "è"
- [u"é"]=>
- unicode(8) "é"
- [u"ê"]=>
- unicode(7) "ê"
- [u"ë"]=>
- unicode(6) "ë"
- [u"ì"]=>
- unicode(8) "ì"
- [u"í"]=>
- unicode(8) "í"
- [u"î"]=>
- unicode(7) "î"
- [u"ï"]=>
- unicode(6) "ï"
- [u"ð"]=>
- unicode(5) "ð"
- [u"ñ"]=>
- unicode(8) "ñ"
- [u"ò"]=>
- unicode(8) "ò"
- [u"ó"]=>
- unicode(8) "ó"
- [u"ô"]=>
- unicode(7) "ô"
- [u"õ"]=>
- unicode(8) "õ"
- [u"ö"]=>
- unicode(6) "ö"
- [u"÷"]=>
- unicode(8) "÷"
- [u"ø"]=>
- unicode(8) "ø"
- [u"ù"]=>
- unicode(8) "ù"
- [u"ú"]=>
- unicode(8) "ú"
- [u"û"]=>
- unicode(7) "û"
- [u"ü"]=>
- unicode(6) "ü"
- [u"ý"]=>
- unicode(8) "ý"
- [u"þ"]=>
- unicode(7) "þ"
- [u"ÿ"]=>
- unicode(6) "ÿ"
- [u"Œ"]=>
- unicode(7) "Œ"
- [u"œ"]=>
- unicode(7) "œ"
- [u"Š"]=>
- unicode(8) "Š"
- [u"š"]=>
- unicode(8) "š"
- [u"Ÿ"]=>
- unicode(6) "Ÿ"
- [u"ƒ"]=>
- unicode(6) "ƒ"
- [u"ˆ"]=>
- unicode(6) "ˆ"
- [u"˜"]=>
- unicode(7) "˜"
- [u"Α"]=>
- unicode(7) "Α"
- [u"Β"]=>
- unicode(6) "Β"
- [u"Γ"]=>
- unicode(7) "Γ"
- [u"Δ"]=>
- unicode(7) "Δ"
- [u"Ε"]=>
- unicode(9) "Ε"
- [u"Ζ"]=>
- unicode(6) "Ζ"
- [u"Η"]=>
- unicode(5) "Η"
- [u"Θ"]=>
- unicode(7) "Θ"
- [u"Ι"]=>
- unicode(6) "Ι"
- [u"Κ"]=>
- unicode(7) "Κ"
- [u"Λ"]=>
- unicode(8) "Λ"
- [u"Μ"]=>
- unicode(4) "Μ"
- [u"Ν"]=>
- unicode(4) "Ν"
- [u"Ξ"]=>
- unicode(4) "Ξ"
- [u"Ο"]=>
- unicode(9) "Ο"
- [u"Π"]=>
- unicode(4) "Π"
- [u"Ρ"]=>
- unicode(5) "Ρ"
- [u"Σ"]=>
- unicode(7) "Σ"
- [u"Τ"]=>
- unicode(5) "Τ"
- [u"Υ"]=>
- unicode(9) "Υ"
- [u"Φ"]=>
- unicode(5) "Φ"
- [u"Χ"]=>
- unicode(5) "Χ"
- [u"Ψ"]=>
- unicode(5) "Ψ"
- [u"Ω"]=>
- unicode(7) "Ω"
- [u"α"]=>
- unicode(7) "α"
- [u"β"]=>
- unicode(6) "β"
- [u"γ"]=>
- unicode(7) "γ"
- [u"δ"]=>
- unicode(7) "δ"
- [u"ε"]=>
- unicode(9) "ε"
- [u"ζ"]=>
- unicode(6) "ζ"
- [u"η"]=>
- unicode(5) "η"
- [u"θ"]=>
- unicode(7) "θ"
- [u"ι"]=>
- unicode(6) "ι"
- [u"κ"]=>
- unicode(7) "κ"
- [u"λ"]=>
- unicode(8) "λ"
- [u"μ"]=>
- unicode(4) "μ"
- [u"ν"]=>
- unicode(4) "ν"
- [u"ξ"]=>
- unicode(4) "ξ"
- [u"ο"]=>
- unicode(9) "ο"
- [u"π"]=>
- unicode(4) "π"
- [u"ρ"]=>
- unicode(5) "ρ"
- [u"ς"]=>
- unicode(8) "ς"
- [u"σ"]=>
- unicode(7) "σ"
- [u"τ"]=>
- unicode(5) "τ"
- [u"υ"]=>
- unicode(9) "υ"
- [u"φ"]=>
- unicode(5) "φ"
- [u"χ"]=>
- unicode(5) "χ"
- [u"ψ"]=>
- unicode(5) "ψ"
- [u"ω"]=>
- unicode(7) "ω"
- [u"ϑ"]=>
- unicode(10) "ϑ"
- [u"ϒ"]=>
- unicode(7) "ϒ"
- [u"ϖ"]=>
- unicode(5) "ϖ"
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(8) " "
- [u""]=>
- unicode(6) "‌"
- [u""]=>
- unicode(5) "‍"
- [u""]=>
- unicode(5) "‎"
- [u""]=>
- unicode(5) "‏"
- [u"–"]=>
- unicode(7) "–"
- [u"—"]=>
- unicode(7) "—"
- [u"‘"]=>
- unicode(7) "‘"
- [u"’"]=>
- unicode(7) "’"
- [u"‚"]=>
- unicode(7) "‚"
- [u"“"]=>
- unicode(7) "“"
- [u"”"]=>
- unicode(7) "”"
- [u"„"]=>
- unicode(7) "„"
- [u"†"]=>
- unicode(8) "†"
- [u"‡"]=>
- unicode(8) "‡"
- [u"•"]=>
- unicode(6) "•"
- [u"…"]=>
- unicode(8) "…"
- [u"‰"]=>
- unicode(8) "‰"
- [u"′"]=>
- unicode(7) "′"
- [u"″"]=>
- unicode(7) "″"
- [u"‹"]=>
- unicode(8) "‹"
- [u"›"]=>
- unicode(8) "›"
- [u"‾"]=>
- unicode(7) "‾"
- [u"⁄"]=>
- unicode(7) "⁄"
- [u"€"]=>
- unicode(6) "€"
- [u"ℑ"]=>
- unicode(7) "ℑ"
- [u"℘"]=>
- unicode(8) "℘"
- [u"ℜ"]=>
- unicode(6) "ℜ"
- [u"™"]=>
- unicode(7) "™"
- [u"ℵ"]=>
- unicode(9) "ℵ"
- [u"←"]=>
- unicode(6) "←"
- [u"↑"]=>
- unicode(6) "↑"
- [u"→"]=>
- unicode(6) "→"
- [u"↓"]=>
- unicode(6) "↓"
- [u"↔"]=>
- unicode(6) "↔"
- [u"↵"]=>
- unicode(7) "↵"
- [u"⇐"]=>
- unicode(6) "⇐"
- [u"⇑"]=>
- unicode(6) "⇑"
- [u"⇒"]=>
- unicode(6) "⇒"
- [u"⇓"]=>
- unicode(6) "⇓"
- [u"⇔"]=>
- unicode(6) "⇔"
- [u"⇕"]=>
- unicode(6) "⇕"
- [u"⇚"]=>
- unicode(7) "⇚"
- [u"⇛"]=>
- unicode(7) "⇛"
- [u"⇝"]=>
- unicode(7) "↝"
- [u"∀"]=>
- unicode(8) "∀"
- [u"∁"]=>
- unicode(6) "∁"
- [u"∂"]=>
- unicode(6) "∂"
- [u"∃"]=>
- unicode(7) "∃"
- [u"∄"]=>
- unicode(8) "∄"
- [u"∅"]=>
- unicode(7) "∅"
- [u"∇"]=>
- unicode(7) "∇"
- [u"∈"]=>
- unicode(6) "∈"
- [u"∉"]=>
- unicode(7) "∉"
- [u"∊"]=>
- unicode(7) "&epsis;"
- [u"∋"]=>
- unicode(4) "∋"
- [u"∌"]=>
- unicode(7) "∌"
- [u"∍"]=>
- unicode(7) "϶"
- [u"∏"]=>
- unicode(6) "∏"
- [u"∐"]=>
- unicode(8) "∐"
- [u"∑"]=>
- unicode(5) "∑"
- [u"−"]=>
- unicode(7) "−"
- [u"∓"]=>
- unicode(8) "∓"
- [u"∔"]=>
- unicode(8) "∔"
- [u"∖"]=>
- unicode(7) "∖"
- [u"∗"]=>
- unicode(8) "∗"
- [u"∘"]=>
- unicode(8) "∘"
- [u"√"]=>
- unicode(7) "√"
- [u"∝"]=>
- unicode(6) "∝"
- [u"∞"]=>
- unicode(7) "∞"
- [u"∟"]=>
- unicode(7) "&ang90;"
- [u"∠"]=>
- unicode(5) "∠"
- [u"∡"]=>
- unicode(8) "∡"
- [u"∢"]=>
- unicode(8) "∢"
- [u"∣"]=>
- unicode(5) "∣"
- [u"∤"]=>
- unicode(6) "∤"
- [u"∥"]=>
- unicode(5) "∥"
- [u"∦"]=>
- unicode(6) "∦"
- [u"∧"]=>
- unicode(5) "∧"
- [u"∨"]=>
- unicode(4) "∨"
- [u"∩"]=>
- unicode(5) "∩"
- [u"∪"]=>
- unicode(5) "∪"
- [u"∫"]=>
- unicode(5) "∫"
- [u"∮"]=>
- unicode(8) "∮"
- [u"∴"]=>
- unicode(8) "∴"
- [u"∵"]=>
- unicode(8) "∵"
- [u"∼"]=>
- unicode(5) "∼"
- [u"∽"]=>
- unicode(6) "∽"
- [u"≀"]=>
- unicode(8) "≀"
- [u"≁"]=>
- unicode(6) "≁"
- [u"≃"]=>
- unicode(6) "≃"
- [u"≄"]=>
- unicode(7) "≄"
- [u"≅"]=>
- unicode(6) "≅"
- [u"≇"]=>
- unicode(7) "≇"
- [u"≈"]=>
- unicode(7) "≈"
- [u"≉"]=>
- unicode(5) "≉"
- [u"≊"]=>
- unicode(5) "≊"
- [u"≌"]=>
- unicode(7) "≌"
- [u"≍"]=>
- unicode(7) "≈"
- [u"≎"]=>
- unicode(6) "≎"
- [u"≏"]=>
- unicode(7) "≏"
- [u"≠"]=>
- unicode(4) "≠"
- [u"≡"]=>
- unicode(7) "≡"
- [u"≤"]=>
- unicode(4) "≤"
- [u"≥"]=>
- unicode(4) "≥"
- [u"≦"]=>
- unicode(4) "≦"
- [u"≧"]=>
- unicode(4) "≧"
- [u"≨"]=>
- unicode(5) "≨"
- [u"≩"]=>
- unicode(5) "≩"
- [u"≪"]=>
- unicode(4) "≪"
- [u"≫"]=>
- unicode(4) "≫"
- [u"≬"]=>
- unicode(7) "≬"
- [u"≮"]=>
- unicode(5) "≮"
- [u"≯"]=>
- unicode(5) "≯"
- [u"≰"]=>
- unicode(6) "⩽̸"
- [u"≱"]=>
- unicode(6) "⩾̸"
- [u"≲"]=>
- unicode(6) "≲"
- [u"≳"]=>
- unicode(6) "≳"
- [u"≶"]=>
- unicode(4) "≶"
- [u"≷"]=>
- unicode(4) "≷"
- [u"≺"]=>
- unicode(4) "≺"
- [u"≻"]=>
- unicode(4) "≻"
- [u"≼"]=>
- unicode(7) "&cupre;"
- [u"≽"]=>
- unicode(7) "&sscue;"
- [u"≾"]=>
- unicode(7) "≾"
- [u"≿"]=>
- unicode(7) "≿"
- [u"⊀"]=>
- unicode(5) "⊀"
- [u"⊁"]=>
- unicode(5) "⊁"
- [u"⊂"]=>
- unicode(5) "⊂"
- [u"⊃"]=>
- unicode(5) "⊃"
- [u"⊄"]=>
- unicode(6) "⊄"
- [u"⊅"]=>
- unicode(6) "⊅"
- [u"⊆"]=>
- unicode(6) "⊆"
- [u"⊇"]=>
- unicode(6) "⊇"
- [u"⊕"]=>
- unicode(7) "⊕"
- [u"⊗"]=>
- unicode(8) "⊗"
- [u"⊥"]=>
- unicode(6) "⊥"
- [u"⋅"]=>
- unicode(6) "⋅"
- [u"⌈"]=>
- unicode(7) "⌈"
- [u"⌉"]=>
- unicode(7) "⌉"
- [u"⌊"]=>
- unicode(8) "⌊"
- [u"⌋"]=>
- unicode(8) "⌋"
- [u"〈"]=>
- unicode(6) "⟨"
- [u"〉"]=>
- unicode(6) "⟩"
- [u"◊"]=>
- unicode(5) "◊"
- [u"♠"]=>
- unicode(8) "♠"
- [u"♣"]=>
- unicode(7) "♣"
- [u"♥"]=>
- unicode(8) "♥"
- [u"♦"]=>
- unicode(7) "♦"
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-Done
+++ /dev/null
---TEST--
-Test get_html_translation_table() function : basic functionality - table as HTML_ENTITIES & quote_style(ENT_NOQUOTES)
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) == "WIN"){
- die('skip Not for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "en_US.UTF-8") ) {
- die('skip failed to set locale settings to "en-US.UTF-8"');
-}
-?>
---FILE--
-<?php
-/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/* Test get_html_translation_table() when table is specified as HTML_ENTITIES */
-
-//set locale to en_US.UTF-8
-setlocale(LC_ALL, "en_US.UTF-8");
-
-echo "*** Testing get_html_translation_table() : basic functionality ***\n";
-
-echo "-- with table = HTML_ENTITIES & quote_style = ENT_NOQUOTES --\n";
-$table = HTML_ENTITIES;
-$quote_style = ENT_NOQUOTES;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with table = HTML_ENTITIES & quote_style = ENT_NOQUOTES --
-array(99) {
- [" "]=>
- string(6) " "
- ["¡"]=>
- string(7) "¡"
- ["¢"]=>
- string(6) "¢"
- ["£"]=>
- string(7) "£"
- ["¤"]=>
- string(8) "¤"
- ["¥"]=>
- string(5) "¥"
- ["¦"]=>
- string(8) "¦"
- ["§"]=>
- string(6) "§"
- ["¨"]=>
- string(5) "¨"
- ["©"]=>
- string(6) "©"
- ["ª"]=>
- string(6) "ª"
- ["«"]=>
- string(7) "«"
- ["¬"]=>
- string(5) "¬"
- [""]=>
- string(5) "­"
- ["®"]=>
- string(5) "®"
- ["¯"]=>
- string(6) "¯"
- ["°"]=>
- string(5) "°"
- ["±"]=>
- string(8) "±"
- ["²"]=>
- string(6) "²"
- ["³"]=>
- string(6) "³"
- ["´"]=>
- string(7) "´"
- ["µ"]=>
- string(7) "µ"
- ["¶"]=>
- string(6) "¶"
- ["·"]=>
- string(8) "·"
- ["¸"]=>
- string(7) "¸"
- ["¹"]=>
- string(6) "¹"
- ["º"]=>
- string(6) "º"
- ["»"]=>
- string(7) "»"
- ["¼"]=>
- string(8) "¼"
- ["½"]=>
- string(8) "½"
- ["¾"]=>
- string(8) "¾"
- ["¿"]=>
- string(8) "¿"
- ["À"]=>
- string(8) "À"
- ["Á"]=>
- string(8) "Á"
- ["Â"]=>
- string(7) "Â"
- ["Ã"]=>
- string(8) "Ã"
- ["Ä"]=>
- string(6) "Ä"
- ["Å"]=>
- string(7) "Å"
- ["Æ"]=>
- string(7) "Æ"
- ["Ç"]=>
- string(8) "Ç"
- ["È"]=>
- string(8) "È"
- ["É"]=>
- string(8) "É"
- ["Ê"]=>
- string(7) "Ê"
- ["Ë"]=>
- string(6) "Ë"
- ["Ì"]=>
- string(8) "Ì"
- ["Í"]=>
- string(8) "Í"
- ["Î"]=>
- string(7) "Î"
- ["Ï"]=>
- string(6) "Ï"
- ["Ð"]=>
- string(5) "Ð"
- ["Ñ"]=>
- string(8) "Ñ"
- ["Ò"]=>
- string(8) "Ò"
- ["Ó"]=>
- string(8) "Ó"
- ["Ô"]=>
- string(7) "Ô"
- ["Õ"]=>
- string(8) "Õ"
- ["Ö"]=>
- string(6) "Ö"
- ["×"]=>
- string(7) "×"
- ["Ø"]=>
- string(8) "Ø"
- ["Ù"]=>
- string(8) "Ù"
- ["Ú"]=>
- string(8) "Ú"
- ["Û"]=>
- string(7) "Û"
- ["Ü"]=>
- string(6) "Ü"
- ["Ý"]=>
- string(8) "Ý"
- ["Þ"]=>
- string(7) "Þ"
- ["ß"]=>
- string(7) "ß"
- ["à"]=>
- string(8) "à"
- ["á"]=>
- string(8) "á"
- ["â"]=>
- string(7) "â"
- ["ã"]=>
- string(8) "ã"
- ["ä"]=>
- string(6) "ä"
- ["å"]=>
- string(7) "å"
- ["æ"]=>
- string(7) "æ"
- ["ç"]=>
- string(8) "ç"
- ["è"]=>
- string(8) "è"
- ["é"]=>
- string(8) "é"
- ["ê"]=>
- string(7) "ê"
- ["ë"]=>
- string(6) "ë"
- ["ì"]=>
- string(8) "ì"
- ["í"]=>
- string(8) "í"
- ["î"]=>
- string(7) "î"
- ["ï"]=>
- string(6) "ï"
- ["ð"]=>
- string(5) "ð"
- ["ñ"]=>
- string(8) "ñ"
- ["ò"]=>
- string(8) "ò"
- ["ó"]=>
- string(8) "ó"
- ["ô"]=>
- string(7) "ô"
- ["õ"]=>
- string(8) "õ"
- ["ö"]=>
- string(6) "ö"
- ["÷"]=>
- string(8) "÷"
- ["ø"]=>
- string(8) "ø"
- ["ù"]=>
- string(8) "ù"
- ["ú"]=>
- string(8) "ú"
- ["û"]=>
- string(7) "û"
- ["ü"]=>
- string(6) "ü"
- ["ý"]=>
- string(8) "ý"
- ["þ"]=>
- string(7) "þ"
- ["ÿ"]=>
- string(6) "ÿ"
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with table = HTML_ENTITIES & quote_style = ENT_NOQUOTES --
-array(310) {
- [u" "]=>
- unicode(6) " "
- [u"¡"]=>
- unicode(7) "¡"
- [u"¢"]=>
- unicode(6) "¢"
- [u"£"]=>
- unicode(7) "£"
- [u"¤"]=>
- unicode(8) "¤"
- [u"¥"]=>
- unicode(5) "¥"
- [u"¦"]=>
- unicode(8) "¦"
- [u"§"]=>
- unicode(6) "§"
- [u"¨"]=>
- unicode(5) "¨"
- [u"©"]=>
- unicode(6) "©"
- [u"ª"]=>
- unicode(6) "ª"
- [u"«"]=>
- unicode(7) "«"
- [u"¬"]=>
- unicode(5) "¬"
- [u""]=>
- unicode(5) "­"
- [u"®"]=>
- unicode(5) "®"
- [u"¯"]=>
- unicode(6) "¯"
- [u"°"]=>
- unicode(5) "°"
- [u"±"]=>
- unicode(8) "±"
- [u"²"]=>
- unicode(6) "²"
- [u"³"]=>
- unicode(6) "³"
- [u"´"]=>
- unicode(7) "´"
- [u"µ"]=>
- unicode(7) "µ"
- [u"¶"]=>
- unicode(6) "¶"
- [u"·"]=>
- unicode(8) "·"
- [u"¸"]=>
- unicode(7) "¸"
- [u"¹"]=>
- unicode(6) "¹"
- [u"º"]=>
- unicode(6) "º"
- [u"»"]=>
- unicode(7) "»"
- [u"¼"]=>
- unicode(8) "¼"
- [u"½"]=>
- unicode(8) "½"
- [u"¾"]=>
- unicode(8) "¾"
- [u"¿"]=>
- unicode(8) "¿"
- [u"À"]=>
- unicode(8) "À"
- [u"Á"]=>
- unicode(8) "Á"
- [u"Â"]=>
- unicode(7) "Â"
- [u"Ã"]=>
- unicode(8) "Ã"
- [u"Ä"]=>
- unicode(6) "Ä"
- [u"Å"]=>
- unicode(7) "Å"
- [u"Æ"]=>
- unicode(7) "Æ"
- [u"Ç"]=>
- unicode(8) "Ç"
- [u"È"]=>
- unicode(8) "È"
- [u"É"]=>
- unicode(8) "É"
- [u"Ê"]=>
- unicode(7) "Ê"
- [u"Ë"]=>
- unicode(6) "Ë"
- [u"Ì"]=>
- unicode(8) "Ì"
- [u"Í"]=>
- unicode(8) "Í"
- [u"Î"]=>
- unicode(7) "Î"
- [u"Ï"]=>
- unicode(6) "Ï"
- [u"Ð"]=>
- unicode(5) "Ð"
- [u"Ñ"]=>
- unicode(8) "Ñ"
- [u"Ò"]=>
- unicode(8) "Ò"
- [u"Ó"]=>
- unicode(8) "Ó"
- [u"Ô"]=>
- unicode(7) "Ô"
- [u"Õ"]=>
- unicode(8) "Õ"
- [u"Ö"]=>
- unicode(6) "Ö"
- [u"×"]=>
- unicode(7) "×"
- [u"Ø"]=>
- unicode(8) "Ø"
- [u"Ù"]=>
- unicode(8) "Ù"
- [u"Ú"]=>
- unicode(8) "Ú"
- [u"Û"]=>
- unicode(7) "Û"
- [u"Ü"]=>
- unicode(6) "Ü"
- [u"Ý"]=>
- unicode(8) "Ý"
- [u"Þ"]=>
- unicode(7) "Þ"
- [u"ß"]=>
- unicode(7) "ß"
- [u"à"]=>
- unicode(8) "à"
- [u"á"]=>
- unicode(8) "á"
- [u"â"]=>
- unicode(7) "â"
- [u"ã"]=>
- unicode(8) "ã"
- [u"ä"]=>
- unicode(6) "ä"
- [u"å"]=>
- unicode(7) "å"
- [u"æ"]=>
- unicode(7) "æ"
- [u"ç"]=>
- unicode(8) "ç"
- [u"è"]=>
- unicode(8) "è"
- [u"é"]=>
- unicode(8) "é"
- [u"ê"]=>
- unicode(7) "ê"
- [u"ë"]=>
- unicode(6) "ë"
- [u"ì"]=>
- unicode(8) "ì"
- [u"í"]=>
- unicode(8) "í"
- [u"î"]=>
- unicode(7) "î"
- [u"ï"]=>
- unicode(6) "ï"
- [u"ð"]=>
- unicode(5) "ð"
- [u"ñ"]=>
- unicode(8) "ñ"
- [u"ò"]=>
- unicode(8) "ò"
- [u"ó"]=>
- unicode(8) "ó"
- [u"ô"]=>
- unicode(7) "ô"
- [u"õ"]=>
- unicode(8) "õ"
- [u"ö"]=>
- unicode(6) "ö"
- [u"÷"]=>
- unicode(8) "÷"
- [u"ø"]=>
- unicode(8) "ø"
- [u"ù"]=>
- unicode(8) "ù"
- [u"ú"]=>
- unicode(8) "ú"
- [u"û"]=>
- unicode(7) "û"
- [u"ü"]=>
- unicode(6) "ü"
- [u"ý"]=>
- unicode(8) "ý"
- [u"þ"]=>
- unicode(7) "þ"
- [u"ÿ"]=>
- unicode(6) "ÿ"
- [u"Œ"]=>
- unicode(7) "Œ"
- [u"œ"]=>
- unicode(7) "œ"
- [u"Š"]=>
- unicode(8) "Š"
- [u"š"]=>
- unicode(8) "š"
- [u"Ÿ"]=>
- unicode(6) "Ÿ"
- [u"ƒ"]=>
- unicode(6) "ƒ"
- [u"ˆ"]=>
- unicode(6) "ˆ"
- [u"˜"]=>
- unicode(7) "˜"
- [u"Α"]=>
- unicode(7) "Α"
- [u"Β"]=>
- unicode(6) "Β"
- [u"Γ"]=>
- unicode(7) "Γ"
- [u"Δ"]=>
- unicode(7) "Δ"
- [u"Ε"]=>
- unicode(9) "Ε"
- [u"Ζ"]=>
- unicode(6) "Ζ"
- [u"Η"]=>
- unicode(5) "Η"
- [u"Θ"]=>
- unicode(7) "Θ"
- [u"Ι"]=>
- unicode(6) "Ι"
- [u"Κ"]=>
- unicode(7) "Κ"
- [u"Λ"]=>
- unicode(8) "Λ"
- [u"Μ"]=>
- unicode(4) "Μ"
- [u"Ν"]=>
- unicode(4) "Ν"
- [u"Ξ"]=>
- unicode(4) "Ξ"
- [u"Ο"]=>
- unicode(9) "Ο"
- [u"Π"]=>
- unicode(4) "Π"
- [u"Ρ"]=>
- unicode(5) "Ρ"
- [u"Σ"]=>
- unicode(7) "Σ"
- [u"Τ"]=>
- unicode(5) "Τ"
- [u"Υ"]=>
- unicode(9) "Υ"
- [u"Φ"]=>
- unicode(5) "Φ"
- [u"Χ"]=>
- unicode(5) "Χ"
- [u"Ψ"]=>
- unicode(5) "Ψ"
- [u"Ω"]=>
- unicode(7) "Ω"
- [u"α"]=>
- unicode(7) "α"
- [u"β"]=>
- unicode(6) "β"
- [u"γ"]=>
- unicode(7) "γ"
- [u"δ"]=>
- unicode(7) "δ"
- [u"ε"]=>
- unicode(9) "ε"
- [u"ζ"]=>
- unicode(6) "ζ"
- [u"η"]=>
- unicode(5) "η"
- [u"θ"]=>
- unicode(7) "θ"
- [u"ι"]=>
- unicode(6) "ι"
- [u"κ"]=>
- unicode(7) "κ"
- [u"λ"]=>
- unicode(8) "λ"
- [u"μ"]=>
- unicode(4) "μ"
- [u"ν"]=>
- unicode(4) "ν"
- [u"ξ"]=>
- unicode(4) "ξ"
- [u"ο"]=>
- unicode(9) "ο"
- [u"π"]=>
- unicode(4) "π"
- [u"ρ"]=>
- unicode(5) "ρ"
- [u"ς"]=>
- unicode(8) "ς"
- [u"σ"]=>
- unicode(7) "σ"
- [u"τ"]=>
- unicode(5) "τ"
- [u"υ"]=>
- unicode(9) "υ"
- [u"φ"]=>
- unicode(5) "φ"
- [u"χ"]=>
- unicode(5) "χ"
- [u"ψ"]=>
- unicode(5) "ψ"
- [u"ω"]=>
- unicode(7) "ω"
- [u"ϑ"]=>
- unicode(10) "ϑ"
- [u"ϒ"]=>
- unicode(7) "ϒ"
- [u"ϖ"]=>
- unicode(5) "ϖ"
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(8) " "
- [u""]=>
- unicode(6) "‌"
- [u""]=>
- unicode(5) "‍"
- [u""]=>
- unicode(5) "‎"
- [u""]=>
- unicode(5) "‏"
- [u"–"]=>
- unicode(7) "–"
- [u"—"]=>
- unicode(7) "—"
- [u"‘"]=>
- unicode(7) "‘"
- [u"’"]=>
- unicode(7) "’"
- [u"‚"]=>
- unicode(7) "‚"
- [u"“"]=>
- unicode(7) "“"
- [u"”"]=>
- unicode(7) "”"
- [u"„"]=>
- unicode(7) "„"
- [u"†"]=>
- unicode(8) "†"
- [u"‡"]=>
- unicode(8) "‡"
- [u"•"]=>
- unicode(6) "•"
- [u"…"]=>
- unicode(8) "…"
- [u"‰"]=>
- unicode(8) "‰"
- [u"′"]=>
- unicode(7) "′"
- [u"″"]=>
- unicode(7) "″"
- [u"‹"]=>
- unicode(8) "‹"
- [u"›"]=>
- unicode(8) "›"
- [u"‾"]=>
- unicode(7) "‾"
- [u"⁄"]=>
- unicode(7) "⁄"
- [u"€"]=>
- unicode(6) "€"
- [u"ℑ"]=>
- unicode(7) "ℑ"
- [u"℘"]=>
- unicode(8) "℘"
- [u"ℜ"]=>
- unicode(6) "ℜ"
- [u"™"]=>
- unicode(7) "™"
- [u"ℵ"]=>
- unicode(9) "ℵ"
- [u"←"]=>
- unicode(6) "←"
- [u"↑"]=>
- unicode(6) "↑"
- [u"→"]=>
- unicode(6) "→"
- [u"↓"]=>
- unicode(6) "↓"
- [u"↔"]=>
- unicode(6) "↔"
- [u"↵"]=>
- unicode(7) "↵"
- [u"⇐"]=>
- unicode(6) "⇐"
- [u"⇑"]=>
- unicode(6) "⇑"
- [u"⇒"]=>
- unicode(6) "⇒"
- [u"⇓"]=>
- unicode(6) "⇓"
- [u"⇔"]=>
- unicode(6) "⇔"
- [u"⇕"]=>
- unicode(6) "⇕"
- [u"⇚"]=>
- unicode(7) "⇚"
- [u"⇛"]=>
- unicode(7) "⇛"
- [u"⇝"]=>
- unicode(7) "↝"
- [u"∀"]=>
- unicode(8) "∀"
- [u"∁"]=>
- unicode(6) "∁"
- [u"∂"]=>
- unicode(6) "∂"
- [u"∃"]=>
- unicode(7) "∃"
- [u"∄"]=>
- unicode(8) "∄"
- [u"∅"]=>
- unicode(7) "∅"
- [u"∇"]=>
- unicode(7) "∇"
- [u"∈"]=>
- unicode(6) "∈"
- [u"∉"]=>
- unicode(7) "∉"
- [u"∊"]=>
- unicode(7) "&epsis;"
- [u"∋"]=>
- unicode(4) "∋"
- [u"∌"]=>
- unicode(7) "∌"
- [u"∍"]=>
- unicode(7) "϶"
- [u"∏"]=>
- unicode(6) "∏"
- [u"∐"]=>
- unicode(8) "∐"
- [u"∑"]=>
- unicode(5) "∑"
- [u"−"]=>
- unicode(7) "−"
- [u"∓"]=>
- unicode(8) "∓"
- [u"∔"]=>
- unicode(8) "∔"
- [u"∖"]=>
- unicode(7) "∖"
- [u"∗"]=>
- unicode(8) "∗"
- [u"∘"]=>
- unicode(8) "∘"
- [u"√"]=>
- unicode(7) "√"
- [u"∝"]=>
- unicode(6) "∝"
- [u"∞"]=>
- unicode(7) "∞"
- [u"∟"]=>
- unicode(7) "&ang90;"
- [u"∠"]=>
- unicode(5) "∠"
- [u"∡"]=>
- unicode(8) "∡"
- [u"∢"]=>
- unicode(8) "∢"
- [u"∣"]=>
- unicode(5) "∣"
- [u"∤"]=>
- unicode(6) "∤"
- [u"∥"]=>
- unicode(5) "∥"
- [u"∦"]=>
- unicode(6) "∦"
- [u"∧"]=>
- unicode(5) "∧"
- [u"∨"]=>
- unicode(4) "∨"
- [u"∩"]=>
- unicode(5) "∩"
- [u"∪"]=>
- unicode(5) "∪"
- [u"∫"]=>
- unicode(5) "∫"
- [u"∮"]=>
- unicode(8) "∮"
- [u"∴"]=>
- unicode(8) "∴"
- [u"∵"]=>
- unicode(8) "∵"
- [u"∼"]=>
- unicode(5) "∼"
- [u"∽"]=>
- unicode(6) "∽"
- [u"≀"]=>
- unicode(8) "≀"
- [u"≁"]=>
- unicode(6) "≁"
- [u"≃"]=>
- unicode(6) "≃"
- [u"≄"]=>
- unicode(7) "≄"
- [u"≅"]=>
- unicode(6) "≅"
- [u"≇"]=>
- unicode(7) "≇"
- [u"≈"]=>
- unicode(7) "≈"
- [u"≉"]=>
- unicode(5) "≉"
- [u"≊"]=>
- unicode(5) "≊"
- [u"≌"]=>
- unicode(7) "≌"
- [u"≍"]=>
- unicode(7) "≈"
- [u"≎"]=>
- unicode(6) "≎"
- [u"≏"]=>
- unicode(7) "≏"
- [u"≠"]=>
- unicode(4) "≠"
- [u"≡"]=>
- unicode(7) "≡"
- [u"≤"]=>
- unicode(4) "≤"
- [u"≥"]=>
- unicode(4) "≥"
- [u"≦"]=>
- unicode(4) "≦"
- [u"≧"]=>
- unicode(4) "≧"
- [u"≨"]=>
- unicode(5) "≨"
- [u"≩"]=>
- unicode(5) "≩"
- [u"≪"]=>
- unicode(4) "≪"
- [u"≫"]=>
- unicode(4) "≫"
- [u"≬"]=>
- unicode(7) "≬"
- [u"≮"]=>
- unicode(5) "≮"
- [u"≯"]=>
- unicode(5) "≯"
- [u"≰"]=>
- unicode(6) "⩽̸"
- [u"≱"]=>
- unicode(6) "⩾̸"
- [u"≲"]=>
- unicode(6) "≲"
- [u"≳"]=>
- unicode(6) "≳"
- [u"≶"]=>
- unicode(4) "≶"
- [u"≷"]=>
- unicode(4) "≷"
- [u"≺"]=>
- unicode(4) "≺"
- [u"≻"]=>
- unicode(4) "≻"
- [u"≼"]=>
- unicode(7) "&cupre;"
- [u"≽"]=>
- unicode(7) "&sscue;"
- [u"≾"]=>
- unicode(7) "≾"
- [u"≿"]=>
- unicode(7) "≿"
- [u"⊀"]=>
- unicode(5) "⊀"
- [u"⊁"]=>
- unicode(5) "⊁"
- [u"⊂"]=>
- unicode(5) "⊂"
- [u"⊃"]=>
- unicode(5) "⊃"
- [u"⊄"]=>
- unicode(6) "⊄"
- [u"⊅"]=>
- unicode(6) "⊅"
- [u"⊆"]=>
- unicode(6) "⊆"
- [u"⊇"]=>
- unicode(6) "⊇"
- [u"⊕"]=>
- unicode(7) "⊕"
- [u"⊗"]=>
- unicode(8) "⊗"
- [u"⊥"]=>
- unicode(6) "⊥"
- [u"⋅"]=>
- unicode(6) "⋅"
- [u"⌈"]=>
- unicode(7) "⌈"
- [u"⌉"]=>
- unicode(7) "⌉"
- [u"⌊"]=>
- unicode(8) "⌊"
- [u"⌋"]=>
- unicode(8) "⌋"
- [u"〈"]=>
- unicode(6) "⟨"
- [u"〉"]=>
- unicode(6) "⟩"
- [u"◊"]=>
- unicode(5) "◊"
- [u"♠"]=>
- unicode(8) "♠"
- [u"♣"]=>
- unicode(7) "♣"
- [u"♥"]=>
- unicode(8) "♥"
- [u"♦"]=>
- unicode(7) "♦"
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-Done
+++ /dev/null
---TEST--
-Test get_html_translation_table() function : basic functionality - table as HTML_SPECIALCHARS
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) != "WIN"){
- die('skip only for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "English_United States.1252") ) {
- die('skip failed to set locale settings to "English_United States.1252"');
-}
-?>
---FILE--
-<?php
-/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/* test get_html_translation_table() when $table argument is specified as HTML_SPECIALCHARS */
-
-//set locale
-setlocale(LC_ALL, "English_United States.1252");
-
-echo "*** Testing get_html_translation_table() : basic functionality ***\n";
-
-// $table as HTML_SEPCIALCHARS and different quote style
-echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --\n";
-$table = HTML_SPECIALCHARS;
-$quote_style = ENT_COMPAT;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTE --\n";
-$quote_style = ENT_QUOTES;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_NOQUOTE --\n";
-$quote_style = ENT_NOQUOTES;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTE --
-array(5) {
- ["""]=>
- string(6) """
- ["'"]=>
- string(5) "'"
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- with table = HTML_SPECIALCHARS & quote_style = ENT_NOQUOTE --
-array(3) {
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-Done
---UEXPECT--
-*** Testing get_html_translation_table() : basic functionality ***
--- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTE --
-array(5) {
- [u"""]=>
- unicode(6) """
- [u"'"]=>
- unicode(5) "'"
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- with table = HTML_SPECIALCHARS & quote_style = ENT_NOQUOTE --
-array(3) {
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-Done
+++ /dev/null
---TEST--
-Test get_html_translation_table() function : basic functionality - table as HTML_SPECIALCHARS
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) == "WIN"){
- die('skip Not for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "en_US.UTF-8") ) {
- die('skip failed to set locale settings to "en-US.UTF-8"');
-}
-?>
---FILE--
-<?php
-/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/* test get_html_translation_table() when $table argument is specified as HTML_SPECIALCHARS */
-
-//set locale to en_US.UTF-8
-setlocale(LC_ALL, "en_US.UTF-8");
-
-echo "*** Testing get_html_translation_table() : basic functionality ***\n";
-
-// $table as HTML_SEPCIALCHARS and different quote style
-echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --\n";
-$table = HTML_SPECIALCHARS;
-$quote_style = ENT_COMPAT;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTE --\n";
-$quote_style = ENT_QUOTES;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_NOQUOTE --\n";
-$quote_style = ENT_NOQUOTES;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTE --
-array(5) {
- ["""]=>
- string(6) """
- ["'"]=>
- string(5) "'"
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- with table = HTML_SPECIALCHARS & quote_style = ENT_NOQUOTE --
-array(3) {
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-Done
---UEXPECT--
-*** Testing get_html_translation_table() : basic functionality ***
--- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTE --
-array(5) {
- [u"""]=>
- unicode(6) """
- [u"'"]=>
- unicode(5) "'"
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- with table = HTML_SPECIALCHARS & quote_style = ENT_NOQUOTE --
-array(3) {
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-Done
+++ /dev/null
---TEST--
-Test get_html_translation_table() function : error conditions
---FILE--
-<?php
-/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-echo "*** Testing get_html_translation_table() : error conditions ***\n";
-
-// More than expected number of arguments
-echo "\n-- Testing get_html_translation_table() function with more than expected no. of arguments --\n";
-$table = HTML_ENTITIES;
-$quote_style = ENT_COMPAT;
-$extra_arg = 10;
-
-var_dump( get_html_translation_table($table, $quote_style, $extra_arg) );
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : error conditions ***
-
--- Testing get_html_translation_table() function with more than expected no. of arguments --
-
-Warning: get_html_translation_table() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : error conditions ***
-
--- Testing get_html_translation_table() function with more than expected no. of arguments --
-
-Warning: get_html_translation_table() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-Done
+++ /dev/null
---TEST--
-Test get_html_translation_table() function : usage variations - unexpected table values
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) != "WIN"){
- die('skip only for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "English_United States.1252") ) {
- die('skip failed to set locale settings to "English_United States.1252"');
-}
-?>
---FILE--
-<?php
-/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/*
- * test get_html_translation_table() with unexpected value for argument $table
-*/
-
-//set locale
-setlocale(LC_ALL, "English_United States.1252");
-
-echo "*** Testing get_html_translation_table() : usage variations ***\n";
-// initialize all required variables
-$quote_style = ENT_COMPAT;
-
-// get an unset variable
-$unset_var = 10;
-unset($unset_var);
-
-// a resource variable
-$fp = fopen(__FILE__, "r");
-
-// array with different values
-$values = array (
-
- // array values
- array(),
- array(0),
- array(1),
- array(1, 2),
- array('color' => 'red', 'item' => 'pen'),
-
- // boolean values
- true,
- FALSE,
-
- // string values
- "string",
- 'string',
-
- // objects
- new stdclass(),
-
- // empty string
- "",
- '',
-
- // null vlaues
- NULL,
- null,
-
- // resource var
- $fp,
-
- // undefined variable
- @$undefined_var,
-
- // unset variable
- @$unset_var
-);
-
-
-// loop through each element of the array and check the working of get_html_translation_table()
-// when $table arugment is supplied with different values
-echo "\n--- Testing get_html_translation_table() by supplying different values for 'table' argument ---\n";
-$counter = 1;
-for($index = 0; $index < count($values); $index ++) {
- echo "-- Iteration $counter --\n";
- $table = $values [$index];
-
- var_dump( get_html_translation_table($table) );
- var_dump( get_html_translation_table($table, $quote_style) );
-
- $counter ++;
-}
-
-// close resource
-fclose($fp);
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : usage variations ***
-
---- Testing get_html_translation_table() by supplying different values for 'table' argument ---
--- Iteration 1 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-array(100) {
- [" "]=>
- string(6) " "
- ["¡"]=>
- string(7) "¡"
- ["¢"]=>
- string(6) "¢"
- ["£"]=>
- string(7) "£"
- ["¤"]=>
- string(8) "¤"
- ["¥"]=>
- string(5) "¥"
- ["¦"]=>
- string(8) "¦"
- ["§"]=>
- string(6) "§"
- ["¨"]=>
- string(5) "¨"
- ["©"]=>
- string(6) "©"
- ["ª"]=>
- string(6) "ª"
- ["«"]=>
- string(7) "«"
- ["¬"]=>
- string(5) "¬"
- [""]=>
- string(5) "­"
- ["®"]=>
- string(5) "®"
- ["¯"]=>
- string(6) "¯"
- ["°"]=>
- string(5) "°"
- ["±"]=>
- string(8) "±"
- ["²"]=>
- string(6) "²"
- ["³"]=>
- string(6) "³"
- ["´"]=>
- string(7) "´"
- ["µ"]=>
- string(7) "µ"
- ["¶"]=>
- string(6) "¶"
- ["·"]=>
- string(8) "·"
- ["¸"]=>
- string(7) "¸"
- ["¹"]=>
- string(6) "¹"
- ["º"]=>
- string(6) "º"
- ["»"]=>
- string(7) "»"
- ["¼"]=>
- string(8) "¼"
- ["½"]=>
- string(8) "½"
- ["¾"]=>
- string(8) "¾"
- ["¿"]=>
- string(8) "¿"
- ["À"]=>
- string(8) "À"
- ["Á"]=>
- string(8) "Á"
- ["Â"]=>
- string(7) "Â"
- ["Ã"]=>
- string(8) "Ã"
- ["Ä"]=>
- string(6) "Ä"
- ["Å"]=>
- string(7) "Å"
- ["Æ"]=>
- string(7) "Æ"
- ["Ç"]=>
- string(8) "Ç"
- ["È"]=>
- string(8) "È"
- ["É"]=>
- string(8) "É"
- ["Ê"]=>
- string(7) "Ê"
- ["Ë"]=>
- string(6) "Ë"
- ["Ì"]=>
- string(8) "Ì"
- ["Í"]=>
- string(8) "Í"
- ["Î"]=>
- string(7) "Î"
- ["Ï"]=>
- string(6) "Ï"
- ["Ð"]=>
- string(5) "Ð"
- ["Ñ"]=>
- string(8) "Ñ"
- ["Ò"]=>
- string(8) "Ò"
- ["Ó"]=>
- string(8) "Ó"
- ["Ô"]=>
- string(7) "Ô"
- ["Õ"]=>
- string(8) "Õ"
- ["Ö"]=>
- string(6) "Ö"
- ["×"]=>
- string(7) "×"
- ["Ø"]=>
- string(8) "Ø"
- ["Ù"]=>
- string(8) "Ù"
- ["Ú"]=>
- string(8) "Ú"
- ["Û"]=>
- string(7) "Û"
- ["Ü"]=>
- string(6) "Ü"
- ["Ý"]=>
- string(8) "Ý"
- ["Þ"]=>
- string(7) "Þ"
- ["ß"]=>
- string(7) "ß"
- ["à"]=>
- string(8) "à"
- ["á"]=>
- string(8) "á"
- ["â"]=>
- string(7) "â"
- ["ã"]=>
- string(8) "ã"
- ["ä"]=>
- string(6) "ä"
- ["å"]=>
- string(7) "å"
- ["æ"]=>
- string(7) "æ"
- ["ç"]=>
- string(8) "ç"
- ["è"]=>
- string(8) "è"
- ["é"]=>
- string(8) "é"
- ["ê"]=>
- string(7) "ê"
- ["ë"]=>
- string(6) "ë"
- ["ì"]=>
- string(8) "ì"
- ["í"]=>
- string(8) "í"
- ["î"]=>
- string(7) "î"
- ["ï"]=>
- string(6) "ï"
- ["ð"]=>
- string(5) "ð"
- ["ñ"]=>
- string(8) "ñ"
- ["ò"]=>
- string(8) "ò"
- ["ó"]=>
- string(8) "ó"
- ["ô"]=>
- string(7) "ô"
- ["õ"]=>
- string(8) "õ"
- ["ö"]=>
- string(6) "ö"
- ["÷"]=>
- string(8) "÷"
- ["ø"]=>
- string(8) "ø"
- ["ù"]=>
- string(8) "ù"
- ["ú"]=>
- string(8) "ú"
- ["û"]=>
- string(7) "û"
- ["ü"]=>
- string(6) "ü"
- ["ý"]=>
- string(8) "ý"
- ["þ"]=>
- string(7) "þ"
- ["ÿ"]=>
- string(6) "ÿ"
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-array(100) {
- [" "]=>
- string(6) " "
- ["¡"]=>
- string(7) "¡"
- ["¢"]=>
- string(6) "¢"
- ["£"]=>
- string(7) "£"
- ["¤"]=>
- string(8) "¤"
- ["¥"]=>
- string(5) "¥"
- ["¦"]=>
- string(8) "¦"
- ["§"]=>
- string(6) "§"
- ["¨"]=>
- string(5) "¨"
- ["©"]=>
- string(6) "©"
- ["ª"]=>
- string(6) "ª"
- ["«"]=>
- string(7) "«"
- ["¬"]=>
- string(5) "¬"
- [""]=>
- string(5) "­"
- ["®"]=>
- string(5) "®"
- ["¯"]=>
- string(6) "¯"
- ["°"]=>
- string(5) "°"
- ["±"]=>
- string(8) "±"
- ["²"]=>
- string(6) "²"
- ["³"]=>
- string(6) "³"
- ["´"]=>
- string(7) "´"
- ["µ"]=>
- string(7) "µ"
- ["¶"]=>
- string(6) "¶"
- ["·"]=>
- string(8) "·"
- ["¸"]=>
- string(7) "¸"
- ["¹"]=>
- string(6) "¹"
- ["º"]=>
- string(6) "º"
- ["»"]=>
- string(7) "»"
- ["¼"]=>
- string(8) "¼"
- ["½"]=>
- string(8) "½"
- ["¾"]=>
- string(8) "¾"
- ["¿"]=>
- string(8) "¿"
- ["À"]=>
- string(8) "À"
- ["Á"]=>
- string(8) "Á"
- ["Â"]=>
- string(7) "Â"
- ["Ã"]=>
- string(8) "Ã"
- ["Ä"]=>
- string(6) "Ä"
- ["Å"]=>
- string(7) "Å"
- ["Æ"]=>
- string(7) "Æ"
- ["Ç"]=>
- string(8) "Ç"
- ["È"]=>
- string(8) "È"
- ["É"]=>
- string(8) "É"
- ["Ê"]=>
- string(7) "Ê"
- ["Ë"]=>
- string(6) "Ë"
- ["Ì"]=>
- string(8) "Ì"
- ["Í"]=>
- string(8) "Í"
- ["Î"]=>
- string(7) "Î"
- ["Ï"]=>
- string(6) "Ï"
- ["Ð"]=>
- string(5) "Ð"
- ["Ñ"]=>
- string(8) "Ñ"
- ["Ò"]=>
- string(8) "Ò"
- ["Ó"]=>
- string(8) "Ó"
- ["Ô"]=>
- string(7) "Ô"
- ["Õ"]=>
- string(8) "Õ"
- ["Ö"]=>
- string(6) "Ö"
- ["×"]=>
- string(7) "×"
- ["Ø"]=>
- string(8) "Ø"
- ["Ù"]=>
- string(8) "Ù"
- ["Ú"]=>
- string(8) "Ú"
- ["Û"]=>
- string(7) "Û"
- ["Ü"]=>
- string(6) "Ü"
- ["Ý"]=>
- string(8) "Ý"
- ["Þ"]=>
- string(7) "Þ"
- ["ß"]=>
- string(7) "ß"
- ["à"]=>
- string(8) "à"
- ["á"]=>
- string(8) "á"
- ["â"]=>
- string(7) "â"
- ["ã"]=>
- string(8) "ã"
- ["ä"]=>
- string(6) "ä"
- ["å"]=>
- string(7) "å"
- ["æ"]=>
- string(7) "æ"
- ["ç"]=>
- string(8) "ç"
- ["è"]=>
- string(8) "è"
- ["é"]=>
- string(8) "é"
- ["ê"]=>
- string(7) "ê"
- ["ë"]=>
- string(6) "ë"
- ["ì"]=>
- string(8) "ì"
- ["í"]=>
- string(8) "í"
- ["î"]=>
- string(7) "î"
- ["ï"]=>
- string(6) "ï"
- ["ð"]=>
- string(5) "ð"
- ["ñ"]=>
- string(8) "ñ"
- ["ò"]=>
- string(8) "ò"
- ["ó"]=>
- string(8) "ó"
- ["ô"]=>
- string(7) "ô"
- ["õ"]=>
- string(8) "õ"
- ["ö"]=>
- string(6) "ö"
- ["÷"]=>
- string(8) "÷"
- ["ø"]=>
- string(8) "ø"
- ["ù"]=>
- string(8) "ù"
- ["ú"]=>
- string(8) "ú"
- ["û"]=>
- string(7) "û"
- ["ü"]=>
- string(6) "ü"
- ["ý"]=>
- string(8) "ý"
- ["þ"]=>
- string(7) "þ"
- ["ÿ"]=>
- string(6) "ÿ"
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 7 --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 8 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
--- Iteration 13 --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 14 --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 15 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
-NULL
--- Iteration 16 --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 17 --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : usage variations ***
-
---- Testing get_html_translation_table() by supplying different values for 'table' argument ---
--- Iteration 1 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-array(311) {
- [u" "]=>
- unicode(6) " "
- [u"¡"]=>
- unicode(7) "¡"
- [u"¢"]=>
- unicode(6) "¢"
- [u"£"]=>
- unicode(7) "£"
- [u"¤"]=>
- unicode(8) "¤"
- [u"¥"]=>
- unicode(5) "¥"
- [u"¦"]=>
- unicode(8) "¦"
- [u"§"]=>
- unicode(6) "§"
- [u"¨"]=>
- unicode(5) "¨"
- [u"©"]=>
- unicode(6) "©"
- [u"ª"]=>
- unicode(6) "ª"
- [u"«"]=>
- unicode(7) "«"
- [u"¬"]=>
- unicode(5) "¬"
- [u""]=>
- unicode(5) "­"
- [u"®"]=>
- unicode(5) "®"
- [u"¯"]=>
- unicode(6) "¯"
- [u"°"]=>
- unicode(5) "°"
- [u"±"]=>
- unicode(8) "±"
- [u"²"]=>
- unicode(6) "²"
- [u"³"]=>
- unicode(6) "³"
- [u"´"]=>
- unicode(7) "´"
- [u"µ"]=>
- unicode(7) "µ"
- [u"¶"]=>
- unicode(6) "¶"
- [u"·"]=>
- unicode(8) "·"
- [u"¸"]=>
- unicode(7) "¸"
- [u"¹"]=>
- unicode(6) "¹"
- [u"º"]=>
- unicode(6) "º"
- [u"»"]=>
- unicode(7) "»"
- [u"¼"]=>
- unicode(8) "¼"
- [u"½"]=>
- unicode(8) "½"
- [u"¾"]=>
- unicode(8) "¾"
- [u"¿"]=>
- unicode(8) "¿"
- [u"À"]=>
- unicode(8) "À"
- [u"Á"]=>
- unicode(8) "Á"
- [u"Â"]=>
- unicode(7) "Â"
- [u"Ã"]=>
- unicode(8) "Ã"
- [u"Ä"]=>
- unicode(6) "Ä"
- [u"Å"]=>
- unicode(7) "Å"
- [u"Æ"]=>
- unicode(7) "Æ"
- [u"Ç"]=>
- unicode(8) "Ç"
- [u"È"]=>
- unicode(8) "È"
- [u"É"]=>
- unicode(8) "É"
- [u"Ê"]=>
- unicode(7) "Ê"
- [u"Ë"]=>
- unicode(6) "Ë"
- [u"Ì"]=>
- unicode(8) "Ì"
- [u"Í"]=>
- unicode(8) "Í"
- [u"Î"]=>
- unicode(7) "Î"
- [u"Ï"]=>
- unicode(6) "Ï"
- [u"Ð"]=>
- unicode(5) "Ð"
- [u"Ñ"]=>
- unicode(8) "Ñ"
- [u"Ò"]=>
- unicode(8) "Ò"
- [u"Ó"]=>
- unicode(8) "Ó"
- [u"Ô"]=>
- unicode(7) "Ô"
- [u"Õ"]=>
- unicode(8) "Õ"
- [u"Ö"]=>
- unicode(6) "Ö"
- [u"×"]=>
- unicode(7) "×"
- [u"Ø"]=>
- unicode(8) "Ø"
- [u"Ù"]=>
- unicode(8) "Ù"
- [u"Ú"]=>
- unicode(8) "Ú"
- [u"Û"]=>
- unicode(7) "Û"
- [u"Ü"]=>
- unicode(6) "Ü"
- [u"Ý"]=>
- unicode(8) "Ý"
- [u"Þ"]=>
- unicode(7) "Þ"
- [u"ß"]=>
- unicode(7) "ß"
- [u"à"]=>
- unicode(8) "à"
- [u"á"]=>
- unicode(8) "á"
- [u"â"]=>
- unicode(7) "â"
- [u"ã"]=>
- unicode(8) "ã"
- [u"ä"]=>
- unicode(6) "ä"
- [u"å"]=>
- unicode(7) "å"
- [u"æ"]=>
- unicode(7) "æ"
- [u"ç"]=>
- unicode(8) "ç"
- [u"è"]=>
- unicode(8) "è"
- [u"é"]=>
- unicode(8) "é"
- [u"ê"]=>
- unicode(7) "ê"
- [u"ë"]=>
- unicode(6) "ë"
- [u"ì"]=>
- unicode(8) "ì"
- [u"í"]=>
- unicode(8) "í"
- [u"î"]=>
- unicode(7) "î"
- [u"ï"]=>
- unicode(6) "ï"
- [u"ð"]=>
- unicode(5) "ð"
- [u"ñ"]=>
- unicode(8) "ñ"
- [u"ò"]=>
- unicode(8) "ò"
- [u"ó"]=>
- unicode(8) "ó"
- [u"ô"]=>
- unicode(7) "ô"
- [u"õ"]=>
- unicode(8) "õ"
- [u"ö"]=>
- unicode(6) "ö"
- [u"÷"]=>
- unicode(8) "÷"
- [u"ø"]=>
- unicode(8) "ø"
- [u"ù"]=>
- unicode(8) "ù"
- [u"ú"]=>
- unicode(8) "ú"
- [u"û"]=>
- unicode(7) "û"
- [u"ü"]=>
- unicode(6) "ü"
- [u"ý"]=>
- unicode(8) "ý"
- [u"þ"]=>
- unicode(7) "þ"
- [u"ÿ"]=>
- unicode(6) "ÿ"
- [u"Œ"]=>
- unicode(7) "Œ"
- [u"œ"]=>
- unicode(7) "œ"
- [u"Š"]=>
- unicode(8) "Š"
- [u"š"]=>
- unicode(8) "š"
- [u"Ÿ"]=>
- unicode(6) "Ÿ"
- [u"ƒ"]=>
- unicode(6) "ƒ"
- [u"ˆ"]=>
- unicode(6) "ˆ"
- [u"˜"]=>
- unicode(7) "˜"
- [u"Α"]=>
- unicode(7) "Α"
- [u"Β"]=>
- unicode(6) "Β"
- [u"Γ"]=>
- unicode(7) "Γ"
- [u"Δ"]=>
- unicode(7) "Δ"
- [u"Ε"]=>
- unicode(9) "Ε"
- [u"Ζ"]=>
- unicode(6) "Ζ"
- [u"Η"]=>
- unicode(5) "Η"
- [u"Θ"]=>
- unicode(7) "Θ"
- [u"Ι"]=>
- unicode(6) "Ι"
- [u"Κ"]=>
- unicode(7) "Κ"
- [u"Λ"]=>
- unicode(8) "Λ"
- [u"Μ"]=>
- unicode(4) "Μ"
- [u"Ν"]=>
- unicode(4) "Ν"
- [u"Ξ"]=>
- unicode(4) "Ξ"
- [u"Ο"]=>
- unicode(9) "Ο"
- [u"Π"]=>
- unicode(4) "Π"
- [u"Ρ"]=>
- unicode(5) "Ρ"
- [u"Σ"]=>
- unicode(7) "Σ"
- [u"Τ"]=>
- unicode(5) "Τ"
- [u"Υ"]=>
- unicode(9) "Υ"
- [u"Φ"]=>
- unicode(5) "Φ"
- [u"Χ"]=>
- unicode(5) "Χ"
- [u"Ψ"]=>
- unicode(5) "Ψ"
- [u"Ω"]=>
- unicode(7) "Ω"
- [u"α"]=>
- unicode(7) "α"
- [u"β"]=>
- unicode(6) "β"
- [u"γ"]=>
- unicode(7) "γ"
- [u"δ"]=>
- unicode(7) "δ"
- [u"ε"]=>
- unicode(9) "ε"
- [u"ζ"]=>
- unicode(6) "ζ"
- [u"η"]=>
- unicode(5) "η"
- [u"θ"]=>
- unicode(7) "θ"
- [u"ι"]=>
- unicode(6) "ι"
- [u"κ"]=>
- unicode(7) "κ"
- [u"λ"]=>
- unicode(8) "λ"
- [u"μ"]=>
- unicode(4) "μ"
- [u"ν"]=>
- unicode(4) "ν"
- [u"ξ"]=>
- unicode(4) "ξ"
- [u"ο"]=>
- unicode(9) "ο"
- [u"π"]=>
- unicode(4) "π"
- [u"ρ"]=>
- unicode(5) "ρ"
- [u"ς"]=>
- unicode(8) "ς"
- [u"σ"]=>
- unicode(7) "σ"
- [u"τ"]=>
- unicode(5) "τ"
- [u"υ"]=>
- unicode(9) "υ"
- [u"φ"]=>
- unicode(5) "φ"
- [u"χ"]=>
- unicode(5) "χ"
- [u"ψ"]=>
- unicode(5) "ψ"
- [u"ω"]=>
- unicode(7) "ω"
- [u"ϑ"]=>
- unicode(10) "ϑ"
- [u"ϒ"]=>
- unicode(7) "ϒ"
- [u"ϖ"]=>
- unicode(5) "ϖ"
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(8) " "
- [u""]=>
- unicode(6) "‌"
- [u""]=>
- unicode(5) "‍"
- [u""]=>
- unicode(5) "‎"
- [u""]=>
- unicode(5) "‏"
- [u"–"]=>
- unicode(7) "–"
- [u"—"]=>
- unicode(7) "—"
- [u"‘"]=>
- unicode(7) "‘"
- [u"’"]=>
- unicode(7) "’"
- [u"‚"]=>
- unicode(7) "‚"
- [u"“"]=>
- unicode(7) "“"
- [u"”"]=>
- unicode(7) "”"
- [u"„"]=>
- unicode(7) "„"
- [u"†"]=>
- unicode(8) "†"
- [u"‡"]=>
- unicode(8) "‡"
- [u"•"]=>
- unicode(6) "•"
- [u"…"]=>
- unicode(8) "…"
- [u"‰"]=>
- unicode(8) "‰"
- [u"′"]=>
- unicode(7) "′"
- [u"″"]=>
- unicode(7) "″"
- [u"‹"]=>
- unicode(8) "‹"
- [u"›"]=>
- unicode(8) "›"
- [u"‾"]=>
- unicode(7) "‾"
- [u"⁄"]=>
- unicode(7) "⁄"
- [u"€"]=>
- unicode(6) "€"
- [u"ℑ"]=>
- unicode(7) "ℑ"
- [u"℘"]=>
- unicode(8) "℘"
- [u"ℜ"]=>
- unicode(6) "ℜ"
- [u"™"]=>
- unicode(7) "™"
- [u"ℵ"]=>
- unicode(9) "ℵ"
- [u"←"]=>
- unicode(6) "←"
- [u"↑"]=>
- unicode(6) "↑"
- [u"→"]=>
- unicode(6) "→"
- [u"↓"]=>
- unicode(6) "↓"
- [u"↔"]=>
- unicode(6) "↔"
- [u"↵"]=>
- unicode(7) "↵"
- [u"⇐"]=>
- unicode(6) "⇐"
- [u"⇑"]=>
- unicode(6) "⇑"
- [u"⇒"]=>
- unicode(6) "⇒"
- [u"⇓"]=>
- unicode(6) "⇓"
- [u"⇔"]=>
- unicode(6) "⇔"
- [u"⇕"]=>
- unicode(6) "⇕"
- [u"⇚"]=>
- unicode(7) "⇚"
- [u"⇛"]=>
- unicode(7) "⇛"
- [u"⇝"]=>
- unicode(7) "↝"
- [u"∀"]=>
- unicode(8) "∀"
- [u"∁"]=>
- unicode(6) "∁"
- [u"∂"]=>
- unicode(6) "∂"
- [u"∃"]=>
- unicode(7) "∃"
- [u"∄"]=>
- unicode(8) "∄"
- [u"∅"]=>
- unicode(7) "∅"
- [u"∇"]=>
- unicode(7) "∇"
- [u"∈"]=>
- unicode(6) "∈"
- [u"∉"]=>
- unicode(7) "∉"
- [u"∊"]=>
- unicode(7) "&epsis;"
- [u"∋"]=>
- unicode(4) "∋"
- [u"∌"]=>
- unicode(7) "∌"
- [u"∍"]=>
- unicode(7) "϶"
- [u"∏"]=>
- unicode(6) "∏"
- [u"∐"]=>
- unicode(8) "∐"
- [u"∑"]=>
- unicode(5) "∑"
- [u"−"]=>
- unicode(7) "−"
- [u"∓"]=>
- unicode(8) "∓"
- [u"∔"]=>
- unicode(8) "∔"
- [u"∖"]=>
- unicode(7) "∖"
- [u"∗"]=>
- unicode(8) "∗"
- [u"∘"]=>
- unicode(8) "∘"
- [u"√"]=>
- unicode(7) "√"
- [u"∝"]=>
- unicode(6) "∝"
- [u"∞"]=>
- unicode(7) "∞"
- [u"∟"]=>
- unicode(7) "&ang90;"
- [u"∠"]=>
- unicode(5) "∠"
- [u"∡"]=>
- unicode(8) "∡"
- [u"∢"]=>
- unicode(8) "∢"
- [u"∣"]=>
- unicode(5) "∣"
- [u"∤"]=>
- unicode(6) "∤"
- [u"∥"]=>
- unicode(5) "∥"
- [u"∦"]=>
- unicode(6) "∦"
- [u"∧"]=>
- unicode(5) "∧"
- [u"∨"]=>
- unicode(4) "∨"
- [u"∩"]=>
- unicode(5) "∩"
- [u"∪"]=>
- unicode(5) "∪"
- [u"∫"]=>
- unicode(5) "∫"
- [u"∮"]=>
- unicode(8) "∮"
- [u"∴"]=>
- unicode(8) "∴"
- [u"∵"]=>
- unicode(8) "∵"
- [u"∼"]=>
- unicode(5) "∼"
- [u"∽"]=>
- unicode(6) "∽"
- [u"≀"]=>
- unicode(8) "≀"
- [u"≁"]=>
- unicode(6) "≁"
- [u"≃"]=>
- unicode(6) "≃"
- [u"≄"]=>
- unicode(7) "≄"
- [u"≅"]=>
- unicode(6) "≅"
- [u"≇"]=>
- unicode(7) "≇"
- [u"≈"]=>
- unicode(7) "≈"
- [u"≉"]=>
- unicode(5) "≉"
- [u"≊"]=>
- unicode(5) "≊"
- [u"≌"]=>
- unicode(7) "≌"
- [u"≍"]=>
- unicode(7) "≈"
- [u"≎"]=>
- unicode(6) "≎"
- [u"≏"]=>
- unicode(7) "≏"
- [u"≠"]=>
- unicode(4) "≠"
- [u"≡"]=>
- unicode(7) "≡"
- [u"≤"]=>
- unicode(4) "≤"
- [u"≥"]=>
- unicode(4) "≥"
- [u"≦"]=>
- unicode(4) "≦"
- [u"≧"]=>
- unicode(4) "≧"
- [u"≨"]=>
- unicode(5) "≨"
- [u"≩"]=>
- unicode(5) "≩"
- [u"≪"]=>
- unicode(4) "≪"
- [u"≫"]=>
- unicode(4) "≫"
- [u"≬"]=>
- unicode(7) "≬"
- [u"≮"]=>
- unicode(5) "≮"
- [u"≯"]=>
- unicode(5) "≯"
- [u"≰"]=>
- unicode(6) "⩽̸"
- [u"≱"]=>
- unicode(6) "⩾̸"
- [u"≲"]=>
- unicode(6) "≲"
- [u"≳"]=>
- unicode(6) "≳"
- [u"≶"]=>
- unicode(4) "≶"
- [u"≷"]=>
- unicode(4) "≷"
- [u"≺"]=>
- unicode(4) "≺"
- [u"≻"]=>
- unicode(4) "≻"
- [u"≼"]=>
- unicode(7) "&cupre;"
- [u"≽"]=>
- unicode(7) "&sscue;"
- [u"≾"]=>
- unicode(7) "≾"
- [u"≿"]=>
- unicode(7) "≿"
- [u"⊀"]=>
- unicode(5) "⊀"
- [u"⊁"]=>
- unicode(5) "⊁"
- [u"⊂"]=>
- unicode(5) "⊂"
- [u"⊃"]=>
- unicode(5) "⊃"
- [u"⊄"]=>
- unicode(6) "⊄"
- [u"⊅"]=>
- unicode(6) "⊅"
- [u"⊆"]=>
- unicode(6) "⊆"
- [u"⊇"]=>
- unicode(6) "⊇"
- [u"⊕"]=>
- unicode(7) "⊕"
- [u"⊗"]=>
- unicode(8) "⊗"
- [u"⊥"]=>
- unicode(6) "⊥"
- [u"⋅"]=>
- unicode(6) "⋅"
- [u"⌈"]=>
- unicode(7) "⌈"
- [u"⌉"]=>
- unicode(7) "⌉"
- [u"⌊"]=>
- unicode(8) "⌊"
- [u"⌋"]=>
- unicode(8) "⌋"
- [u"〈"]=>
- unicode(6) "⟨"
- [u"〉"]=>
- unicode(6) "⟩"
- [u"◊"]=>
- unicode(5) "◊"
- [u"♠"]=>
- unicode(8) "♠"
- [u"♣"]=>
- unicode(7) "♣"
- [u"♥"]=>
- unicode(8) "♥"
- [u"♦"]=>
- unicode(7) "♦"
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-array(311) {
- [u" "]=>
- unicode(6) " "
- [u"¡"]=>
- unicode(7) "¡"
- [u"¢"]=>
- unicode(6) "¢"
- [u"£"]=>
- unicode(7) "£"
- [u"¤"]=>
- unicode(8) "¤"
- [u"¥"]=>
- unicode(5) "¥"
- [u"¦"]=>
- unicode(8) "¦"
- [u"§"]=>
- unicode(6) "§"
- [u"¨"]=>
- unicode(5) "¨"
- [u"©"]=>
- unicode(6) "©"
- [u"ª"]=>
- unicode(6) "ª"
- [u"«"]=>
- unicode(7) "«"
- [u"¬"]=>
- unicode(5) "¬"
- [u""]=>
- unicode(5) "­"
- [u"®"]=>
- unicode(5) "®"
- [u"¯"]=>
- unicode(6) "¯"
- [u"°"]=>
- unicode(5) "°"
- [u"±"]=>
- unicode(8) "±"
- [u"²"]=>
- unicode(6) "²"
- [u"³"]=>
- unicode(6) "³"
- [u"´"]=>
- unicode(7) "´"
- [u"µ"]=>
- unicode(7) "µ"
- [u"¶"]=>
- unicode(6) "¶"
- [u"·"]=>
- unicode(8) "·"
- [u"¸"]=>
- unicode(7) "¸"
- [u"¹"]=>
- unicode(6) "¹"
- [u"º"]=>
- unicode(6) "º"
- [u"»"]=>
- unicode(7) "»"
- [u"¼"]=>
- unicode(8) "¼"
- [u"½"]=>
- unicode(8) "½"
- [u"¾"]=>
- unicode(8) "¾"
- [u"¿"]=>
- unicode(8) "¿"
- [u"À"]=>
- unicode(8) "À"
- [u"Á"]=>
- unicode(8) "Á"
- [u"Â"]=>
- unicode(7) "Â"
- [u"Ã"]=>
- unicode(8) "Ã"
- [u"Ä"]=>
- unicode(6) "Ä"
- [u"Å"]=>
- unicode(7) "Å"
- [u"Æ"]=>
- unicode(7) "Æ"
- [u"Ç"]=>
- unicode(8) "Ç"
- [u"È"]=>
- unicode(8) "È"
- [u"É"]=>
- unicode(8) "É"
- [u"Ê"]=>
- unicode(7) "Ê"
- [u"Ë"]=>
- unicode(6) "Ë"
- [u"Ì"]=>
- unicode(8) "Ì"
- [u"Í"]=>
- unicode(8) "Í"
- [u"Î"]=>
- unicode(7) "Î"
- [u"Ï"]=>
- unicode(6) "Ï"
- [u"Ð"]=>
- unicode(5) "Ð"
- [u"Ñ"]=>
- unicode(8) "Ñ"
- [u"Ò"]=>
- unicode(8) "Ò"
- [u"Ó"]=>
- unicode(8) "Ó"
- [u"Ô"]=>
- unicode(7) "Ô"
- [u"Õ"]=>
- unicode(8) "Õ"
- [u"Ö"]=>
- unicode(6) "Ö"
- [u"×"]=>
- unicode(7) "×"
- [u"Ø"]=>
- unicode(8) "Ø"
- [u"Ù"]=>
- unicode(8) "Ù"
- [u"Ú"]=>
- unicode(8) "Ú"
- [u"Û"]=>
- unicode(7) "Û"
- [u"Ü"]=>
- unicode(6) "Ü"
- [u"Ý"]=>
- unicode(8) "Ý"
- [u"Þ"]=>
- unicode(7) "Þ"
- [u"ß"]=>
- unicode(7) "ß"
- [u"à"]=>
- unicode(8) "à"
- [u"á"]=>
- unicode(8) "á"
- [u"â"]=>
- unicode(7) "â"
- [u"ã"]=>
- unicode(8) "ã"
- [u"ä"]=>
- unicode(6) "ä"
- [u"å"]=>
- unicode(7) "å"
- [u"æ"]=>
- unicode(7) "æ"
- [u"ç"]=>
- unicode(8) "ç"
- [u"è"]=>
- unicode(8) "è"
- [u"é"]=>
- unicode(8) "é"
- [u"ê"]=>
- unicode(7) "ê"
- [u"ë"]=>
- unicode(6) "ë"
- [u"ì"]=>
- unicode(8) "ì"
- [u"í"]=>
- unicode(8) "í"
- [u"î"]=>
- unicode(7) "î"
- [u"ï"]=>
- unicode(6) "ï"
- [u"ð"]=>
- unicode(5) "ð"
- [u"ñ"]=>
- unicode(8) "ñ"
- [u"ò"]=>
- unicode(8) "ò"
- [u"ó"]=>
- unicode(8) "ó"
- [u"ô"]=>
- unicode(7) "ô"
- [u"õ"]=>
- unicode(8) "õ"
- [u"ö"]=>
- unicode(6) "ö"
- [u"÷"]=>
- unicode(8) "÷"
- [u"ø"]=>
- unicode(8) "ø"
- [u"ù"]=>
- unicode(8) "ù"
- [u"ú"]=>
- unicode(8) "ú"
- [u"û"]=>
- unicode(7) "û"
- [u"ü"]=>
- unicode(6) "ü"
- [u"ý"]=>
- unicode(8) "ý"
- [u"þ"]=>
- unicode(7) "þ"
- [u"ÿ"]=>
- unicode(6) "ÿ"
- [u"Œ"]=>
- unicode(7) "Œ"
- [u"œ"]=>
- unicode(7) "œ"
- [u"Š"]=>
- unicode(8) "Š"
- [u"š"]=>
- unicode(8) "š"
- [u"Ÿ"]=>
- unicode(6) "Ÿ"
- [u"ƒ"]=>
- unicode(6) "ƒ"
- [u"ˆ"]=>
- unicode(6) "ˆ"
- [u"˜"]=>
- unicode(7) "˜"
- [u"Α"]=>
- unicode(7) "Α"
- [u"Β"]=>
- unicode(6) "Β"
- [u"Γ"]=>
- unicode(7) "Γ"
- [u"Δ"]=>
- unicode(7) "Δ"
- [u"Ε"]=>
- unicode(9) "Ε"
- [u"Ζ"]=>
- unicode(6) "Ζ"
- [u"Η"]=>
- unicode(5) "Η"
- [u"Θ"]=>
- unicode(7) "Θ"
- [u"Ι"]=>
- unicode(6) "Ι"
- [u"Κ"]=>
- unicode(7) "Κ"
- [u"Λ"]=>
- unicode(8) "Λ"
- [u"Μ"]=>
- unicode(4) "Μ"
- [u"Ν"]=>
- unicode(4) "Ν"
- [u"Ξ"]=>
- unicode(4) "Ξ"
- [u"Ο"]=>
- unicode(9) "Ο"
- [u"Π"]=>
- unicode(4) "Π"
- [u"Ρ"]=>
- unicode(5) "Ρ"
- [u"Σ"]=>
- unicode(7) "Σ"
- [u"Τ"]=>
- unicode(5) "Τ"
- [u"Υ"]=>
- unicode(9) "Υ"
- [u"Φ"]=>
- unicode(5) "Φ"
- [u"Χ"]=>
- unicode(5) "Χ"
- [u"Ψ"]=>
- unicode(5) "Ψ"
- [u"Ω"]=>
- unicode(7) "Ω"
- [u"α"]=>
- unicode(7) "α"
- [u"β"]=>
- unicode(6) "β"
- [u"γ"]=>
- unicode(7) "γ"
- [u"δ"]=>
- unicode(7) "δ"
- [u"ε"]=>
- unicode(9) "ε"
- [u"ζ"]=>
- unicode(6) "ζ"
- [u"η"]=>
- unicode(5) "η"
- [u"θ"]=>
- unicode(7) "θ"
- [u"ι"]=>
- unicode(6) "ι"
- [u"κ"]=>
- unicode(7) "κ"
- [u"λ"]=>
- unicode(8) "λ"
- [u"μ"]=>
- unicode(4) "μ"
- [u"ν"]=>
- unicode(4) "ν"
- [u"ξ"]=>
- unicode(4) "ξ"
- [u"ο"]=>
- unicode(9) "ο"
- [u"π"]=>
- unicode(4) "π"
- [u"ρ"]=>
- unicode(5) "ρ"
- [u"ς"]=>
- unicode(8) "ς"
- [u"σ"]=>
- unicode(7) "σ"
- [u"τ"]=>
- unicode(5) "τ"
- [u"υ"]=>
- unicode(9) "υ"
- [u"φ"]=>
- unicode(5) "φ"
- [u"χ"]=>
- unicode(5) "χ"
- [u"ψ"]=>
- unicode(5) "ψ"
- [u"ω"]=>
- unicode(7) "ω"
- [u"ϑ"]=>
- unicode(10) "ϑ"
- [u"ϒ"]=>
- unicode(7) "ϒ"
- [u"ϖ"]=>
- unicode(5) "ϖ"
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(8) " "
- [u""]=>
- unicode(6) "‌"
- [u""]=>
- unicode(5) "‍"
- [u""]=>
- unicode(5) "‎"
- [u""]=>
- unicode(5) "‏"
- [u"–"]=>
- unicode(7) "–"
- [u"—"]=>
- unicode(7) "—"
- [u"‘"]=>
- unicode(7) "‘"
- [u"’"]=>
- unicode(7) "’"
- [u"‚"]=>
- unicode(7) "‚"
- [u"“"]=>
- unicode(7) "“"
- [u"”"]=>
- unicode(7) "”"
- [u"„"]=>
- unicode(7) "„"
- [u"†"]=>
- unicode(8) "†"
- [u"‡"]=>
- unicode(8) "‡"
- [u"•"]=>
- unicode(6) "•"
- [u"…"]=>
- unicode(8) "…"
- [u"‰"]=>
- unicode(8) "‰"
- [u"′"]=>
- unicode(7) "′"
- [u"″"]=>
- unicode(7) "″"
- [u"‹"]=>
- unicode(8) "‹"
- [u"›"]=>
- unicode(8) "›"
- [u"‾"]=>
- unicode(7) "‾"
- [u"⁄"]=>
- unicode(7) "⁄"
- [u"€"]=>
- unicode(6) "€"
- [u"ℑ"]=>
- unicode(7) "ℑ"
- [u"℘"]=>
- unicode(8) "℘"
- [u"ℜ"]=>
- unicode(6) "ℜ"
- [u"™"]=>
- unicode(7) "™"
- [u"ℵ"]=>
- unicode(9) "ℵ"
- [u"←"]=>
- unicode(6) "←"
- [u"↑"]=>
- unicode(6) "↑"
- [u"→"]=>
- unicode(6) "→"
- [u"↓"]=>
- unicode(6) "↓"
- [u"↔"]=>
- unicode(6) "↔"
- [u"↵"]=>
- unicode(7) "↵"
- [u"⇐"]=>
- unicode(6) "⇐"
- [u"⇑"]=>
- unicode(6) "⇑"
- [u"⇒"]=>
- unicode(6) "⇒"
- [u"⇓"]=>
- unicode(6) "⇓"
- [u"⇔"]=>
- unicode(6) "⇔"
- [u"⇕"]=>
- unicode(6) "⇕"
- [u"⇚"]=>
- unicode(7) "⇚"
- [u"⇛"]=>
- unicode(7) "⇛"
- [u"⇝"]=>
- unicode(7) "↝"
- [u"∀"]=>
- unicode(8) "∀"
- [u"∁"]=>
- unicode(6) "∁"
- [u"∂"]=>
- unicode(6) "∂"
- [u"∃"]=>
- unicode(7) "∃"
- [u"∄"]=>
- unicode(8) "∄"
- [u"∅"]=>
- unicode(7) "∅"
- [u"∇"]=>
- unicode(7) "∇"
- [u"∈"]=>
- unicode(6) "∈"
- [u"∉"]=>
- unicode(7) "∉"
- [u"∊"]=>
- unicode(7) "&epsis;"
- [u"∋"]=>
- unicode(4) "∋"
- [u"∌"]=>
- unicode(7) "∌"
- [u"∍"]=>
- unicode(7) "϶"
- [u"∏"]=>
- unicode(6) "∏"
- [u"∐"]=>
- unicode(8) "∐"
- [u"∑"]=>
- unicode(5) "∑"
- [u"−"]=>
- unicode(7) "−"
- [u"∓"]=>
- unicode(8) "∓"
- [u"∔"]=>
- unicode(8) "∔"
- [u"∖"]=>
- unicode(7) "∖"
- [u"∗"]=>
- unicode(8) "∗"
- [u"∘"]=>
- unicode(8) "∘"
- [u"√"]=>
- unicode(7) "√"
- [u"∝"]=>
- unicode(6) "∝"
- [u"∞"]=>
- unicode(7) "∞"
- [u"∟"]=>
- unicode(7) "&ang90;"
- [u"∠"]=>
- unicode(5) "∠"
- [u"∡"]=>
- unicode(8) "∡"
- [u"∢"]=>
- unicode(8) "∢"
- [u"∣"]=>
- unicode(5) "∣"
- [u"∤"]=>
- unicode(6) "∤"
- [u"∥"]=>
- unicode(5) "∥"
- [u"∦"]=>
- unicode(6) "∦"
- [u"∧"]=>
- unicode(5) "∧"
- [u"∨"]=>
- unicode(4) "∨"
- [u"∩"]=>
- unicode(5) "∩"
- [u"∪"]=>
- unicode(5) "∪"
- [u"∫"]=>
- unicode(5) "∫"
- [u"∮"]=>
- unicode(8) "∮"
- [u"∴"]=>
- unicode(8) "∴"
- [u"∵"]=>
- unicode(8) "∵"
- [u"∼"]=>
- unicode(5) "∼"
- [u"∽"]=>
- unicode(6) "∽"
- [u"≀"]=>
- unicode(8) "≀"
- [u"≁"]=>
- unicode(6) "≁"
- [u"≃"]=>
- unicode(6) "≃"
- [u"≄"]=>
- unicode(7) "≄"
- [u"≅"]=>
- unicode(6) "≅"
- [u"≇"]=>
- unicode(7) "≇"
- [u"≈"]=>
- unicode(7) "≈"
- [u"≉"]=>
- unicode(5) "≉"
- [u"≊"]=>
- unicode(5) "≊"
- [u"≌"]=>
- unicode(7) "≌"
- [u"≍"]=>
- unicode(7) "≈"
- [u"≎"]=>
- unicode(6) "≎"
- [u"≏"]=>
- unicode(7) "≏"
- [u"≠"]=>
- unicode(4) "≠"
- [u"≡"]=>
- unicode(7) "≡"
- [u"≤"]=>
- unicode(4) "≤"
- [u"≥"]=>
- unicode(4) "≥"
- [u"≦"]=>
- unicode(4) "≦"
- [u"≧"]=>
- unicode(4) "≧"
- [u"≨"]=>
- unicode(5) "≨"
- [u"≩"]=>
- unicode(5) "≩"
- [u"≪"]=>
- unicode(4) "≪"
- [u"≫"]=>
- unicode(4) "≫"
- [u"≬"]=>
- unicode(7) "≬"
- [u"≮"]=>
- unicode(5) "≮"
- [u"≯"]=>
- unicode(5) "≯"
- [u"≰"]=>
- unicode(6) "⩽̸"
- [u"≱"]=>
- unicode(6) "⩾̸"
- [u"≲"]=>
- unicode(6) "≲"
- [u"≳"]=>
- unicode(6) "≳"
- [u"≶"]=>
- unicode(4) "≶"
- [u"≷"]=>
- unicode(4) "≷"
- [u"≺"]=>
- unicode(4) "≺"
- [u"≻"]=>
- unicode(4) "≻"
- [u"≼"]=>
- unicode(7) "&cupre;"
- [u"≽"]=>
- unicode(7) "&sscue;"
- [u"≾"]=>
- unicode(7) "≾"
- [u"≿"]=>
- unicode(7) "≿"
- [u"⊀"]=>
- unicode(5) "⊀"
- [u"⊁"]=>
- unicode(5) "⊁"
- [u"⊂"]=>
- unicode(5) "⊂"
- [u"⊃"]=>
- unicode(5) "⊃"
- [u"⊄"]=>
- unicode(6) "⊄"
- [u"⊅"]=>
- unicode(6) "⊅"
- [u"⊆"]=>
- unicode(6) "⊆"
- [u"⊇"]=>
- unicode(6) "⊇"
- [u"⊕"]=>
- unicode(7) "⊕"
- [u"⊗"]=>
- unicode(8) "⊗"
- [u"⊥"]=>
- unicode(6) "⊥"
- [u"⋅"]=>
- unicode(6) "⋅"
- [u"⌈"]=>
- unicode(7) "⌈"
- [u"⌉"]=>
- unicode(7) "⌉"
- [u"⌊"]=>
- unicode(8) "⌊"
- [u"⌋"]=>
- unicode(8) "⌋"
- [u"〈"]=>
- unicode(6) "⟨"
- [u"〉"]=>
- unicode(6) "⟩"
- [u"◊"]=>
- unicode(5) "◊"
- [u"♠"]=>
- unicode(8) "♠"
- [u"♣"]=>
- unicode(7) "♣"
- [u"♥"]=>
- unicode(8) "♥"
- [u"♦"]=>
- unicode(7) "♦"
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 7 --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 8 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 13 --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 14 --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 15 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
-NULL
--- Iteration 16 --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 17 --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-Done
+++ /dev/null
---TEST--
-Test get_html_translation_table() function : usage variations - unexpected table values
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) == "WIN"){
- die('skip Not for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "en_US.UTF-8") ) {
- die('skip failed to set locale settings to "en-US.UTF-8"');
-}
-?>
---FILE--
-<?php
-/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/*
- * test get_html_translation_table() with unexpected value for argument $table
-*/
-
-//set locale to en_US.UTF-8
-setlocale(LC_ALL, "en_US.UTF-8");
-
-echo "*** Testing get_html_translation_table() : usage variations ***\n";
-// initialize all required variables
-$quote_style = ENT_COMPAT;
-
-// get an unset variable
-$unset_var = 10;
-unset($unset_var);
-
-// a resource variable
-$fp = fopen(__FILE__, "r");
-
-// array with different values
-$values = array (
-
- // array values
- array(),
- array(0),
- array(1),
- array(1, 2),
- array('color' => 'red', 'item' => 'pen'),
-
- // boolean values
- true,
- FALSE,
-
- // string values
- "string",
- 'string',
-
- // objects
- new stdclass(),
-
- // empty string
- "",
- '',
-
- // null vlaues
- NULL,
- null,
-
- // resource var
- $fp,
-
- // undefined variable
- @$undefined_var,
-
- // unset variable
- @$unset_var
-);
-
-
-// loop through each element of the array and check the working of get_html_translation_table()
-// when $table arugment is supplied with different values
-echo "\n--- Testing get_html_translation_table() by supplying different values for 'table' argument ---\n";
-$counter = 1;
-for($index = 0; $index < count($values); $index ++) {
- echo "-- Iteration $counter --\n";
- $table = $values [$index];
-
- var_dump( get_html_translation_table($table) );
- var_dump( get_html_translation_table($table, $quote_style) );
-
- $counter ++;
-}
-
-// close resource
-fclose($fp);
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : usage variations ***
-
---- Testing get_html_translation_table() by supplying different values for 'table' argument ---
--- Iteration 1 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-array(100) {
- [" "]=>
- string(6) " "
- ["¡"]=>
- string(7) "¡"
- ["¢"]=>
- string(6) "¢"
- ["£"]=>
- string(7) "£"
- ["¤"]=>
- string(8) "¤"
- ["¥"]=>
- string(5) "¥"
- ["¦"]=>
- string(8) "¦"
- ["§"]=>
- string(6) "§"
- ["¨"]=>
- string(5) "¨"
- ["©"]=>
- string(6) "©"
- ["ª"]=>
- string(6) "ª"
- ["«"]=>
- string(7) "«"
- ["¬"]=>
- string(5) "¬"
- [""]=>
- string(5) "­"
- ["®"]=>
- string(5) "®"
- ["¯"]=>
- string(6) "¯"
- ["°"]=>
- string(5) "°"
- ["±"]=>
- string(8) "±"
- ["²"]=>
- string(6) "²"
- ["³"]=>
- string(6) "³"
- ["´"]=>
- string(7) "´"
- ["µ"]=>
- string(7) "µ"
- ["¶"]=>
- string(6) "¶"
- ["·"]=>
- string(8) "·"
- ["¸"]=>
- string(7) "¸"
- ["¹"]=>
- string(6) "¹"
- ["º"]=>
- string(6) "º"
- ["»"]=>
- string(7) "»"
- ["¼"]=>
- string(8) "¼"
- ["½"]=>
- string(8) "½"
- ["¾"]=>
- string(8) "¾"
- ["¿"]=>
- string(8) "¿"
- ["À"]=>
- string(8) "À"
- ["Á"]=>
- string(8) "Á"
- ["Â"]=>
- string(7) "Â"
- ["Ã"]=>
- string(8) "Ã"
- ["Ä"]=>
- string(6) "Ä"
- ["Å"]=>
- string(7) "Å"
- ["Æ"]=>
- string(7) "Æ"
- ["Ç"]=>
- string(8) "Ç"
- ["È"]=>
- string(8) "È"
- ["É"]=>
- string(8) "É"
- ["Ê"]=>
- string(7) "Ê"
- ["Ë"]=>
- string(6) "Ë"
- ["Ì"]=>
- string(8) "Ì"
- ["Í"]=>
- string(8) "Í"
- ["Î"]=>
- string(7) "Î"
- ["Ï"]=>
- string(6) "Ï"
- ["Ð"]=>
- string(5) "Ð"
- ["Ñ"]=>
- string(8) "Ñ"
- ["Ò"]=>
- string(8) "Ò"
- ["Ó"]=>
- string(8) "Ó"
- ["Ô"]=>
- string(7) "Ô"
- ["Õ"]=>
- string(8) "Õ"
- ["Ö"]=>
- string(6) "Ö"
- ["×"]=>
- string(7) "×"
- ["Ø"]=>
- string(8) "Ø"
- ["Ù"]=>
- string(8) "Ù"
- ["Ú"]=>
- string(8) "Ú"
- ["Û"]=>
- string(7) "Û"
- ["Ü"]=>
- string(6) "Ü"
- ["Ý"]=>
- string(8) "Ý"
- ["Þ"]=>
- string(7) "Þ"
- ["ß"]=>
- string(7) "ß"
- ["à"]=>
- string(8) "à"
- ["á"]=>
- string(8) "á"
- ["â"]=>
- string(7) "â"
- ["ã"]=>
- string(8) "ã"
- ["ä"]=>
- string(6) "ä"
- ["å"]=>
- string(7) "å"
- ["æ"]=>
- string(7) "æ"
- ["ç"]=>
- string(8) "ç"
- ["è"]=>
- string(8) "è"
- ["é"]=>
- string(8) "é"
- ["ê"]=>
- string(7) "ê"
- ["ë"]=>
- string(6) "ë"
- ["ì"]=>
- string(8) "ì"
- ["í"]=>
- string(8) "í"
- ["î"]=>
- string(7) "î"
- ["ï"]=>
- string(6) "ï"
- ["ð"]=>
- string(5) "ð"
- ["ñ"]=>
- string(8) "ñ"
- ["ò"]=>
- string(8) "ò"
- ["ó"]=>
- string(8) "ó"
- ["ô"]=>
- string(7) "ô"
- ["õ"]=>
- string(8) "õ"
- ["ö"]=>
- string(6) "ö"
- ["÷"]=>
- string(8) "÷"
- ["ø"]=>
- string(8) "ø"
- ["ù"]=>
- string(8) "ù"
- ["ú"]=>
- string(8) "ú"
- ["û"]=>
- string(7) "û"
- ["ü"]=>
- string(6) "ü"
- ["ý"]=>
- string(8) "ý"
- ["þ"]=>
- string(7) "þ"
- ["ÿ"]=>
- string(6) "ÿ"
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-array(100) {
- [" "]=>
- string(6) " "
- ["¡"]=>
- string(7) "¡"
- ["¢"]=>
- string(6) "¢"
- ["£"]=>
- string(7) "£"
- ["¤"]=>
- string(8) "¤"
- ["¥"]=>
- string(5) "¥"
- ["¦"]=>
- string(8) "¦"
- ["§"]=>
- string(6) "§"
- ["¨"]=>
- string(5) "¨"
- ["©"]=>
- string(6) "©"
- ["ª"]=>
- string(6) "ª"
- ["«"]=>
- string(7) "«"
- ["¬"]=>
- string(5) "¬"
- [""]=>
- string(5) "­"
- ["®"]=>
- string(5) "®"
- ["¯"]=>
- string(6) "¯"
- ["°"]=>
- string(5) "°"
- ["±"]=>
- string(8) "±"
- ["²"]=>
- string(6) "²"
- ["³"]=>
- string(6) "³"
- ["´"]=>
- string(7) "´"
- ["µ"]=>
- string(7) "µ"
- ["¶"]=>
- string(6) "¶"
- ["·"]=>
- string(8) "·"
- ["¸"]=>
- string(7) "¸"
- ["¹"]=>
- string(6) "¹"
- ["º"]=>
- string(6) "º"
- ["»"]=>
- string(7) "»"
- ["¼"]=>
- string(8) "¼"
- ["½"]=>
- string(8) "½"
- ["¾"]=>
- string(8) "¾"
- ["¿"]=>
- string(8) "¿"
- ["À"]=>
- string(8) "À"
- ["Á"]=>
- string(8) "Á"
- ["Â"]=>
- string(7) "Â"
- ["Ã"]=>
- string(8) "Ã"
- ["Ä"]=>
- string(6) "Ä"
- ["Å"]=>
- string(7) "Å"
- ["Æ"]=>
- string(7) "Æ"
- ["Ç"]=>
- string(8) "Ç"
- ["È"]=>
- string(8) "È"
- ["É"]=>
- string(8) "É"
- ["Ê"]=>
- string(7) "Ê"
- ["Ë"]=>
- string(6) "Ë"
- ["Ì"]=>
- string(8) "Ì"
- ["Í"]=>
- string(8) "Í"
- ["Î"]=>
- string(7) "Î"
- ["Ï"]=>
- string(6) "Ï"
- ["Ð"]=>
- string(5) "Ð"
- ["Ñ"]=>
- string(8) "Ñ"
- ["Ò"]=>
- string(8) "Ò"
- ["Ó"]=>
- string(8) "Ó"
- ["Ô"]=>
- string(7) "Ô"
- ["Õ"]=>
- string(8) "Õ"
- ["Ö"]=>
- string(6) "Ö"
- ["×"]=>
- string(7) "×"
- ["Ø"]=>
- string(8) "Ø"
- ["Ù"]=>
- string(8) "Ù"
- ["Ú"]=>
- string(8) "Ú"
- ["Û"]=>
- string(7) "Û"
- ["Ü"]=>
- string(6) "Ü"
- ["Ý"]=>
- string(8) "Ý"
- ["Þ"]=>
- string(7) "Þ"
- ["ß"]=>
- string(7) "ß"
- ["à"]=>
- string(8) "à"
- ["á"]=>
- string(8) "á"
- ["â"]=>
- string(7) "â"
- ["ã"]=>
- string(8) "ã"
- ["ä"]=>
- string(6) "ä"
- ["å"]=>
- string(7) "å"
- ["æ"]=>
- string(7) "æ"
- ["ç"]=>
- string(8) "ç"
- ["è"]=>
- string(8) "è"
- ["é"]=>
- string(8) "é"
- ["ê"]=>
- string(7) "ê"
- ["ë"]=>
- string(6) "ë"
- ["ì"]=>
- string(8) "ì"
- ["í"]=>
- string(8) "í"
- ["î"]=>
- string(7) "î"
- ["ï"]=>
- string(6) "ï"
- ["ð"]=>
- string(5) "ð"
- ["ñ"]=>
- string(8) "ñ"
- ["ò"]=>
- string(8) "ò"
- ["ó"]=>
- string(8) "ó"
- ["ô"]=>
- string(7) "ô"
- ["õ"]=>
- string(8) "õ"
- ["ö"]=>
- string(6) "ö"
- ["÷"]=>
- string(8) "÷"
- ["ø"]=>
- string(8) "ø"
- ["ù"]=>
- string(8) "ù"
- ["ú"]=>
- string(8) "ú"
- ["û"]=>
- string(7) "û"
- ["ü"]=>
- string(6) "ü"
- ["ý"]=>
- string(8) "ý"
- ["þ"]=>
- string(7) "þ"
- ["ÿ"]=>
- string(6) "ÿ"
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 7 --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 8 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
--- Iteration 13 --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 14 --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 15 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
-NULL
--- Iteration 16 --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 17 --
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-array(4) {
- ["""]=>
- string(6) """
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : usage variations ***
-
---- Testing get_html_translation_table() by supplying different values for 'table' argument ---
--- Iteration 1 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-array(311) {
- [u" "]=>
- unicode(6) " "
- [u"¡"]=>
- unicode(7) "¡"
- [u"¢"]=>
- unicode(6) "¢"
- [u"£"]=>
- unicode(7) "£"
- [u"¤"]=>
- unicode(8) "¤"
- [u"¥"]=>
- unicode(5) "¥"
- [u"¦"]=>
- unicode(8) "¦"
- [u"§"]=>
- unicode(6) "§"
- [u"¨"]=>
- unicode(5) "¨"
- [u"©"]=>
- unicode(6) "©"
- [u"ª"]=>
- unicode(6) "ª"
- [u"«"]=>
- unicode(7) "«"
- [u"¬"]=>
- unicode(5) "¬"
- [u""]=>
- unicode(5) "­"
- [u"®"]=>
- unicode(5) "®"
- [u"¯"]=>
- unicode(6) "¯"
- [u"°"]=>
- unicode(5) "°"
- [u"±"]=>
- unicode(8) "±"
- [u"²"]=>
- unicode(6) "²"
- [u"³"]=>
- unicode(6) "³"
- [u"´"]=>
- unicode(7) "´"
- [u"µ"]=>
- unicode(7) "µ"
- [u"¶"]=>
- unicode(6) "¶"
- [u"·"]=>
- unicode(8) "·"
- [u"¸"]=>
- unicode(7) "¸"
- [u"¹"]=>
- unicode(6) "¹"
- [u"º"]=>
- unicode(6) "º"
- [u"»"]=>
- unicode(7) "»"
- [u"¼"]=>
- unicode(8) "¼"
- [u"½"]=>
- unicode(8) "½"
- [u"¾"]=>
- unicode(8) "¾"
- [u"¿"]=>
- unicode(8) "¿"
- [u"À"]=>
- unicode(8) "À"
- [u"Á"]=>
- unicode(8) "Á"
- [u"Â"]=>
- unicode(7) "Â"
- [u"Ã"]=>
- unicode(8) "Ã"
- [u"Ä"]=>
- unicode(6) "Ä"
- [u"Å"]=>
- unicode(7) "Å"
- [u"Æ"]=>
- unicode(7) "Æ"
- [u"Ç"]=>
- unicode(8) "Ç"
- [u"È"]=>
- unicode(8) "È"
- [u"É"]=>
- unicode(8) "É"
- [u"Ê"]=>
- unicode(7) "Ê"
- [u"Ë"]=>
- unicode(6) "Ë"
- [u"Ì"]=>
- unicode(8) "Ì"
- [u"Í"]=>
- unicode(8) "Í"
- [u"Î"]=>
- unicode(7) "Î"
- [u"Ï"]=>
- unicode(6) "Ï"
- [u"Ð"]=>
- unicode(5) "Ð"
- [u"Ñ"]=>
- unicode(8) "Ñ"
- [u"Ò"]=>
- unicode(8) "Ò"
- [u"Ó"]=>
- unicode(8) "Ó"
- [u"Ô"]=>
- unicode(7) "Ô"
- [u"Õ"]=>
- unicode(8) "Õ"
- [u"Ö"]=>
- unicode(6) "Ö"
- [u"×"]=>
- unicode(7) "×"
- [u"Ø"]=>
- unicode(8) "Ø"
- [u"Ù"]=>
- unicode(8) "Ù"
- [u"Ú"]=>
- unicode(8) "Ú"
- [u"Û"]=>
- unicode(7) "Û"
- [u"Ü"]=>
- unicode(6) "Ü"
- [u"Ý"]=>
- unicode(8) "Ý"
- [u"Þ"]=>
- unicode(7) "Þ"
- [u"ß"]=>
- unicode(7) "ß"
- [u"à"]=>
- unicode(8) "à"
- [u"á"]=>
- unicode(8) "á"
- [u"â"]=>
- unicode(7) "â"
- [u"ã"]=>
- unicode(8) "ã"
- [u"ä"]=>
- unicode(6) "ä"
- [u"å"]=>
- unicode(7) "å"
- [u"æ"]=>
- unicode(7) "æ"
- [u"ç"]=>
- unicode(8) "ç"
- [u"è"]=>
- unicode(8) "è"
- [u"é"]=>
- unicode(8) "é"
- [u"ê"]=>
- unicode(7) "ê"
- [u"ë"]=>
- unicode(6) "ë"
- [u"ì"]=>
- unicode(8) "ì"
- [u"í"]=>
- unicode(8) "í"
- [u"î"]=>
- unicode(7) "î"
- [u"ï"]=>
- unicode(6) "ï"
- [u"ð"]=>
- unicode(5) "ð"
- [u"ñ"]=>
- unicode(8) "ñ"
- [u"ò"]=>
- unicode(8) "ò"
- [u"ó"]=>
- unicode(8) "ó"
- [u"ô"]=>
- unicode(7) "ô"
- [u"õ"]=>
- unicode(8) "õ"
- [u"ö"]=>
- unicode(6) "ö"
- [u"÷"]=>
- unicode(8) "÷"
- [u"ø"]=>
- unicode(8) "ø"
- [u"ù"]=>
- unicode(8) "ù"
- [u"ú"]=>
- unicode(8) "ú"
- [u"û"]=>
- unicode(7) "û"
- [u"ü"]=>
- unicode(6) "ü"
- [u"ý"]=>
- unicode(8) "ý"
- [u"þ"]=>
- unicode(7) "þ"
- [u"ÿ"]=>
- unicode(6) "ÿ"
- [u"Œ"]=>
- unicode(7) "Œ"
- [u"œ"]=>
- unicode(7) "œ"
- [u"Š"]=>
- unicode(8) "Š"
- [u"š"]=>
- unicode(8) "š"
- [u"Ÿ"]=>
- unicode(6) "Ÿ"
- [u"ƒ"]=>
- unicode(6) "ƒ"
- [u"ˆ"]=>
- unicode(6) "ˆ"
- [u"˜"]=>
- unicode(7) "˜"
- [u"Α"]=>
- unicode(7) "Α"
- [u"Β"]=>
- unicode(6) "Β"
- [u"Γ"]=>
- unicode(7) "Γ"
- [u"Δ"]=>
- unicode(7) "Δ"
- [u"Ε"]=>
- unicode(9) "Ε"
- [u"Ζ"]=>
- unicode(6) "Ζ"
- [u"Η"]=>
- unicode(5) "Η"
- [u"Θ"]=>
- unicode(7) "Θ"
- [u"Ι"]=>
- unicode(6) "Ι"
- [u"Κ"]=>
- unicode(7) "Κ"
- [u"Λ"]=>
- unicode(8) "Λ"
- [u"Μ"]=>
- unicode(4) "Μ"
- [u"Ν"]=>
- unicode(4) "Ν"
- [u"Ξ"]=>
- unicode(4) "Ξ"
- [u"Ο"]=>
- unicode(9) "Ο"
- [u"Π"]=>
- unicode(4) "Π"
- [u"Ρ"]=>
- unicode(5) "Ρ"
- [u"Σ"]=>
- unicode(7) "Σ"
- [u"Τ"]=>
- unicode(5) "Τ"
- [u"Υ"]=>
- unicode(9) "Υ"
- [u"Φ"]=>
- unicode(5) "Φ"
- [u"Χ"]=>
- unicode(5) "Χ"
- [u"Ψ"]=>
- unicode(5) "Ψ"
- [u"Ω"]=>
- unicode(7) "Ω"
- [u"α"]=>
- unicode(7) "α"
- [u"β"]=>
- unicode(6) "β"
- [u"γ"]=>
- unicode(7) "γ"
- [u"δ"]=>
- unicode(7) "δ"
- [u"ε"]=>
- unicode(9) "ε"
- [u"ζ"]=>
- unicode(6) "ζ"
- [u"η"]=>
- unicode(5) "η"
- [u"θ"]=>
- unicode(7) "θ"
- [u"ι"]=>
- unicode(6) "ι"
- [u"κ"]=>
- unicode(7) "κ"
- [u"λ"]=>
- unicode(8) "λ"
- [u"μ"]=>
- unicode(4) "μ"
- [u"ν"]=>
- unicode(4) "ν"
- [u"ξ"]=>
- unicode(4) "ξ"
- [u"ο"]=>
- unicode(9) "ο"
- [u"π"]=>
- unicode(4) "π"
- [u"ρ"]=>
- unicode(5) "ρ"
- [u"ς"]=>
- unicode(8) "ς"
- [u"σ"]=>
- unicode(7) "σ"
- [u"τ"]=>
- unicode(5) "τ"
- [u"υ"]=>
- unicode(9) "υ"
- [u"φ"]=>
- unicode(5) "φ"
- [u"χ"]=>
- unicode(5) "χ"
- [u"ψ"]=>
- unicode(5) "ψ"
- [u"ω"]=>
- unicode(7) "ω"
- [u"ϑ"]=>
- unicode(10) "ϑ"
- [u"ϒ"]=>
- unicode(7) "ϒ"
- [u"ϖ"]=>
- unicode(5) "ϖ"
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(8) " "
- [u""]=>
- unicode(6) "‌"
- [u""]=>
- unicode(5) "‍"
- [u""]=>
- unicode(5) "‎"
- [u""]=>
- unicode(5) "‏"
- [u"–"]=>
- unicode(7) "–"
- [u"—"]=>
- unicode(7) "—"
- [u"‘"]=>
- unicode(7) "‘"
- [u"’"]=>
- unicode(7) "’"
- [u"‚"]=>
- unicode(7) "‚"
- [u"“"]=>
- unicode(7) "“"
- [u"”"]=>
- unicode(7) "”"
- [u"„"]=>
- unicode(7) "„"
- [u"†"]=>
- unicode(8) "†"
- [u"‡"]=>
- unicode(8) "‡"
- [u"•"]=>
- unicode(6) "•"
- [u"…"]=>
- unicode(8) "…"
- [u"‰"]=>
- unicode(8) "‰"
- [u"′"]=>
- unicode(7) "′"
- [u"″"]=>
- unicode(7) "″"
- [u"‹"]=>
- unicode(8) "‹"
- [u"›"]=>
- unicode(8) "›"
- [u"‾"]=>
- unicode(7) "‾"
- [u"⁄"]=>
- unicode(7) "⁄"
- [u"€"]=>
- unicode(6) "€"
- [u"ℑ"]=>
- unicode(7) "ℑ"
- [u"℘"]=>
- unicode(8) "℘"
- [u"ℜ"]=>
- unicode(6) "ℜ"
- [u"™"]=>
- unicode(7) "™"
- [u"ℵ"]=>
- unicode(9) "ℵ"
- [u"←"]=>
- unicode(6) "←"
- [u"↑"]=>
- unicode(6) "↑"
- [u"→"]=>
- unicode(6) "→"
- [u"↓"]=>
- unicode(6) "↓"
- [u"↔"]=>
- unicode(6) "↔"
- [u"↵"]=>
- unicode(7) "↵"
- [u"⇐"]=>
- unicode(6) "⇐"
- [u"⇑"]=>
- unicode(6) "⇑"
- [u"⇒"]=>
- unicode(6) "⇒"
- [u"⇓"]=>
- unicode(6) "⇓"
- [u"⇔"]=>
- unicode(6) "⇔"
- [u"⇕"]=>
- unicode(6) "⇕"
- [u"⇚"]=>
- unicode(7) "⇚"
- [u"⇛"]=>
- unicode(7) "⇛"
- [u"⇝"]=>
- unicode(7) "↝"
- [u"∀"]=>
- unicode(8) "∀"
- [u"∁"]=>
- unicode(6) "∁"
- [u"∂"]=>
- unicode(6) "∂"
- [u"∃"]=>
- unicode(7) "∃"
- [u"∄"]=>
- unicode(8) "∄"
- [u"∅"]=>
- unicode(7) "∅"
- [u"∇"]=>
- unicode(7) "∇"
- [u"∈"]=>
- unicode(6) "∈"
- [u"∉"]=>
- unicode(7) "∉"
- [u"∊"]=>
- unicode(7) "&epsis;"
- [u"∋"]=>
- unicode(4) "∋"
- [u"∌"]=>
- unicode(7) "∌"
- [u"∍"]=>
- unicode(7) "϶"
- [u"∏"]=>
- unicode(6) "∏"
- [u"∐"]=>
- unicode(8) "∐"
- [u"∑"]=>
- unicode(5) "∑"
- [u"−"]=>
- unicode(7) "−"
- [u"∓"]=>
- unicode(8) "∓"
- [u"∔"]=>
- unicode(8) "∔"
- [u"∖"]=>
- unicode(7) "∖"
- [u"∗"]=>
- unicode(8) "∗"
- [u"∘"]=>
- unicode(8) "∘"
- [u"√"]=>
- unicode(7) "√"
- [u"∝"]=>
- unicode(6) "∝"
- [u"∞"]=>
- unicode(7) "∞"
- [u"∟"]=>
- unicode(7) "&ang90;"
- [u"∠"]=>
- unicode(5) "∠"
- [u"∡"]=>
- unicode(8) "∡"
- [u"∢"]=>
- unicode(8) "∢"
- [u"∣"]=>
- unicode(5) "∣"
- [u"∤"]=>
- unicode(6) "∤"
- [u"∥"]=>
- unicode(5) "∥"
- [u"∦"]=>
- unicode(6) "∦"
- [u"∧"]=>
- unicode(5) "∧"
- [u"∨"]=>
- unicode(4) "∨"
- [u"∩"]=>
- unicode(5) "∩"
- [u"∪"]=>
- unicode(5) "∪"
- [u"∫"]=>
- unicode(5) "∫"
- [u"∮"]=>
- unicode(8) "∮"
- [u"∴"]=>
- unicode(8) "∴"
- [u"∵"]=>
- unicode(8) "∵"
- [u"∼"]=>
- unicode(5) "∼"
- [u"∽"]=>
- unicode(6) "∽"
- [u"≀"]=>
- unicode(8) "≀"
- [u"≁"]=>
- unicode(6) "≁"
- [u"≃"]=>
- unicode(6) "≃"
- [u"≄"]=>
- unicode(7) "≄"
- [u"≅"]=>
- unicode(6) "≅"
- [u"≇"]=>
- unicode(7) "≇"
- [u"≈"]=>
- unicode(7) "≈"
- [u"≉"]=>
- unicode(5) "≉"
- [u"≊"]=>
- unicode(5) "≊"
- [u"≌"]=>
- unicode(7) "≌"
- [u"≍"]=>
- unicode(7) "≈"
- [u"≎"]=>
- unicode(6) "≎"
- [u"≏"]=>
- unicode(7) "≏"
- [u"≠"]=>
- unicode(4) "≠"
- [u"≡"]=>
- unicode(7) "≡"
- [u"≤"]=>
- unicode(4) "≤"
- [u"≥"]=>
- unicode(4) "≥"
- [u"≦"]=>
- unicode(4) "≦"
- [u"≧"]=>
- unicode(4) "≧"
- [u"≨"]=>
- unicode(5) "≨"
- [u"≩"]=>
- unicode(5) "≩"
- [u"≪"]=>
- unicode(4) "≪"
- [u"≫"]=>
- unicode(4) "≫"
- [u"≬"]=>
- unicode(7) "≬"
- [u"≮"]=>
- unicode(5) "≮"
- [u"≯"]=>
- unicode(5) "≯"
- [u"≰"]=>
- unicode(6) "⩽̸"
- [u"≱"]=>
- unicode(6) "⩾̸"
- [u"≲"]=>
- unicode(6) "≲"
- [u"≳"]=>
- unicode(6) "≳"
- [u"≶"]=>
- unicode(4) "≶"
- [u"≷"]=>
- unicode(4) "≷"
- [u"≺"]=>
- unicode(4) "≺"
- [u"≻"]=>
- unicode(4) "≻"
- [u"≼"]=>
- unicode(7) "&cupre;"
- [u"≽"]=>
- unicode(7) "&sscue;"
- [u"≾"]=>
- unicode(7) "≾"
- [u"≿"]=>
- unicode(7) "≿"
- [u"⊀"]=>
- unicode(5) "⊀"
- [u"⊁"]=>
- unicode(5) "⊁"
- [u"⊂"]=>
- unicode(5) "⊂"
- [u"⊃"]=>
- unicode(5) "⊃"
- [u"⊄"]=>
- unicode(6) "⊄"
- [u"⊅"]=>
- unicode(6) "⊅"
- [u"⊆"]=>
- unicode(6) "⊆"
- [u"⊇"]=>
- unicode(6) "⊇"
- [u"⊕"]=>
- unicode(7) "⊕"
- [u"⊗"]=>
- unicode(8) "⊗"
- [u"⊥"]=>
- unicode(6) "⊥"
- [u"⋅"]=>
- unicode(6) "⋅"
- [u"⌈"]=>
- unicode(7) "⌈"
- [u"⌉"]=>
- unicode(7) "⌉"
- [u"⌊"]=>
- unicode(8) "⌊"
- [u"⌋"]=>
- unicode(8) "⌋"
- [u"〈"]=>
- unicode(6) "⟨"
- [u"〉"]=>
- unicode(6) "⟩"
- [u"◊"]=>
- unicode(5) "◊"
- [u"♠"]=>
- unicode(8) "♠"
- [u"♣"]=>
- unicode(7) "♣"
- [u"♥"]=>
- unicode(8) "♥"
- [u"♦"]=>
- unicode(7) "♦"
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-array(311) {
- [u" "]=>
- unicode(6) " "
- [u"¡"]=>
- unicode(7) "¡"
- [u"¢"]=>
- unicode(6) "¢"
- [u"£"]=>
- unicode(7) "£"
- [u"¤"]=>
- unicode(8) "¤"
- [u"¥"]=>
- unicode(5) "¥"
- [u"¦"]=>
- unicode(8) "¦"
- [u"§"]=>
- unicode(6) "§"
- [u"¨"]=>
- unicode(5) "¨"
- [u"©"]=>
- unicode(6) "©"
- [u"ª"]=>
- unicode(6) "ª"
- [u"«"]=>
- unicode(7) "«"
- [u"¬"]=>
- unicode(5) "¬"
- [u""]=>
- unicode(5) "­"
- [u"®"]=>
- unicode(5) "®"
- [u"¯"]=>
- unicode(6) "¯"
- [u"°"]=>
- unicode(5) "°"
- [u"±"]=>
- unicode(8) "±"
- [u"²"]=>
- unicode(6) "²"
- [u"³"]=>
- unicode(6) "³"
- [u"´"]=>
- unicode(7) "´"
- [u"µ"]=>
- unicode(7) "µ"
- [u"¶"]=>
- unicode(6) "¶"
- [u"·"]=>
- unicode(8) "·"
- [u"¸"]=>
- unicode(7) "¸"
- [u"¹"]=>
- unicode(6) "¹"
- [u"º"]=>
- unicode(6) "º"
- [u"»"]=>
- unicode(7) "»"
- [u"¼"]=>
- unicode(8) "¼"
- [u"½"]=>
- unicode(8) "½"
- [u"¾"]=>
- unicode(8) "¾"
- [u"¿"]=>
- unicode(8) "¿"
- [u"À"]=>
- unicode(8) "À"
- [u"Á"]=>
- unicode(8) "Á"
- [u"Â"]=>
- unicode(7) "Â"
- [u"Ã"]=>
- unicode(8) "Ã"
- [u"Ä"]=>
- unicode(6) "Ä"
- [u"Å"]=>
- unicode(7) "Å"
- [u"Æ"]=>
- unicode(7) "Æ"
- [u"Ç"]=>
- unicode(8) "Ç"
- [u"È"]=>
- unicode(8) "È"
- [u"É"]=>
- unicode(8) "É"
- [u"Ê"]=>
- unicode(7) "Ê"
- [u"Ë"]=>
- unicode(6) "Ë"
- [u"Ì"]=>
- unicode(8) "Ì"
- [u"Í"]=>
- unicode(8) "Í"
- [u"Î"]=>
- unicode(7) "Î"
- [u"Ï"]=>
- unicode(6) "Ï"
- [u"Ð"]=>
- unicode(5) "Ð"
- [u"Ñ"]=>
- unicode(8) "Ñ"
- [u"Ò"]=>
- unicode(8) "Ò"
- [u"Ó"]=>
- unicode(8) "Ó"
- [u"Ô"]=>
- unicode(7) "Ô"
- [u"Õ"]=>
- unicode(8) "Õ"
- [u"Ö"]=>
- unicode(6) "Ö"
- [u"×"]=>
- unicode(7) "×"
- [u"Ø"]=>
- unicode(8) "Ø"
- [u"Ù"]=>
- unicode(8) "Ù"
- [u"Ú"]=>
- unicode(8) "Ú"
- [u"Û"]=>
- unicode(7) "Û"
- [u"Ü"]=>
- unicode(6) "Ü"
- [u"Ý"]=>
- unicode(8) "Ý"
- [u"Þ"]=>
- unicode(7) "Þ"
- [u"ß"]=>
- unicode(7) "ß"
- [u"à"]=>
- unicode(8) "à"
- [u"á"]=>
- unicode(8) "á"
- [u"â"]=>
- unicode(7) "â"
- [u"ã"]=>
- unicode(8) "ã"
- [u"ä"]=>
- unicode(6) "ä"
- [u"å"]=>
- unicode(7) "å"
- [u"æ"]=>
- unicode(7) "æ"
- [u"ç"]=>
- unicode(8) "ç"
- [u"è"]=>
- unicode(8) "è"
- [u"é"]=>
- unicode(8) "é"
- [u"ê"]=>
- unicode(7) "ê"
- [u"ë"]=>
- unicode(6) "ë"
- [u"ì"]=>
- unicode(8) "ì"
- [u"í"]=>
- unicode(8) "í"
- [u"î"]=>
- unicode(7) "î"
- [u"ï"]=>
- unicode(6) "ï"
- [u"ð"]=>
- unicode(5) "ð"
- [u"ñ"]=>
- unicode(8) "ñ"
- [u"ò"]=>
- unicode(8) "ò"
- [u"ó"]=>
- unicode(8) "ó"
- [u"ô"]=>
- unicode(7) "ô"
- [u"õ"]=>
- unicode(8) "õ"
- [u"ö"]=>
- unicode(6) "ö"
- [u"÷"]=>
- unicode(8) "÷"
- [u"ø"]=>
- unicode(8) "ø"
- [u"ù"]=>
- unicode(8) "ù"
- [u"ú"]=>
- unicode(8) "ú"
- [u"û"]=>
- unicode(7) "û"
- [u"ü"]=>
- unicode(6) "ü"
- [u"ý"]=>
- unicode(8) "ý"
- [u"þ"]=>
- unicode(7) "þ"
- [u"ÿ"]=>
- unicode(6) "ÿ"
- [u"Œ"]=>
- unicode(7) "Œ"
- [u"œ"]=>
- unicode(7) "œ"
- [u"Š"]=>
- unicode(8) "Š"
- [u"š"]=>
- unicode(8) "š"
- [u"Ÿ"]=>
- unicode(6) "Ÿ"
- [u"ƒ"]=>
- unicode(6) "ƒ"
- [u"ˆ"]=>
- unicode(6) "ˆ"
- [u"˜"]=>
- unicode(7) "˜"
- [u"Α"]=>
- unicode(7) "Α"
- [u"Β"]=>
- unicode(6) "Β"
- [u"Γ"]=>
- unicode(7) "Γ"
- [u"Δ"]=>
- unicode(7) "Δ"
- [u"Ε"]=>
- unicode(9) "Ε"
- [u"Ζ"]=>
- unicode(6) "Ζ"
- [u"Η"]=>
- unicode(5) "Η"
- [u"Θ"]=>
- unicode(7) "Θ"
- [u"Ι"]=>
- unicode(6) "Ι"
- [u"Κ"]=>
- unicode(7) "Κ"
- [u"Λ"]=>
- unicode(8) "Λ"
- [u"Μ"]=>
- unicode(4) "Μ"
- [u"Ν"]=>
- unicode(4) "Ν"
- [u"Ξ"]=>
- unicode(4) "Ξ"
- [u"Ο"]=>
- unicode(9) "Ο"
- [u"Π"]=>
- unicode(4) "Π"
- [u"Ρ"]=>
- unicode(5) "Ρ"
- [u"Σ"]=>
- unicode(7) "Σ"
- [u"Τ"]=>
- unicode(5) "Τ"
- [u"Υ"]=>
- unicode(9) "Υ"
- [u"Φ"]=>
- unicode(5) "Φ"
- [u"Χ"]=>
- unicode(5) "Χ"
- [u"Ψ"]=>
- unicode(5) "Ψ"
- [u"Ω"]=>
- unicode(7) "Ω"
- [u"α"]=>
- unicode(7) "α"
- [u"β"]=>
- unicode(6) "β"
- [u"γ"]=>
- unicode(7) "γ"
- [u"δ"]=>
- unicode(7) "δ"
- [u"ε"]=>
- unicode(9) "ε"
- [u"ζ"]=>
- unicode(6) "ζ"
- [u"η"]=>
- unicode(5) "η"
- [u"θ"]=>
- unicode(7) "θ"
- [u"ι"]=>
- unicode(6) "ι"
- [u"κ"]=>
- unicode(7) "κ"
- [u"λ"]=>
- unicode(8) "λ"
- [u"μ"]=>
- unicode(4) "μ"
- [u"ν"]=>
- unicode(4) "ν"
- [u"ξ"]=>
- unicode(4) "ξ"
- [u"ο"]=>
- unicode(9) "ο"
- [u"π"]=>
- unicode(4) "π"
- [u"ρ"]=>
- unicode(5) "ρ"
- [u"ς"]=>
- unicode(8) "ς"
- [u"σ"]=>
- unicode(7) "σ"
- [u"τ"]=>
- unicode(5) "τ"
- [u"υ"]=>
- unicode(9) "υ"
- [u"φ"]=>
- unicode(5) "φ"
- [u"χ"]=>
- unicode(5) "χ"
- [u"ψ"]=>
- unicode(5) "ψ"
- [u"ω"]=>
- unicode(7) "ω"
- [u"ϑ"]=>
- unicode(10) "ϑ"
- [u"ϒ"]=>
- unicode(7) "ϒ"
- [u"ϖ"]=>
- unicode(5) "ϖ"
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(6) " "
- [u" "]=>
- unicode(8) " "
- [u""]=>
- unicode(6) "‌"
- [u""]=>
- unicode(5) "‍"
- [u""]=>
- unicode(5) "‎"
- [u""]=>
- unicode(5) "‏"
- [u"–"]=>
- unicode(7) "–"
- [u"—"]=>
- unicode(7) "—"
- [u"‘"]=>
- unicode(7) "‘"
- [u"’"]=>
- unicode(7) "’"
- [u"‚"]=>
- unicode(7) "‚"
- [u"“"]=>
- unicode(7) "“"
- [u"”"]=>
- unicode(7) "”"
- [u"„"]=>
- unicode(7) "„"
- [u"†"]=>
- unicode(8) "†"
- [u"‡"]=>
- unicode(8) "‡"
- [u"•"]=>
- unicode(6) "•"
- [u"…"]=>
- unicode(8) "…"
- [u"‰"]=>
- unicode(8) "‰"
- [u"′"]=>
- unicode(7) "′"
- [u"″"]=>
- unicode(7) "″"
- [u"‹"]=>
- unicode(8) "‹"
- [u"›"]=>
- unicode(8) "›"
- [u"‾"]=>
- unicode(7) "‾"
- [u"⁄"]=>
- unicode(7) "⁄"
- [u"€"]=>
- unicode(6) "€"
- [u"ℑ"]=>
- unicode(7) "ℑ"
- [u"℘"]=>
- unicode(8) "℘"
- [u"ℜ"]=>
- unicode(6) "ℜ"
- [u"™"]=>
- unicode(7) "™"
- [u"ℵ"]=>
- unicode(9) "ℵ"
- [u"←"]=>
- unicode(6) "←"
- [u"↑"]=>
- unicode(6) "↑"
- [u"→"]=>
- unicode(6) "→"
- [u"↓"]=>
- unicode(6) "↓"
- [u"↔"]=>
- unicode(6) "↔"
- [u"↵"]=>
- unicode(7) "↵"
- [u"⇐"]=>
- unicode(6) "⇐"
- [u"⇑"]=>
- unicode(6) "⇑"
- [u"⇒"]=>
- unicode(6) "⇒"
- [u"⇓"]=>
- unicode(6) "⇓"
- [u"⇔"]=>
- unicode(6) "⇔"
- [u"⇕"]=>
- unicode(6) "⇕"
- [u"⇚"]=>
- unicode(7) "⇚"
- [u"⇛"]=>
- unicode(7) "⇛"
- [u"⇝"]=>
- unicode(7) "↝"
- [u"∀"]=>
- unicode(8) "∀"
- [u"∁"]=>
- unicode(6) "∁"
- [u"∂"]=>
- unicode(6) "∂"
- [u"∃"]=>
- unicode(7) "∃"
- [u"∄"]=>
- unicode(8) "∄"
- [u"∅"]=>
- unicode(7) "∅"
- [u"∇"]=>
- unicode(7) "∇"
- [u"∈"]=>
- unicode(6) "∈"
- [u"∉"]=>
- unicode(7) "∉"
- [u"∊"]=>
- unicode(7) "&epsis;"
- [u"∋"]=>
- unicode(4) "∋"
- [u"∌"]=>
- unicode(7) "∌"
- [u"∍"]=>
- unicode(7) "϶"
- [u"∏"]=>
- unicode(6) "∏"
- [u"∐"]=>
- unicode(8) "∐"
- [u"∑"]=>
- unicode(5) "∑"
- [u"−"]=>
- unicode(7) "−"
- [u"∓"]=>
- unicode(8) "∓"
- [u"∔"]=>
- unicode(8) "∔"
- [u"∖"]=>
- unicode(7) "∖"
- [u"∗"]=>
- unicode(8) "∗"
- [u"∘"]=>
- unicode(8) "∘"
- [u"√"]=>
- unicode(7) "√"
- [u"∝"]=>
- unicode(6) "∝"
- [u"∞"]=>
- unicode(7) "∞"
- [u"∟"]=>
- unicode(7) "&ang90;"
- [u"∠"]=>
- unicode(5) "∠"
- [u"∡"]=>
- unicode(8) "∡"
- [u"∢"]=>
- unicode(8) "∢"
- [u"∣"]=>
- unicode(5) "∣"
- [u"∤"]=>
- unicode(6) "∤"
- [u"∥"]=>
- unicode(5) "∥"
- [u"∦"]=>
- unicode(6) "∦"
- [u"∧"]=>
- unicode(5) "∧"
- [u"∨"]=>
- unicode(4) "∨"
- [u"∩"]=>
- unicode(5) "∩"
- [u"∪"]=>
- unicode(5) "∪"
- [u"∫"]=>
- unicode(5) "∫"
- [u"∮"]=>
- unicode(8) "∮"
- [u"∴"]=>
- unicode(8) "∴"
- [u"∵"]=>
- unicode(8) "∵"
- [u"∼"]=>
- unicode(5) "∼"
- [u"∽"]=>
- unicode(6) "∽"
- [u"≀"]=>
- unicode(8) "≀"
- [u"≁"]=>
- unicode(6) "≁"
- [u"≃"]=>
- unicode(6) "≃"
- [u"≄"]=>
- unicode(7) "≄"
- [u"≅"]=>
- unicode(6) "≅"
- [u"≇"]=>
- unicode(7) "≇"
- [u"≈"]=>
- unicode(7) "≈"
- [u"≉"]=>
- unicode(5) "≉"
- [u"≊"]=>
- unicode(5) "≊"
- [u"≌"]=>
- unicode(7) "≌"
- [u"≍"]=>
- unicode(7) "≈"
- [u"≎"]=>
- unicode(6) "≎"
- [u"≏"]=>
- unicode(7) "≏"
- [u"≠"]=>
- unicode(4) "≠"
- [u"≡"]=>
- unicode(7) "≡"
- [u"≤"]=>
- unicode(4) "≤"
- [u"≥"]=>
- unicode(4) "≥"
- [u"≦"]=>
- unicode(4) "≦"
- [u"≧"]=>
- unicode(4) "≧"
- [u"≨"]=>
- unicode(5) "≨"
- [u"≩"]=>
- unicode(5) "≩"
- [u"≪"]=>
- unicode(4) "≪"
- [u"≫"]=>
- unicode(4) "≫"
- [u"≬"]=>
- unicode(7) "≬"
- [u"≮"]=>
- unicode(5) "≮"
- [u"≯"]=>
- unicode(5) "≯"
- [u"≰"]=>
- unicode(6) "⩽̸"
- [u"≱"]=>
- unicode(6) "⩾̸"
- [u"≲"]=>
- unicode(6) "≲"
- [u"≳"]=>
- unicode(6) "≳"
- [u"≶"]=>
- unicode(4) "≶"
- [u"≷"]=>
- unicode(4) "≷"
- [u"≺"]=>
- unicode(4) "≺"
- [u"≻"]=>
- unicode(4) "≻"
- [u"≼"]=>
- unicode(7) "&cupre;"
- [u"≽"]=>
- unicode(7) "&sscue;"
- [u"≾"]=>
- unicode(7) "≾"
- [u"≿"]=>
- unicode(7) "≿"
- [u"⊀"]=>
- unicode(5) "⊀"
- [u"⊁"]=>
- unicode(5) "⊁"
- [u"⊂"]=>
- unicode(5) "⊂"
- [u"⊃"]=>
- unicode(5) "⊃"
- [u"⊄"]=>
- unicode(6) "⊄"
- [u"⊅"]=>
- unicode(6) "⊅"
- [u"⊆"]=>
- unicode(6) "⊆"
- [u"⊇"]=>
- unicode(6) "⊇"
- [u"⊕"]=>
- unicode(7) "⊕"
- [u"⊗"]=>
- unicode(8) "⊗"
- [u"⊥"]=>
- unicode(6) "⊥"
- [u"⋅"]=>
- unicode(6) "⋅"
- [u"⌈"]=>
- unicode(7) "⌈"
- [u"⌉"]=>
- unicode(7) "⌉"
- [u"⌊"]=>
- unicode(8) "⌊"
- [u"⌋"]=>
- unicode(8) "⌋"
- [u"〈"]=>
- unicode(6) "⟨"
- [u"〉"]=>
- unicode(6) "⟩"
- [u"◊"]=>
- unicode(5) "◊"
- [u"♠"]=>
- unicode(8) "♠"
- [u"♣"]=>
- unicode(7) "♣"
- [u"♥"]=>
- unicode(8) "♥"
- [u"♦"]=>
- unicode(7) "♦"
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 7 --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 8 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 13 --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 14 --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 15 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
-NULL
--- Iteration 16 --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 17 --
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-array(4) {
- [u"""]=>
- unicode(6) """
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-Done
+++ /dev/null
---TEST--
-Test get_html_translation_table() function : usage variations - unexpected quote_style values
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) != "WIN"){
- die('skip only for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "English_United States.1252") ) {
- die('skip failed to set locale settings to "English_United States.1252"');
-}
-
-?>
---FILE--
-<?php
-/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/*
- * test get_html_translation_table() with unexpteced value for argument $quote_style
-*/
-
-//set locale
-setlocale(LC_ALL, "English_United States.1252");
-
-echo "*** Testing get_html_translation_table() : usage variations ***\n";
-// initialize all required variables
-$table = HTML_SPECIALCHARS;
-
-// get an unset variable
-$unset_var = 10;
-unset($unset_var);
-
-// a resource var
-$fp = fopen(__FILE__, "r");
-
-// array with different values
-$values = array (
-
- // array values
- array(),
- array(0),
- array(1),
- array(1, 2),
- array('color' => 'red', 'item' => 'pen'),
-
- // boolean values
- true,
- FALSE,
-
- // string values
- "string",
- 'string',
-
- // objects
- new stdclass(),
-
- // empty string
- "",
- '',
-
- // null vlaues
- NULL,
- null,
-
- // resource var
- $fp,
-
- // undefined variable
- @$undefined_var,
-
- // unset variable
- @$unset_var
-);
-
-
-// loop through each element of the array and check the working of get_html_translation_table()
-// when $quote_style arugment is supplied with different values
-echo "\n--- Testing get_html_translation_table() by supplying different values for 'quote_style' argument ---\n";
-$counter = 1;
-for($index = 0; $index < count($values); $index ++) {
- echo "-- Iteration $counter --\n";
- $quote_style = $values [$index];
-
- var_dump( get_html_translation_table($table, $quote_style) );
-
- $counter ++;
-}
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : usage variations ***
-
---- Testing get_html_translation_table() by supplying different values for 'quote_style' argument ---
--- Iteration 1 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-array(4) {
- ["'"]=>
- string(5) "'"
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 7 --
-array(3) {
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 8 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, object given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 13 --
-array(3) {
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 14 --
-array(3) {
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 15 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, resource given in %s on line %d
-NULL
--- Iteration 16 --
-array(3) {
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 17 --
-array(3) {
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : usage variations ***
-
---- Testing get_html_translation_table() by supplying different values for 'quote_style' argument ---
--- Iteration 1 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-array(4) {
- [u"'"]=>
- unicode(5) "'"
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 7 --
-array(3) {
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 8 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, object given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 13 --
-array(3) {
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 14 --
-array(3) {
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 15 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, resource given in %s on line %d
-NULL
--- Iteration 16 --
-array(3) {
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 17 --
-array(3) {
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-Done
+++ /dev/null
---TEST--
-Test get_html_translation_table() function : usage variations - unexpected quote_style values
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) == "WIN"){
- die('skip Not for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "en_US.UTF-8") ) {
- die('skip failed to set locale settings to "en-US.UTF-8"');
-}
-?>
---FILE--
-<?php
-/* Prototype : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/*
- * test get_html_translation_table() with unexpteced value for argument $quote_style
-*/
-
-//set locale to en_US.UTF-8
-setlocale(LC_ALL, "en_US.UTF-8");
-
-echo "*** Testing get_html_translation_table() : usage variations ***\n";
-// initialize all required variables
-$table = HTML_SPECIALCHARS;
-
-// get an unset variable
-$unset_var = 10;
-unset($unset_var);
-
-// a resource var
-$fp = fopen(__FILE__, "r");
-
-// array with different values
-$values = array (
-
- // array values
- array(),
- array(0),
- array(1),
- array(1, 2),
- array('color' => 'red', 'item' => 'pen'),
-
- // boolean values
- true,
- FALSE,
-
- // string values
- "string",
- 'string',
-
- // objects
- new stdclass(),
-
- // empty string
- "",
- '',
-
- // null vlaues
- NULL,
- null,
-
- // resource var
- $fp,
-
- // undefined variable
- @$undefined_var,
-
- // unset variable
- @$unset_var
-);
-
-
-// loop through each element of the array and check the working of get_html_translation_table()
-// when $quote_style arugment is supplied with different values
-echo "\n--- Testing get_html_translation_table() by supplying different values for 'quote_style' argument ---\n";
-$counter = 1;
-for($index = 0; $index < count($values); $index ++) {
- echo "-- Iteration $counter --\n";
- $quote_style = $values [$index];
-
- var_dump( get_html_translation_table($table, $quote_style) );
-
- $counter ++;
-}
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : usage variations ***
-
---- Testing get_html_translation_table() by supplying different values for 'quote_style' argument ---
--- Iteration 1 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-array(4) {
- ["'"]=>
- string(5) "'"
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 7 --
-array(3) {
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 8 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, object given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 13 --
-array(3) {
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 14 --
-array(3) {
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 15 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, resource given in %s on line %d
-NULL
--- Iteration 16 --
-array(3) {
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
--- Iteration 17 --
-array(3) {
- ["<"]=>
- string(4) "<"
- [">"]=>
- string(4) ">"
- ["&"]=>
- string(5) "&"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : usage variations ***
-
---- Testing get_html_translation_table() by supplying different values for 'quote_style' argument ---
--- Iteration 1 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-array(4) {
- [u"'"]=>
- unicode(5) "'"
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 7 --
-array(3) {
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 8 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, object given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 13 --
-array(3) {
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 14 --
-array(3) {
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 15 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, resource given in %s on line %d
-NULL
--- Iteration 16 --
-array(3) {
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
--- Iteration 17 --
-array(3) {
- [u"<"]=>
- unicode(4) "<"
- [u">"]=>
- unicode(4) ">"
- [u"&"]=>
- unicode(5) "&"
-}
-Done
echo "Done\n";
?>
---EXPECTF--
-array(4) {
- ["author"]=>
- string(4) "name"
- ["keywords"]=>
- string(17) "php documentation"
- ["description"]=>
- string(12) "a php manual"
- ["geo_position"]=>
- string(12) "49.33;-86.59"
-}
-array(4) {
- ["author"]=>
- string(4) "name"
- ["keywords"]=>
- string(17) "php documentation"
- ["description"]=>
- string(12) "a php manual"
- ["geo_position"]=>
- string(12) "49.33;-86.59"
-}
-array(1) {
- ["keywords"]=>
- string(17) "php documentation"
-}
-array(1) {
- ["keywords"]=>
- string(17) "php documentation"
-}
-array(0) {
-}
-array(0) {
-}
-array(0) {
-}
-array(0) {
-}
-Done
---UEXPECTF--
+--EXPECT--
array(4) {
["author"]=>
unicode(4) "name"
@unlink($filename);
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
Warning: highlight_file() expects at least 1 parameter, 0 given in %s on line %d
bool(false)
string(0) ""
string(0) ""
string(8) "2667743b"
-string(8) "2667743b"
\ No newline at end of file
+string(8) "2667743b"
echo html_entity_decode($sc_encoded);
echo html_entity_decode($ent_encoded);
?>
---EXPECT--
-<>"&åÄ
-<>"&åÄ
-<>"&åÄ
-<>"&åÄ
---UEXPECTF--
+--EXPECTF--
Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
<>"&åÄ
<>"&åÄ
setlocale(LC_CTYPE, "fr_FR.ISO-8859-15", "fr_FR.ISO8859-15", 'fr_FR@euro');
var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
?>
---EXPECT--
-string(20) "ŒœŸ"
---UEXPECTF--
+--EXPECTF--
Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
unicode(24) "¼½¾"
setlocale( LC_CTYPE, "de_DE.ISO-8859-1", "de_DE.ISO8859-1");
var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
?>
---EXPECT--
-string(18) "äöü"
---UEXPECTF--
+--EXPECTF--
Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
unicode(18) "äöü"
setlocale( LC_CTYPE, "ja_JP.EUC-JP", "ja_JP.eucJP" );
var_dump(htmlentities("\xa1\xa2\xa1\xa3\xa1\xa4", ENT_QUOTES, ''));
?>
---EXPECT--
-string(6) "¡¢¡£¡¤"
---UEXPECTF--
+--EXPECTF--
Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
unicode(42) "¡¢¡£¡¤"
?>
--EXPECT--
cp1252
-string(28) "‚†™Ÿ"
-string(32) "€¢£¤¥"
---UEXPECTF--
-cp1252
unicode(4) "\82\86\99\9f"
unicode(27) "\80¢£¤¥"
$str = "ÒÏÓËÏÛÎÙÊ";
var_dump($str, htmlentities($str, ENT_QUOTES, ''));
?>
---EXPECT--
-string(9) "ÒÏÓËÏÛÎÙÊ"
-string(63) "роскошный"
---UEXPECTF--
+--EXPECTF--
Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
unicode(9) "ÒÏÓËÏÛÎÙÊ"
unicode(9) "ÒÏÓËÏÛÎÙÊ"
echo "Done";
?>
---EXPECTF--
-*** Testing htmlspecialchars_decode() : basic functionality ***
-string(92) "Roy's height > Sam's height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
-string(92) "Roy's height > Sam's height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
-string(92) "Roy's height > Sam's height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
-string(92) "Roy's height > Sam's height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
-string(102) "Roy's height > Sam's height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
-string(102) "Roy's height > Sam's height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
-string(82) "Roy's height > Sam's height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
-string(82) "Roy's height > Sam's height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
-Done
---UEXPECTF--
+--EXPECT--
*** Testing htmlspecialchars_decode() : basic functionality ***
unicode(92) "Roy's height > Sam's height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
unicode(92) "Roy's height > Sam's height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
--EXPECTF--
*** Testing htmlspecialchars_decode() : usage variations ***
-- Iterator 1 --
-string(1) "0"
--- Iterator 2 --
-string(1) "1"
--- Iterator 3 --
-string(5) "12345"
--- Iterator 4 --
-string(5) "-2345"
--- Iterator 5 --
-string(4) "10.5"
--- Iterator 6 --
-string(5) "-10.5"
--- Iterator 7 --
-string(12) "105000000000"
--- Iterator 8 --
-string(7) "1.06E-9"
--- Iterator 9 --
-string(3) "0.5"
--- Iterator 10 --
-
-Warning: htmlspecialchars_decode() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iterator 11 --
-
-Warning: htmlspecialchars_decode() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iterator 12 --
-
-Warning: htmlspecialchars_decode() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iterator 13 --
-
-Warning: htmlspecialchars_decode() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iterator 14 --
-
-Warning: htmlspecialchars_decode() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iterator 15 --
-string(0) ""
--- Iterator 16 --
-string(0) ""
--- Iterator 17 --
-string(1) "1"
--- Iterator 18 --
-string(0) ""
--- Iterator 19 --
-string(1) "1"
--- Iterator 20 --
-string(0) ""
--- Iterator 21 --
-string(0) ""
--- Iterator 22 --
-string(0) ""
--- Iterator 23 --
-string(12) "ClassAObject"
--- Iterator 24 --
-string(0) ""
--- Iterator 25 --
-string(0) ""
--- Iterator 26 --
-
-Warning: htmlspecialchars_decode() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing htmlspecialchars_decode() : usage variations ***
--- Iterator 1 --
unicode(1) "0"
-- Iterator 2 --
unicode(1) "1"
--EXPECTF--
*** Testing htmlspecialchars_decode() : usage variations ***
--- Iteration 1 --
-string(104) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
-
--- Iteration 2 --
-string(104) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
-
--- Iteration 3 --
-string(94) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
-
--- Iteration 4 --
-string(114) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
-
--- Iteration 5 --
-string(114) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
-
--- Iteration 6 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 7 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 8 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 9 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 10 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 11 --
-string(114) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
-
--- Iteration 12 --
-string(114) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
-
--- Iteration 13 --
-string(104) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
-
--- Iteration 14 --
-string(114) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
-
--- Iteration 15 --
-string(104) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
-
--- Iteration 16 --
-string(114) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
-
--- Iteration 17 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, string given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 18 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, string given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 19 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, string given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 20 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, string given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 21 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, object given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 22 --
-string(114) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
-
--- Iteration 23 --
-string(114) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
-
--- Iteration 24 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, resource given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing htmlspecialchars_decode() : usage variations ***
-
-- Iteration 1 --
unicode(104) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
echo "Done\n";
?>
---EXPECTF--
-*** Testing htmlspecialchars_decode() : usage variations ***
--- Iteration 1 --
-string(0) ""
--- Iteration 2 --
-string(0) ""
--- Iteration 3 --
-string(103) "<html>Roy's height > Sam's height
-13 < 25
-1111 & 0000 = 0000
-"This is a double quoted string""
--- Iteration 4 --
-string(130) "<html>Roy's height
- > Sam 's height
-1111 & 0000\v\v = \f0000
-" heredoc
-double quoted string. with\vdifferent\fwhite\vspaces""
--- Iteration 5 --
-string(62) "<html>11 < 12. 123 string 4567
-"string" 1111 & 0000 = 0000
-;"
--- Iteration 6 --
-string(153) "<html>< This's a string with quotes:
-"strings in double quote" &
-'strings in single quote' "
-this\line is 'single quoted' /with\slashes </html>"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing htmlspecialchars_decode() : usage variations ***
-- Iteration 1 --
unicode(0) ""
echo "Done";
?>
---EXPECTF--
-*** Testing htmlspecialchars_decode() : usage variations ***
--- Iteration 1 --
-string(90) "Roy's height > Sam's \$height... 1111 ≈ 0000 = 0000... " double quote string ""
-string(90) "Roy's height > Sam's \$height... 1111 ≈ 0000 = 0000... " double quote string ""
-string(100) "Roy's height > Sam's \$height... 1111 ≈ 0000 = 0000... " double quote string ""
-string(85) "Roy's height > Sam's \$height... 1111 ≈ 0000 = 0000... " double quote string ""
--- Iteration 2 --
-string(88) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string ""
-string(88) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string ""
-string(98) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string ""
-string(78) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string ""
--- Iteration 3 --
-string(48) "\nRoy's height >\t; Sam's\v height\f"
-string(48) "\nRoy's height >\t; Sam's\v height\f"
-string(48) "\nRoy's height >\t; Sam's\v height\f"
-string(38) "\nRoy's height >\t; Sam's\v height\f"
--- Iteration 4 --
-string(48) "\r\tRoy's height >\r; Sam\t's height"
-string(48) "\r\tRoy's height >\r; Sam\t's height"
-string(48) "\r\tRoy's height >\r; Sam\t's height"
-string(38) "\r\tRoy's height >\r; Sam\t's height"
--- Iteration 5 --
-string(34) "\n 1\t3 &\tgt; 11 but 11 &\tlt; 12"
-string(34) "\n 1\t3 &\tgt; 11 but 11 &\tlt; 12"
-string(34) "\n 1\t3 &\tgt; 11 but 11 &\tlt; 12"
-string(34) "\n 1\t3 &\tgt; 11 but 11 &\tlt; 12"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing htmlspecialchars_decode() : usage variations ***
-- Iteration 1 --
unicode(90) "Roy's height > Sam's \$height... 1111 ≈ 0000 = 0000... " double quote string ""
echo "Done";
?>
---EXPECTF--
-*** Testing htmlspecialchars_decode() : usage variations ***
--- Iteration 1 --
-string(89) "Roy's height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string ""
-string(89) "Roy's height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string ""
-string(99) "Roy's height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string ""
-string(84) "Roy's height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string ""
--- Iteration 2 --
-string(82) "Roy's height > Sam's height... 13 < 15...
-
- " double quote\f\v string ""
-string(82) "Roy's height > Sam's height... 13 < 15...
-
- " double quote\f\v string ""
-string(92) "Roy's height > Sam's height... 13 < 15...
-
- " double quote\f\v string ""
-string(72) "Roy's height > Sam's height... 13 < 15...
-
- " double quote\f\v string ""
--- Iteration 3 --
-string(44) "
-Roy's height > ; Sam's\v height\f"
-string(44) "
-Roy's height > ; Sam's\v height\f"
-string(44) "
-Roy's height > ; Sam's\v height\f"
-string(34) "
-Roy's height > ; Sam's\v height\f"
--- Iteration 4 --
-string(44) "
- Roy's height >
-; Sam 's height"
-string(44) "
- Roy's height >
-; Sam 's height"
-string(44) "
- Roy's height >
-; Sam 's height"
-string(34) "
- Roy's height >
-; Sam 's height"
--- Iteration 5 --
-string(30) "
- 1 3 & gt; 11 but 11 & lt; 12"
-string(30) "
- 1 3 & gt; 11 but 11 & lt; 12"
-string(30) "
- 1 3 & gt; 11 but 11 & lt; 12"
-string(30) "
- 1 3 & gt; 11 but 11 & lt; 12"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing htmlspecialchars_decode() : usage variations ***
-- Iteration 1 --
unicode(89) "Roy's height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string ""
1 3 & gt; 11 but 11 & lt; 12"
unicode(30) "
1 3 & gt; 11 but 11 & lt; 12"
-Done
\ No newline at end of file
+Done
?>
--EXPECT--
-string(35) "foo=bar&baz=1&test=a+%27+%22+&0=abc"
-string(38) "foo=bar&baz=1&test=a+%27+%22+&foo0=abc"
-string(38) "foo=bar;baz=1;test=a+%27+%22+;foo0=abc"
---UEXPECT--
unicode(35) "foo=bar&baz=1&test=a+%27+%22+&0=abc"
unicode(38) "foo=bar&baz=1&test=a+%27+%22+&foo0=abc"
unicode(38) "foo=bar;baz=1;test=a+%27+%22+;foo0=abc"
echo implode(':', array('foo', array('bar', 'baz'), 'burp'))."\n";
echo $php_errormsg."\n";
?>
---EXPECTF--
+--EXPECT--
foobarbaz
echo "Done\n";
?>
---EXPECTF--
-*** Testing join() : basic functionality ***
-string(7) "1,2,3,4"
-string(30) "Red, Green, Blue, Black, White"
-string(8) "10:20:40"
-string(21) "Friday/September/2007"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing join() : basic functionality ***
unicode(7) "1,2,3,4"
unicode(30) "Red, Green, Blue, Black, White"
Warning: join(): Argument must be an array in %s on line %d
NULL
Done
---UEXPECTF--
-*** Testing join() : error conditions ***
-
--- Testing join() function with Zero arguments --
-
-Warning: Wrong parameter count for join() in %s on line %d
-NULL
-
--- Testing join() function with more than expected no. of arguments --
-
-Warning: Wrong parameter count for join() in %s on line %d
-NULL
-
--- Testing join() with less than expected no. of arguments --
-
-Warning: join(): Argument must be an array in %s on line %d
-NULL
-Done
--EXPECTF--
*** Testing join() : usage variations ***
---- Testing join() by supplying different values for 'glue' argument ---
--- Iteration 1 --
-string(17) "element10element2"
--- Iteration 2 --
-string(17) "element11element2"
--- Iteration 3 --
-string(21) "element112345element2"
--- Iteration 4 --
-string(21) "element1-2345element2"
--- Iteration 5 --
-string(20) "element110.5element2"
--- Iteration 6 --
-string(21) "element1-10.5element2"
--- Iteration 7 --
-string(28) "element1101234567000element2"
--- Iteration 8 --
-string(29) "element11.07654321E-9element2"
--- Iteration 9 --
-string(19) "element10.5element2"
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d
-string(0) ""
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d
-string(1) "0"
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d
-string(1) "1"
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d
-string(7) "1Array2"
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d
-string(11) "redArraypen"
--- Iteration 15 --
-string(17) "element11element2"
--- Iteration 16 --
-string(16) "element1element2"
--- Iteration 17 --
-string(17) "element11element2"
--- Iteration 18 --
-string(16) "element1element2"
--- Iteration 19 --
-string(26) "element1testObjectelement2"
--- Iteration 20 --
-string(16) "element1element2"
--- Iteration 21 --
-string(16) "element1element2"
--- Iteration 22 --
-string(16) "element1element2"
--- Iteration 23 --
-string(16) "element1element2"
--- Iteration 24 --
-string(%d) "element1Resource id #%delement2"
--- Iteration 25 --
-string(16) "element1element2"
--- Iteration 26 --
-string(16) "element1element2"
-Done
---UEXPECTF--
-*** Testing join() : usage variations ***
-
--- Testing join() by supplying different values for 'glue' argument ---
-- Iteration 1 --
unicode(17) "element10element2"
Warning: join(): Invalid arguments passed in %s on line %d
NULL
Done
---UEXPECTF--
-*** Testing join() : usage variations ***
-
---- Testing join() by supplying different values for 'pieces' argument ---
--- Iteration 1 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 6 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 7 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 8 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 15 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 16 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 17 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 18 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 19 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 20 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 21 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 22 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 23 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
-Done
--EXPECTF--
*** Testing join() : usage variations ***
-- Iteration 1 --
-string(6) "1], [2"
--- Iteration 2 --
-string(10) "1.1], [2.2"
--- Iteration 3 --
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-string(14) "Array], [Array"
--- Iteration 4 --
-string(5) "], [1"
--- Iteration 5 --
-string(0) ""
--- Iteration 6 --
-string(0) ""
--- Iteration 7 --
-string(36) "a], [aaaa], [b], [bbbb], [c], [ccccc"
--- Iteration 8 --
-string(19) "one], [two], [three"
--- Iteration 9 --
-string(11) "1], [2], [3"
--- Iteration 10 --
-string(20) "10], [20], [40], [30"
--- Iteration 11 --
-string(23) "ten], [twenty], [thirty"
--- Iteration 12 --
-string(16) "1], [two], [four"
--- Iteration 13 --
-string(12) "null], [], ["
--- Iteration 14 --
-string(22) "true], [false], [], [1"
--- Iteration 15 --
-string(14) "emptys], [], ["
--- Iteration 16 --
-string(21) "], [], [], [], [], [1"
--- Iteration 17 --
-string(11) "4], [5], [6"
--- Iteration 18 --
-string(13) "10], [20], [3"
-Done
---UEXPECTF--
-*** Testing join() : usage variations ***
--- Iteration 1 --
unicode(6) "1], [2"
-- Iteration 2 --
unicode(10) "1.1], [2.2"
Notice: Array to string conversion in %s on line %d
-Notice: Array to string conversion in %s on line %d
-string(27) "ArrayTESTArrayTESTPHPTEST50"
-
-Notice: Array to string conversion in %s on line %d
-string(19) "1Array2Array3Array4"
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-string(18) "Array2Array2PHP250"
-string(10) "1, 2, 3, 4"
-string(8) "one, two"
-Done
---UEXPECTF--
-*** Testing implode() : usage variations - sub arrays ***
-
-Notice: Array to string conversion in %s on line %d
-
Notice: Array to string conversion in %s on line %d
unicode(27) "ArrayTESTArrayTESTPHPTEST50"
Warning: ltrim() expects at most 2 parameters, 3 given in %s on line %d
NULL
-*** Testing with heredoc string ***
-string(17) "ng heredoc string"
-
-*** Testing Normal Behaviour ***
-string(10) "ltrim test"
-string(13) " ltrim test"
-string(18) " ltrim test"
-string(18) " ltrim test"
-string(10) "ltrim test"
-string(11) " ltrim test"
-string(10) "ltrim test"
-string(10) "ltrim test"
-string(10) "ltrim test"
-
-*** Testing for scalar argument ***
-string(5) "12345"
-
-*** Testing for NULL argument ***
-string(0) ""
-
-Done
---UEXPECTF--
-Warning: ltrim() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-
-Warning: ltrim() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-
*** Testing with heredoc string ***
unicode(17) "ng heredoc string"
echo "Done\n";
?>
---EXPECTF--
-Warning: metaphone() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-string(0) ""
-string(0) ""
-bool(false)
-bool(false)
-string(6) "FLTFRS"
-string(6) "FLTFRS"
-string(26) "0FLFRWRTKRFLNKHTLSLN0KLTR0"
-string(56) "BT0XTFHRRHLTNTRTRNTPSNKLWRNRFTBF0MSWPNK0FNRKW0TSFSTLWNKS"
-string(69) "ANT0NTWSKNFLYNKBKTMRTRW00SPTF0R0FSRNNTBHNTT0WNTRRTWLFNK0TTMRXSBRNTBLK"
-string(56) "0NKTWSTSFRS0YKLTPRSFNT0TSTNTMNSF0MNTNSWSTPLTW00FTFLMNLFT"
-Done
---UEXPECTF--
+--EXPECTF--
Warning: metaphone() expects at least 1 parameter, 0 given in %s on line %d
NULL
unicode(0) ""
var_dump(money_format("AAAAA%n%n%n%n", NULL));
?>
--EXPECTF--
-string(7) "X$3.14Y"
-
-Warning: money_format(): Only a single %ci or %cn token can be used in %s on line %d
-bool(false)
---UEXPECTF--
Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
unicode(7) "X$3.14Y"
?>
--EXPECT--
-string(4) "test"
-string(0) ""
-string(0) ""
-string(8) "<br />
-"
-string(7) "<br />
-"
-string(7) "<br />
-"
-string(8) "<br />
-
-"
-string(44) "<br />
-
-<br />
-<br />
-<br />
-<br />
-<br />
-"
-string(47) "<br />
-
-<br />
-<br />
-
-<br />
-
-<br />
-<br />
-"
-string(66) "<br />
-
-<br />
-<br />
-<br />
-<br />
-
-<br />
-<br />
-<br />
-<br />
-"
---UEXPECT--
unicode(4) "test"
unicode(0) ""
unicode(0) ""
}
echo "Done";
?>
---EXPECTF--
-*** Testing nl2br() : usage variations ***
--- Iteration 1 --
-string(17) "Hello<br />
-World"
--- Iteration 2 --
-string(31) "<br />
-Hello<br />
-World<br />
-"
--- Iteration 3 --
-string(17) "Hello<br />
-World"
--- Iteration 4 --
-string(31) "<br />
-Hello<br />
-World<br />
-"
--- Iteration 5 --
-string(18) "Hello<br />
-World"
--- Iteration 6 --
-string(34) "<br />
-Hello<br />
-World<br />
-"
--- Iteration 7 --
-string(7) "<br />
-"
--- Iteration 8 --
-string(14) "<br />
-<br />
-"
--- Iteration 9 --
-string(17) "Hello<br />
-World"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing nl2br() : usage variations ***
-- Iteration 1 --
string(17) "Hello<br />
}
echo "Done";
?>
---EXPECTF--
-*** Testing nl2br() : usage variations ***
--- Iteration 1 --
-string(2) "\n"
--- Iteration 2 --
-string(2) "\r"
--- Iteration 3 --
-string(4) "\r\n"
--- Iteration 4 --
-string(12) "Hello\nWorld"
--- Iteration 5 --
-string(12) "Hello\rWorld"
--- Iteration 6 --
-string(14) "Hello\r\nWorld"
--- Iteration 7 --
-string(7) "<br />
-"
--- Iteration 8 --
-string(14) "<br />
-<br />
-"
--- Iteration 9 --
-string(17) "Hello<br />
-World"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing nl2br() : usage variations ***
-- Iteration 1 --
unicode(2) "\n"
echo "Done";
?>
---EXPECTF--
-*** Testing nl2br() : usage variations ***
-string(147) "<br />
-<br />
-
-<br />
-
-<br />
-<br />
-<br />
-nn<br />
-<br />
-<br />
-n<br />
-
-rr<br />
-<br />
-<br />
-r<br />
-<br />
-
-<br />
-
-<br />
-<br />
-r<br />
-n"
-string(118) "Hello<br />
-World<br />
-This is es for <br />
- <br />
-ew lines<br />
-like <br />
- <br />
- <br />
- <br />
-
- and etc"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing nl2br() : usage variations ***
unicode(147) "<br />
<br />
}
echo "Done";
?>
---EXPECTF--
-*** Testing nl2br() : usage variations ***
-string(29) "<html>Hello<br />world</html>"
-string(19) "<html><br /></html>"
-string(45) "<html><br />
-Hello<br />
-world<br />
-</html>"
-string(37) "<html><br />
- <br />
- <br />
-</html>"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing nl2br() : usage variations ***
unicode(29) "<html>Hello<br />world</html>"
unicode(19) "<html><br /></html>"
--EXPECTF--
*** Testing nl2br() : usage variations ***
-- Iteration 1 --
-string(1) "0"
--- Iteration 2 --
-string(1) "1"
--- Iteration 3 --
-string(5) "12345"
--- Iteration 4 --
-string(5) "-2345"
--- Iteration 5 --
-string(4) "10.5"
--- Iteration 6 --
-string(5) "-10.5"
--- Iteration 7 --
-string(12) "105000000000"
--- Iteration 8 --
-string(7) "1.06E-9"
--- Iteration 9 --
-string(3) "0.5"
--- Iteration 10 --
-
-Warning: nl2br() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: nl2br() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: nl2br() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: nl2br() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: nl2br() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(0) ""
--- Iteration 16 --
-string(0) ""
--- Iteration 17 --
-string(1) "1"
--- Iteration 18 --
-string(0) ""
--- Iteration 19 --
-string(1) "1"
--- Iteration 20 --
-string(0) ""
--- Iteration 21 --
-
-Warning: nl2br() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
--- Iteration 22 --
-string(9) "My String"
--- Iteration 23 --
-string(0) ""
--- Iteration 24 --
-string(0) ""
-Done
---UEXPECTF--
-*** Testing nl2br() : usage variations ***
--- Iteration 1 --
unicode(1) "0"
-- Iteration 2 --
unicode(1) "1"
echo "Done\n";
?>
---EXPECTF--
-Warning: pathinfo() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-array(2) {
- ["basename"]=>
- string(0) ""
- ["filename"]=>
- string(0) ""
-}
-array(4) {
- ["dirname"]=>
- string(1) "."
- ["basename"]=>
- string(1) "."
- ["extension"]=>
- string(0) ""
- ["filename"]=>
- string(0) ""
-}
-array(4) {
- ["dirname"]=>
- string(1) "."
- ["basename"]=>
- string(2) ".."
- ["extension"]=>
- string(0) ""
- ["filename"]=>
- string(1) "."
-}
-array(3) {
- ["dirname"]=>
- string(1) "%e"
- ["basename"]=>
- string(0) ""
- ["filename"]=>
- string(0) ""
-}
-array(4) {
- ["dirname"]=>
- string(1) "."
- ["basename"]=>
- string(1) "."
- ["extension"]=>
- string(0) ""
- ["filename"]=>
- string(0) ""
-}
-array(4) {
- ["dirname"]=>
- string(1) "%e"
- ["basename"]=>
- string(1) "."
- ["extension"]=>
- string(0) ""
- ["filename"]=>
- string(0) ""
-}
-array(4) {
- ["dirname"]=>
- string(1) "."
- ["basename"]=>
- string(10) ".cvsignore"
- ["extension"]=>
- string(9) "cvsignore"
- ["filename"]=>
- string(0) ""
-}
-string(12) "pathinfo.php"
-string(8) "pathinfo"
-string(3) "php"
-string(%d) "%s%estrings"
-string(%d) "%s%estrings"
-string(12) "pathinfo.php"
-string(3) "php"
-string(12) "pathinfo.php"
-string(%d) "%s%estrings"
-string(12) "pathinfo.php"
-string(%d) "%s%estrings"
-string(%d) "%s%estrings"
-Done
---UEXPECTF--
+--EXPECTF--
Warning: pathinfo() expects at least 1 parameter, 0 given in %s on line %d
NULL
array(2) {
@unlink($filename);
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
Warning: php_strip_whitespace() expects exactly 1 parameter, 0 given in %s on line %d
bool(false)
+++ /dev/null
---TEST--
-Test setlocale() function : basic functionality - setting system locale to a specific
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
- die('skip Not valid for windows');
-
-if( ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-
-if (setlocale(LC_ALL, "en_US.utf8", "en_AU.utf8", "ko_KR.utf8", "zh_CN.utf8", "de_DE.utf8", "es_EC.utf8", "fr_FR.utf8", "ja_JP.utf8", "el_GR.utf8", "nl_NL.utf8") === false)
- die('skip available locales not usable');
-?>
---FILE--
-<?php
-/* Prototype : string setlocale (int $category , string $locale [,string $..] )
- : string setlocale(int $category , array $locale);
- * Description: Sets locale information.Returns the new current locale ,
- * or FALSE if locale functinality is not implemented in this platform.
- * Source code: ext/standard/string.c
-*/
-
-/* test setlocale by specifying a specific locale as input */
-
-/* Prototype : array list_system_locales( void )
- Description: To get the currently installed locle in this platform
- Arguments : Nil
- Returns : set of locale as array
-*/
-function list_system_locales() {
- // start the buffering of next command to internal output buffer
- ob_start();
-
- // run the command 'locale -a' to fetch all locales available in the system
- system('locale -a');
-
- // get the contents from the internal output buffer
- $all_locales = ob_get_contents();
-
- // fflush and end the output buffering to internal output buffer
- ob_end_clean();
-
- $system_locales = explode("\n", $all_locales);
-
- // return all the locale found in the system
- return $system_locales;
-}
-
-/* Collect existing system locales and set one among them,
- Check the currency settings in the new locale */
-echo "*** Testing setlocale() : basic functionality - set to a specific locale ***\n";
-
-//set of locales to be used
-$common_locales = array(
- "english_US"=> "en_US.utf8",
- "english_AU" => "en_AU.utf8",
- "korean_KR" => "ko_KR.utf8",
- "Chinese_zh" => "zh_CN.utf8",
- "germen_DE" => "de_DE.utf8",
- "spanish_es" => "es_EC.utf8",
- "french_FR" => "fr_FR.utf8",
- "japanees_JP" => "ja_JP.utf8",
- "greek_GR" => "el_GR.utf8",
- "dutch_NL" => "nl_NL.utf8"
-);
-
-//set of currency symbol according to above list of locales
-$currency_symbol = array(
- "en_US.utf8" => "USD",
- "en_AU.utf8" => "AUD",
- "ko_KR.utf8" => "KRW",
- "zh_CN.utf8" => "CNY",
- "de_DE.utf8" => "EUR",
- "es_EC.utf8" => "USD",
- "fr_FR.utf8" => "EUR",
- "ja_JP.utf8" => "JPY",
- "el_GR.utf8" => "EUR",
- "nl_NL.utf8" =>"EUR"
-);
-
-// gather all the locales installed in the system
-$all_system_locales = list_system_locales();
-
-// set the system locale to a locale, choose the right locale by
-// finding a common locale in commonly used locale stored in
-// $common_locales & locales that are available in the system, stored
-// in $all_system_locales.
-echo "Setting system locale(LC_ALL) to ";
-foreach($common_locales as $value) {
- // check if a commonly used locale is installed in the system
- if(in_array($value, $all_system_locales)){
- echo "$value\n"; // print, this is found
- // set the found locale as current locale
- var_dump(setlocale(LC_ALL, $value ));
- // stop here
- break;
- }
- else{
- // continue to check if next commonly locale is installed in the system
- continue;
- }
-}
-
-// check that new locale setting is effective
-// use localeconv() to get the details of currently set locale
-$locale_info = localeconv();
-
-//checking currency settings in the new locale to see if the setlocale() was effective
-$new_currency = trim($locale_info['int_curr_symbol']);
-echo "Checking currency settings in the new locale, expected: ".$currency_symbol[$value].", Found: ".$new_currency."\n";
-echo "Test ";
-if(trim($currency_symbol[$value]) == $new_currency){
- echo "PASSED.";
-} else {
- echo "FAILED.";
-}
-
-echo "\nDone\n";
-?>
---EXPECTF--
-*** Testing setlocale() : basic functionality - set to a specific locale ***
-Setting system locale(LC_ALL) to %s
-string(%d) %s
-Checking currency settings in the new locale, expected: %s, Found: %s
-Test PASSED.
-Done
+++ /dev/null
---TEST--
-Test setlocale() function : basic functionality - set locale using an array
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
- die('skip Not valid for windows');
-if(ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-if (setlocale(LC_ALL, "en_US.utf8", "en_AU.utf8", "ko_KR.utf8", "zh_CN.utf8", "de_DE.utf8", "es_EC.utf8", "fr_FR.utf8", "ja_JP.utf8", "el_GR.utf8", "nl_NL.utf8") === false)
- die('skip available locales not usable');
-?>
---FILE--
-<?php
-/* Prototype : string setlocale (int $category , string $locale [,string $..] )
- : string setlocale(int $category , array $locale);
- * Description: Sets locale information.Returns the new current locale , or FALSE
- if locale functinality is not implemented in this platform.
- * Source code: ext/standard/string.c
-*/
-
-/* Test the setlocale() when an array is provided as input containing list of locales */
-
-/* Prototype : array list_system_locales( void )
- * Description: To get the currently installed locle in this platform
- * Arguments : Nil
- * Returns : set of locale as array
-*/
-function list_system_locales() {
- // start the buffering of next command to internal output buffer
- ob_start();
-
- // run the command 'locale -a' to fetch all locales available in the system
- system('locale -a');
-
- // get the contents from the internal output buffer
- $all_locales = ob_get_contents();
-
- // fflush and end the output buffering to internal output buffer
- ob_end_clean();
-
- $system_locales = explode("\n", $all_locales);
-
- // return all the locale found in the system
- return $system_locales;
-}
-
-/* Collect existing system locales and prepare a list of locales that can be used as
- input to setlocale() */
-
-echo "*** Testing setlocale() with an array containing list of locales ***\n";
-
-//set of locales to be used
-$common_locales = array(
- "english_US"=> "en_US.utf8",
- "english_AU" => "en_AU.utf8",
- "korean_KR" => "ko_KR.utf8",
- "Chinese_zh" => "zh_CN.utf8",
- "germen_DE" => "de_DE.utf8",
- "spanish_es" => "es_EC.utf8",
- "french_FR" => "fr_FR.utf8",
- "japanees_JP" => "ja_JP.utf8",
- "greek_GR" => "el_GR.utf8",
- "dutch_NL" => "nl_NL.utf8"
-);
-
-//set of currency symbol according to above list of locales
-$currency_symbol = array(
- "en_US.utf8" => "USD",
- "en_AU.utf8" => "AUD",
- "ko_KR.utf8" => "KRW",
- "zh_CN.utf8" => "CNY",
- "de_DE.utf8" => "EUR",
- "es_EC.utf8" => "USD",
- "fr_FR.utf8" => "EUR",
- "ja_JP.utf8" => "JPY",
- "el_GR.utf8" => "EUR",
- "nl_NL.utf8" =>"EUR"
-);
-
-// gather all the locales installed in the system
-$all_system_locales = list_system_locales();
-
-// prepare the list of locales based on list of locales found in the system
-// and those known to this script ( as stored $common_locales) which can be
-// given as input to setlocale(), later verify the new locale setting by
-// checking the currency setting of the system(use localconv())
-$list_of_locales = array();
-foreach($common_locales as $value) {
- if( in_array($value, $all_system_locales) ) {
- $list_of_locales[] = $value;
- }
-}
-
-// Now $list_of_locales array contains the locales that can be passed to
-// setlocale() function.
-echo "-- Testing setlocale() : 'category' argument as LC_ALL & 'locale' argument as an array --\n";
-if ( count($list_of_locales) > 0 ) {
- // set locale to $list_of_locales
- $new_locale = setlocale(LC_ALL, $list_of_locales);
-
- // dump the current locale
- var_dump($new_locale);
-
- // check that new locale setting is effective
- // use localeconv() to get the details of currently set locale
- $locale_info = localeconv();
- $new_currency = trim($locale_info['int_curr_symbol']);
-
- echo "Checking currency settings in the new locale, expected: ".$currency_symbol[$new_locale].", Found: ".$new_currency."\n";
- echo "Test ";
-
- if(trim($currency_symbol[$new_locale]) == $new_currency){
- echo "PASSED.\n";
- } else {
- echo "FAILED.\n";
- }
-} else {
- echo "Test FAILED.\n";
-}
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing setlocale() with an array containing list of locales ***
--- Testing setlocale() : 'category' argument as LC_ALL & 'locale' argument as an array --
-string(%d) "%s"
-Checking currency settings in the new locale, expected: %s, Found: %s
-Test PASSED.
-Done
+++ /dev/null
---TEST--
-Test setlocale() function : basic functionality - passing multiple locales as argument
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
- die('skip Not valid for windows');
-if(ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-if (setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8") === false)
- die('skip en_US.utf8/Ko_KR.utf8/zh_CN.utf8 locales not available');
-?>
---FILE--
-<?php
-/* Prototype : string setlocale (int $category , string $locale [,string $..] )
- : string setlocale(int $category , array $locale);
- * Description: Sets locale information.Returns the new current locale , or FALSE
- if locale functinality is not implemented in this platform.
- * Source code: ext/standard/string.c
-*/
-
-/* Test the setlocale() when multiple locales are provided as argument */
-
-/* Prototype : array list_system_locales( void )
- Description: To get the currently installed locle in this platform
- Arguments : Nil
- Returns : set of locale as array
-*/
-function list_system_locales() {
- // start the buffering of next command to internal output buffer
- ob_start();
-
- // run the command 'locale -a' to fetch all locales available in the system
- system('locale -a');
-
- // get the contents from the internal output buffer
- $all_locales = ob_get_contents();
-
- // fflush and end the output buffering to internal output buffer
- ob_end_clean();
-
- $system_locales = explode("\n", $all_locales);
-
- // return all the locale found in the system
- return $system_locales;
-}
-
-/* Collect existing system locales and get three locales that can be use to
- pass as argument to setlocale() */
-echo "*** Testing setlocale() by passing multiple locales as argument ***\n";
-
-//set of currency symbol according to above list of locales
-$currency_symbol = array(
- "en_US.utf8" => "USD",
- "ko_KR.utf8" => "KRW",
- "zh_CN.utf8" => "CNY",
-);
-
-// gather all the locales installed in the system
-$all_system_locales = list_system_locales();
-
-// Now check for three locales that is present in the system and use that as argument to setlocale()
-if( in_array("en_US.utf8",$all_system_locales) ||
- in_array("Ko_KR.utf8",$all_system_locales) ||
- in_array("zh_CN.utf8",$all_system_locales) ) {
- echo "-- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.utf8, Ko_KR.utf8, zh_CN.utf8) --\n";
-
- // call setlocale()
- $new_locale = setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8");
-
- // dump the name of the new locale set by setlocale()
- var_dump($new_locale);
-
- // check that new locale setting is effective
- // use localeconv() to get the details of currently set locale
- $locale_info = localeconv();
- $new_currency = trim($locale_info['int_curr_symbol']);
-
- echo "Checking currency settings in the new locale, expected: ".$currency_symbol[$new_locale].", Found: ".$new_currency."\n";
- echo "Test ";
- if( trim($currency_symbol[$new_locale]) == $new_currency) {
- echo "PASSED.\n";
- } else {
- echo "FAILED.\n";
- }
-}
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing setlocale() by passing multiple locales as argument ***
--- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.utf8, Ko_KR.utf8, zh_CN.utf8) --
-string(%d) "%s"
-Checking currency settings in the new locale, expected: %s, Found: %s
-Test PASSED.
-Done
+++ /dev/null
---TEST--
-Test setlocale() function : error conditions
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
- die('skip Not valid for windows');
-if(ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-?>
---FILE--
-<?php
-/* Prototype : string setlocale (int $category , string $locale [,string $..] )
- : string setlocale(int $category , array $locale);
- * Description: Sets locale information.Returns the new current locale , or FALSE if locale functinality is not implemented in this platform.
- * Source code: ext/standard/string.c
-*/
-
-echo "*** Testing setlocale() : error conditions ***\n";
-
-// Zero argument
-echo "\n-- Testing setlocale() function with Zero arguments --";
-var_dump( setlocale());
-
-// One argument
-echo "\n-- Testing setlocale() function with One argument, 'category' = LC_ALL --";
-var_dump( setlocale(LC_ALL) );
-
-echo "\n-- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --\n";
-//Invalid array of locales
-$invalid_locales = array("en_US.invalid", "en_AU.invalid", "ko_KR.invalid");
-var_dump( setlocale(LC_ALL,$invalid_locales) );
-
-echo "\n-- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --\n";
-//Invalid array of locales
-var_dump( setlocale(LC_ALL,"en_US.invalid", "en_AU.invalid", "ko_KR.invalid") );
-
-echo "\n-- Testing setlocale() function with invalid category --\n";
-//invalid $category
-$invalid_category = "TEST";
-var_dump( setlocale($invalid_category,"en_US.utf8") );
-
-echo "\nDone";
-?>
---EXPECTF--
-
-*** Testing setlocale() : error conditions ***
-
--- Testing setlocale() function with Zero arguments --
-Warning: Wrong parameter count for setlocale() in %s on line %d
-NULL
-
--- Testing setlocale() function with One argument, 'category' = LC_ALL --
-Warning: Wrong parameter count for setlocale() in %s on line %d
-NULL
-
--- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --
-bool(false)
-
--- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --
-bool(false)
-
--- Testing setlocale() function with invalid category --
-
-Deprecated: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead in %s on line %d
-
-Warning: setlocale(): Invalid locale category name TEST, must be one of LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, or LC_TIME in %s on line %d
-bool(false)
-
-Done
+++ /dev/null
---TEST--
-Test setlocale() function : usage variations - passing multiple valid/invlaid locales as argument
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
- die('skip Not valid for windows');
-if(ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-if (setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8") === false)
- die('skip en_US.utf8/Ko_KR.utf8/zh_CN.utf8 locales not available');
-?>
---FILE--
-<?php
-/* Prototype : string setlocale (int $category , string $locale [,string $..] )
- : string setlocale(int $category , array $locale);
- * Description: Sets locale information.Returns the new current locale , or FALSE
- if locale functinality is not implemented in this platform.
- * Source code: ext/standard/string.c
-*/
-
-/* Test the setlocale() when multiple valid/invalid locales are provided as argument */
-
-/* Prototype : array list_system_locales( void )
- Description: To get the currently installed locle in this platform
- Arguments : Nil
- Returns : set of locale as array
-*/
-function list_system_locales() {
- // start the buffering of next command to internal output buffer
- ob_start();
-
- // run the command 'locale -a' to fetch all locales available in the system
- system('locale -a');
-
- // get the contents from the internal output buffer
- $all_locales = ob_get_contents();
-
- // fflush and end the output buffering to internal output buffer
- ob_end_clean();
-
- $system_locales = explode("\n", $all_locales);
-
- // return all the locale found in the system
- return $system_locales;
-}
-
-/* Collect existing system locales and get 2 valid locales that can be use to
- pass as argument to setlocale(), pass 2 invalid arguments along with two valid argumentsss */
-echo "*** Testing setlocale() by passing multiple valid/invalid locales as argument ***\n";
-
-//set of currency symbol according to above list of locales
-$currency_symbol = array(
- "en_US.utf8" => "USD",
- "ko_KR.utf8" => "KRW",
- "zh_CN.utf8" => "CNY"
-);
-
-// gather all the locales installed in the system
-$all_system_locales = list_system_locales();
-
-// Now check for three locales that is present in the system and use that as argument to setlocale()
-if( in_array("en_US.utf8",$all_system_locales) ||
- in_array("Ko_KR.utf8",$all_system_locales) ||
- in_array("zh_CN.utf8",$all_system_locales) ) {
- echo "-- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.invalid, en_US.utf8, Ko_KR.utf8, KO_KR.invalid, zh_CN.utf8) --\n";
-
- // call setlocale()
- $new_locale = setlocale(LC_ALL, "en_US.invalid", "en_US.utf8", "Ko_KR.utf8", "KO_KR.invalid", "zh_CN.utf8");
-
- // dump the name of the new locale set by setlocale()
- var_dump($new_locale);
-
- // check that new locale setting is effective
- // use localeconv() to get the details of currently set locale
- $locale_info = localeconv();
- $new_currency = trim($locale_info['int_curr_symbol']);
-
- echo "Checking currency settings in the new locale, expected: ".$currency_symbol[$new_locale].", Found: ".$new_currency."\n";
- echo "Test ";
- if( trim($currency_symbol[$new_locale]) == $new_currency) {
- echo "PASSED.\n";
- } else {
- echo "FAILED.\n";
- }
-}
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing setlocale() by passing multiple valid/invalid locales as argument ***
--- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.invalid, en_US.utf8, Ko_KR.utf8, KO_KR.invalid, zh_CN.utf8) --
-string(%d) "%s"
-Checking currency settings in the new locale, expected: %s, Found: %s
-Test PASSED.
-Done
+++ /dev/null
---TEST--
-Test setlocale() function : usage variations - Setting all available locales in the platform
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
- die('skip Not valid for windows');
-if(ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-?>
---FILE--
-<?php
-/* Prototype : string setlocale (int $category , string $locale [,string $..] )
- : string setlocale(int $category , array $locale);
- * Description: Sets locale information.Returns the new current locale , or FALSE
- if locale functinality is not implemented in this platform.
- * Source code: ext/standard/string.c
-*/
-
-/* setlocale() to set all available locales in the system and check the success count */
-echo "*** Testing setlocale() : usage variations ***\n";
-
-/* Prototype : array list_system_locales( void )
- * Description: To get the currently installed locle in this platform
- * Arguments : Nil
- * Returns : set of locale as array
-*/
-function list_system_locales() {
- // start the buffering of next command to internal output buffer
- ob_start();
-
- // run the command 'locale -a' to fetch all locales available in the system
- system('locale -a');
-
- // get the contents from the internal output buffer
- $all_locales = ob_get_contents();
-
- // fflush and end the output buffering to internal output buffer
- ob_end_clean();
-
- $system_locales = explode("\n", $all_locales);
-
- // return all the locale found in the system
- return $system_locales;
-}
-
-// gather all the locales installed in the system
-$all_system_locales = list_system_locales();
-
-//try different locale names
-$failure_locale = array();
-$success_count = 0;
-
-echo "-- Test setlocale() with all available locale in the system --\n";
-// gather all locales installed in the system(stored $all_system_locales),
-// try n set each locale using setlocale() and keep track failures, if any
-foreach($all_system_locales as $value){
- //set locale to $value, if success, count increments
- if(setlocale(LC_ALL,$value )){
- $success_count++;
- }
- else{
- //failure values are put in to an array $failure_locale
- $failure_locale[] = $value;
- }
-}
-
-echo "No of locales found on the machine = ".count($all_system_locales)."\n";
-echo "No of setlocale() success = ".$success_count."\n";
-echo "Expected no of failures = 0\n";
-echo "Test ";
-// check if there were any failure of setlocale() function earlier, if any
-// failure then dump the list of failing locales
-if($success_count != count($all_system_locales)){
- echo "FAILED\n";
- echo "Names of locale() for which setlocale() failed ...\n";
- var_dump($failure_locale);
-}
-else{
- echo "PASSED\n";
-}
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing setlocale() : usage variations ***
--- Test setlocale() with all available locale in the system --
-No of locales found on the machine = %d
-No of setlocale() success = %d
-Expected no of failures = 0
-Test PASSED
-Done
+++ /dev/null
---TEST--
-Test setlocale() function : usage variations - setting system locale = 0
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
- die('skip Not valid for windows');
-if(ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-if (setlocale(LC_ALL,'en_US.utf8') === false)
- die('skip en_US.utf8 locale not available');
-?>
---FILE--
-<?php
-/* Prototype : string setlocale (int $category , string $locale [,string $..] )
- * : string setlocale(int $category , array $locale);
- * Description: Sets locale information.Returns the new current locale , or FALSE
- * if locale functinality is not implemented in this platform.
- * Source code: ext/standard/string.c
-*/
-
-/* If locale is "0", the locale setting is not affected, only the current setting is returned */
-
-echo "*** Testing setlocale() : usage variations - setting system locale = 0 ***\n";
-$locale_info_before = array();
-$locale_info_after = array();
-
-//initially giving the locale
-setlocale(LC_ALL,"en_US.utf8");
-
-echo "Locale info, before setting the locale\n";
-//returns current locale,before executing setlocale().
-$locale_info_before = localeconv();
-
-var_dump($locale_info_before);
-
-//Testing setlocale() by giving locale = 0
-echo "Setting system locale, category = LC_ALL and locale = 0\n";
-setlocale(LC_ALL, 0);
-
-echo "Locale info, after setting the locale\n";
-//returns current locale,after executing setlocale().
-$locale_info_after = localeconv();
-
-var_dump($locale_info_after);
-
-echo "Checking locale in the system, Expected : no change in the existing locale\n";
-echo "Test ";
-if($locale_info_before == $locale_info_after){
- echo "PASSED.";
-} else {
- echo "FAILED.";
-}
-
-echo "\nDone\n";
-?>
---EXPECTF--
-*** Testing setlocale() : usage variations - setting system locale = 0 ***
-Locale info, before setting the locale
-array(18) {
- ["decimal_point"]=>
- string(1) "."
- ["thousands_sep"]=>
- string(1) ","
- ["int_curr_symbol"]=>
- string(4) "USD "
- ["currency_symbol"]=>
- string(1) "$"
- ["mon_decimal_point"]=>
- string(1) "."
- ["mon_thousands_sep"]=>
- string(1) ","
- ["positive_sign"]=>
- string(0) ""
- ["negative_sign"]=>
- string(1) "-"
- ["int_frac_digits"]=>
- int(2)
- ["frac_digits"]=>
- int(2)
- ["p_cs_precedes"]=>
- int(1)
- ["p_sep_by_space"]=>
- int(0)
- ["n_cs_precedes"]=>
- int(1)
- ["n_sep_by_space"]=>
- int(0)
- ["p_sign_posn"]=>
- int(1)
- ["n_sign_posn"]=>
- int(1)
- ["grouping"]=>
- array(2) {
- [0]=>
- int(3)
- [1]=>
- int(3)
- }
- ["mon_grouping"]=>
- array(2) {
- [0]=>
- int(3)
- [1]=>
- int(3)
- }
-}
-Setting system locale, category = LC_ALL and locale = 0
-Locale info, after setting the locale
-array(18) {
- ["decimal_point"]=>
- string(1) "."
- ["thousands_sep"]=>
- string(1) ","
- ["int_curr_symbol"]=>
- string(4) "USD "
- ["currency_symbol"]=>
- string(1) "$"
- ["mon_decimal_point"]=>
- string(1) "."
- ["mon_thousands_sep"]=>
- string(1) ","
- ["positive_sign"]=>
- string(0) ""
- ["negative_sign"]=>
- string(1) "-"
- ["int_frac_digits"]=>
- int(2)
- ["frac_digits"]=>
- int(2)
- ["p_cs_precedes"]=>
- int(1)
- ["p_sep_by_space"]=>
- int(0)
- ["n_cs_precedes"]=>
- int(1)
- ["n_sep_by_space"]=>
- int(0)
- ["p_sign_posn"]=>
- int(1)
- ["n_sign_posn"]=>
- int(1)
- ["grouping"]=>
- array(2) {
- [0]=>
- int(3)
- [1]=>
- int(3)
- }
- ["mon_grouping"]=>
- array(2) {
- [0]=>
- int(3)
- [1]=>
- int(3)
- }
-}
-Checking locale in the system, Expected : no change in the existing locale
-Test PASSED.
-Done
+++ /dev/null
---TEST--
-Test setlocale() function : usage variations - setting system locale as null
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
- die('skip Not valid for windows');
-if(ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-if (setlocale(LC_ALL,'en_US.utf8') === false || setlocale(LC_ALL,'en_AU.utf8') === false)
- die('skip en_US.utf8/en_AU.utf8 locales not available');
-?>
---ENV--
-LC_ALL=en_US.utf8;
---FILE--
-<?php
-/* Prototype : string setlocale (int $category , string $locale [,string $..] )
- * : string setlocale(int $category , array $locale);
- * Description: Sets locale information.Returns the new current locale , or FALSE
- * if locale functinality is not implemented in this platform.
- * Source code: ext/standard/string.c
-*/
-
-/*If locale is NULL, the locale names will be set from the values of environment variables with the same names as the above ENV settings */
-
-echo "*** Testing setlocale() : usage variations - Setting system locale = null ***\n";
-
-//initially setting the locale
-setlocale(LC_ALL,"en_AU.utf8");
-
-echo "Locale info, before setting the locale\n";
-//returns current locale,before executing setlocale() .
-$locale_info_before = localeconv();
-var_dump($locale_info_before);
-
-//Testing setlocale() by giving locale = null
-echo "Setting system locale, category = LC_ALL and locale = null\n";
-setlocale(LC_ALL, null);
-
-echo "Locale info, after setting the locale\n";
-//Returns Current locale,after executing setlocale().
-$locale_info_after = localeconv();
-var_dump($locale_info_after);
-
-echo "Checking new locale in the system, Expected : the locale names will be set from the values of environment variables\n";
-echo "Test ";
-if($locale_info_before != $locale_info_after){
- echo "PASSED.";
-} else {
- echo "FAILED.";
-}
-
-echo "\nDone\n";
-?>
---EXPECTF--
-*** Testing setlocale() : usage variations - Setting system locale = null ***
-Locale info, before setting the locale
-array(18) {
- ["decimal_point"]=>
- string(1) "."
- ["thousands_sep"]=>
- string(1) ","
- ["int_curr_symbol"]=>
- string(4) "AUD "
- ["currency_symbol"]=>
- string(1) "$"
- ["mon_decimal_point"]=>
- string(1) "."
- ["mon_thousands_sep"]=>
- string(1) ","
- ["positive_sign"]=>
- string(0) ""
- ["negative_sign"]=>
- string(1) "-"
- ["int_frac_digits"]=>
- int(2)
- ["frac_digits"]=>
- int(2)
- ["p_cs_precedes"]=>
- int(1)
- ["p_sep_by_space"]=>
- int(0)
- ["n_cs_precedes"]=>
- int(1)
- ["n_sep_by_space"]=>
- int(0)
- ["p_sign_posn"]=>
- int(1)
- ["n_sign_posn"]=>
- int(1)
- ["grouping"]=>
- array(2) {
- [0]=>
- int(3)
- [1]=>
- int(3)
- }
- ["mon_grouping"]=>
- array(2) {
- [0]=>
- int(3)
- [1]=>
- int(3)
- }
-}
-Setting system locale, category = LC_ALL and locale = null
-Locale info, after setting the locale
-array(18) {
- ["decimal_point"]=>
- string(1) "."
- ["thousands_sep"]=>
- string(1) ","
- ["int_curr_symbol"]=>
- string(4) "USD "
- ["currency_symbol"]=>
- string(1) "$"
- ["mon_decimal_point"]=>
- string(1) "."
- ["mon_thousands_sep"]=>
- string(1) ","
- ["positive_sign"]=>
- string(0) ""
- ["negative_sign"]=>
- string(1) "-"
- ["int_frac_digits"]=>
- int(2)
- ["frac_digits"]=>
- int(2)
- ["p_cs_precedes"]=>
- int(1)
- ["p_sep_by_space"]=>
- int(0)
- ["n_cs_precedes"]=>
- int(1)
- ["n_sep_by_space"]=>
- int(0)
- ["p_sign_posn"]=>
- int(1)
- ["n_sign_posn"]=>
- int(1)
- ["grouping"]=>
- array(2) {
- [0]=>
- int(3)
- [1]=>
- int(3)
- }
- ["mon_grouping"]=>
- array(2) {
- [0]=>
- int(3)
- [1]=>
- int(3)
- }
-}
-Checking new locale in the system, Expected : the locale names will be set from the values of environment variables
-Test PASSED.
-Done
+++ /dev/null
---TEST--
-Test setlocale() function : usage variations - Setting system locale as empty string
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
- die('skip Not valid for windows');
-if(ini_get("unicode.semantics") == "1")
- die('skip do not run when unicode on');
-if (setlocale(LC_ALL,'en_AU.utf8') === false || setlocale(LC_ALL,'en_US.utf8') === false)
- die('skip en_AU.utf8/en_US.utf8 locales not available');
-?>
---ENV--
-LC_ALL=en_US.utf8;
---FILE--
-<?php
-/* Prototype : string setlocale (int $category , string $locale [,string $..] )
- * : string setlocale(int $category , array $locale);
- * Description: Sets locale information.Returns the new current locale , or FALSE
- * if locale functinality is not implemented in this platform.
- * Source code: ext/standard/string.c
-*/
-
-/* If locale is empty string "", the locale names will be set from the values of environment variables with the same names as from ENV */
-
-echo "*** Testing setlocale() : usage variations - setting system locale = \"\" ***\n";
-
-//initially setting the locale
-setlocale(LC_ALL,'en_AU.utf8');
-
-echo "Locale info, before setting the locale\n";
-
-//returns current locale,before executing setlocale() .
-$locale_info_before = localeconv();
-
-var_dump($locale_info_before);
-
-//Testing setlocale() by giving locale = null
-echo "Setting system locale, category = LC_ALL and locale = \"\"\n";
-setlocale(LC_ALL, "");
-
-echo "Locale info, after setting the locale\n";
-
-//Returns Current locale,after executing setlocale().
-$locale_info_after = localeconv();
-
-var_dump($locale_info_after);
-
-echo "Checking new locale in the system, Expected : the locale names will be set from the values of environment variables\n";
-echo "Test ";
-if($locale_info_before != $locale_info_after){
- echo "PASSED.";
-} else {
- echo "FAILED.";
-}
-
-echo "\nDone\n";
-?>
---EXPECTF--
-*** Testing setlocale() : usage variations - setting system locale = "" ***
-Locale info, before setting the locale
-array(18) {
- ["decimal_point"]=>
- string(1) "."
- ["thousands_sep"]=>
- string(1) ","
- ["int_curr_symbol"]=>
- string(4) "AUD "
- ["currency_symbol"]=>
- string(1) "$"
- ["mon_decimal_point"]=>
- string(1) "."
- ["mon_thousands_sep"]=>
- string(1) ","
- ["positive_sign"]=>
- string(0) ""
- ["negative_sign"]=>
- string(1) "-"
- ["int_frac_digits"]=>
- int(2)
- ["frac_digits"]=>
- int(2)
- ["p_cs_precedes"]=>
- int(1)
- ["p_sep_by_space"]=>
- int(0)
- ["n_cs_precedes"]=>
- int(1)
- ["n_sep_by_space"]=>
- int(0)
- ["p_sign_posn"]=>
- int(1)
- ["n_sign_posn"]=>
- int(1)
- ["grouping"]=>
- array(2) {
- [0]=>
- int(3)
- [1]=>
- int(3)
- }
- ["mon_grouping"]=>
- array(2) {
- [0]=>
- int(3)
- [1]=>
- int(3)
- }
-}
-Setting system locale, category = LC_ALL and locale = ""
-Locale info, after setting the locale
-array(18) {
- ["decimal_point"]=>
- string(1) "."
- ["thousands_sep"]=>
- string(1) ","
- ["int_curr_symbol"]=>
- string(4) "USD "
- ["currency_symbol"]=>
- string(1) "$"
- ["mon_decimal_point"]=>
- string(1) "."
- ["mon_thousands_sep"]=>
- string(1) ","
- ["positive_sign"]=>
- string(0) ""
- ["negative_sign"]=>
- string(1) "-"
- ["int_frac_digits"]=>
- int(2)
- ["frac_digits"]=>
- int(2)
- ["p_cs_precedes"]=>
- int(1)
- ["p_sep_by_space"]=>
- int(0)
- ["n_cs_precedes"]=>
- int(1)
- ["n_sep_by_space"]=>
- int(0)
- ["p_sign_posn"]=>
- int(1)
- ["n_sign_posn"]=>
- int(1)
- ["grouping"]=>
- array(2) {
- [0]=>
- int(3)
- [1]=>
- int(3)
- }
- ["mon_grouping"]=>
- array(2) {
- [0]=>
- int(3)
- [1]=>
- int(3)
- }
-}
-Checking new locale in the system, Expected : the locale names will be set from the values of environment variables
-Test PASSED.
-Done
echo "Done\n";
?>
--EXPECTF--
-string(40) "a9993e364706816aba3e25717850c26c9cd0d89d"
-string(40) "a9993e364706816aba3e25717850c26c9cd0d89d"
-bool(true)
-string(40) "84983e441c3bd26ebaae4aa1f95129e5e54670f1"
-string(40) "84983e441c3bd26ebaae4aa1f95129e5e54670f1"
-bool(true)
-string(40) "86f7e437faa5a7fce15d1ddcb9eaeaea377667b8"
-string(40) "86f7e437faa5a7fce15d1ddcb9eaeaea377667b8"
-bool(true)
-string(40) "e0c094e867ef46c350ef54a7f59dd60bed92ae83"
-string(40) "e0c094e867ef46c350ef54a7f59dd60bed92ae83"
-bool(true)
-string(40) "da39a3ee5e6b4b0d3255bfef95601890afd80709"
-string(40) "da39a3ee5e6b4b0d3255bfef95601890afd80709"
-bool(true)
-string(20) "%a"
-string(20) "%a"
-
-Warning: sha1_file(%ssha1.dat): failed to open stream: No such file or directory in %s on line %d
-Done
---UEXPECTF--
unicode(40) "a9993e364706816aba3e25717850c26c9cd0d89d"
unicode(40) "a9993e364706816aba3e25717850c26c9cd0d89d"
bool(true)
echo "Done\n";
?>
---EXPECTF--
-bool(false)
-string(4) "0000"
-
-Warning: soundex() expects parameter 1 to be string, array given in %s on line %d
-NULL
-string(4) "F650"
-string(4) "T300"
-string(4) "T500"
-string(4) "O500"
-string(4) "S500"
-string(4) "T230"
-string(4) "T300"
-string(4) "H000"
-string(4) "S523"
-string(4) "A000"
-string(4) "C520"
-string(4) "I500"
-string(4) "G450"
-string(4) "A250"
-string(4) "H256"
-Done
---UEXPECTF--
+--EXPECTF--
bool(false)
string(4) "0000"
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using string format ***
-string(6) "format"
-string(13) "arg1 argument"
-string(27) "arg1 argument arg2 argument"
-string(41) "arg1 argument arg2 argument arg3 argument"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : basic functionality - using string format ***
unicode(6) "format"
unicode(13) "arg1 argument"
unicode(27) "arg1 argument arg2 argument"
unicode(41) "arg1 argument arg2 argument arg3 argument"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using integer format ***
-string(6) "format"
-string(3) "111"
-string(7) "111 222"
-string(11) "111 222 333"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : basic functionality - using integer format ***
unicode(6) "format"
unicode(3) "111"
unicode(7) "111 222"
unicode(11) "111 222 333"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using float format ***
-string(6) "format"
-string(9) "11.110000"
-string(9) "11.110000"
-string(19) "11.110000 22.220000"
-string(19) "11.110000 22.220000"
-string(29) "11.110000 22.220000 33.330000"
-string(29) "11.110000 22.220000 33.330000"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : basic functionality - using float format ***
unicode(6) "format"
unicode(9) "11.110000"
unicode(19) "11.110000 22.220000"
unicode(29) "11.110000 22.220000 33.330000"
unicode(29) "11.110000 22.220000 33.330000"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using bool format ***
-string(6) "format"
-string(1) "1"
-string(3) "1 0"
-string(5) "1 0 1"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : basic functionality - using bool format ***
unicode(6) "format"
unicode(1) "1"
unicode(3) "1 0"
unicode(5) "1 0 1"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using char format ***
-string(6) "format"
-string(1) "A"
-string(3) "A B"
-string(5) "A B C"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : basic functionality - using char format ***
unicode(6) "format"
unicode(1) "A"
unicode(3) "A B"
unicode(5) "A B C"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using exponential format ***
-string(6) "format"
-string(11) "1.000000e+3"
-string(23) "1.000000E+3 2.000000e+3"
-string(35) "1.000000e+3 2.000000E+3 3.000000e+3"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : basic functionality - using exponential format ***
unicode(6) "format"
unicode(11) "1.000000e+3"
unicode(23) "1.000000E+3 2.000000e+3"
unicode(35) "1.000000e+3 2.000000E+3 3.000000e+3"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using unsigned format ***
-string(6) "format"
-string(10) "4294966185"
-string(21) "4294966185 4293732729"
-string(29) "4294966185 4293732729 2345432"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : basic functionality - using unsigned format ***
unicode(6) "format"
unicode(10) "4294966185"
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using unsigned format ***
-string(6) "format"
-string(20) "18446744073709550505"
-string(41) "18446744073709550505 18446744073708317049"
-string(49) "18446744073709550505 18446744073708317049 2345432"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : basic functionality - using unsigned format ***
unicode(6) "format"
unicode(20) "18446744073709550505"
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using octal format ***
-string(6) "format"
-string(2) "21"
-string(14) "21 37777777431"
-string(18) "21 37777777431 567"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : basic functionality - using octal format ***
unicode(6) "format"
unicode(2) "21"
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using octal format ***
-string(6) "format"
-string(2) "21"
-string(25) "21 1777777777777777777431"
-string(29) "21 1777777777777777777431 567"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : basic functionality - using octal format ***
unicode(6) "format"
unicode(2) "21"
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using hexadecimal format ***
-string(6) "format"
-string(1) "b"
-string(1) "B"
-string(4) "b 84"
-string(4) "B 84"
-string(7) "b 84 b1"
-string(7) "B 84 B1"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : basic functionality - using hexadecimal format ***
unicode(6) "format"
unicode(1) "b"
unicode(4) "B 84"
unicode(7) "b 84 b1"
unicode(7) "B 84 B1"
-Done
\ No newline at end of file
+Done
-- Testing sprintf() function with Zero arguments --
-Warning: Wrong parameter count for sprintf() in %s on line %d%d
-bool(false)
-
--- Testing sprintf() function with less than expected no. of arguments --
-
-Warning: sprintf(): Too few arguments in %s on line %d%d
-bool(false)
-
-Warning: sprintf(): Too few arguments in %s on line %d%d
-bool(false)
-
-Warning: sprintf(): Too few arguments in %s on line %d%d
-bool(false)
-
-Warning: sprintf(): Too few arguments in %s on line %d%d
-bool(false)
-
-Warning: sprintf(): Too few arguments in %s on line %d%d
-bool(false)
-
-Warning: sprintf(): Too few arguments in %s on line %d%d
-bool(false)
-Done
-
---UEXPECTF--
-*** Testing sprintf() : error conditions ***
-
--- Testing sprintf() function with Zero arguments --
-
Warning: Wrong parameter count for sprintf() in %s on line %d
bool(false)
?>
--EXPECTF--
-string(4) "1.20"
-string(4) "1.20"
-string(4) "1.20"
-string(4) "1.20"
-
-string(5) " 3.40"
-string(5) "3.40 "
-string(5) "03.40"
-string(5) "3.400"
-
-string(7) " -5.60"
-string(7) "-5.60 "
-string(7) "-005.60"
-string(7) "-5.6000"
-
-string(105) "1234567%d.0000"
---UEXPECTF--
unicode(4) "1.20"
unicode(4) "1.20"
unicode(4) "1.20"
var_dump(sprintf("%.3e", $number)); // outputs 3.63e+8
?>
--EXPECTREGEX--
-string\(7\) \"100\.426\"
-string\(6\) \"100\.43\"
-string\(3\) \"100\"
-string\(3\) \"100\"
-string\(3\) \"144\"
-string\(3\) \"144\"
-string\(34\) \"There are 100 monkeys in the world\"
-string\(28\) \"The 100\.1 contains 0 monkeys\"
-string\(30\) \"The world contains 100 monkeys\"
-string\(76\) \"The world contains 100 monkeys.
- That's a nice world full of 100 monkeys\.\"
-string\(33\) \"%b = '10100111101010011010101101'\"
-string\(8\) \"%c = 'A'\"
-string\(15\) \"%d = '43951789'\"
-string\(18\) \"%e = '4\.395179e\+7'\"
-string\(15\) \"%u = '43951789'\"
-(string\(17\) \"%u = '4251015507'\"|string\(27\) \"%u = '18446744073665599827'\")
-string\(22\) \"%f = '43951789\.000000'\"
-string\(16\) \"%o = '247523255'\"
-string\(15\) \"%s = '43951789'\"
-string\(14\) \"%x = '29ea6ad'\"
-string\(14\) \"%X = '29EA6AD'\"
-string\(17\) \"%\+d = '\+43951789'\"
-string\(17\) \"%\+d = '-43951789'\"
-string\(8\) \"\[monkey\]\"
-string\(12\) \"\[ monkey\]\"
-string\(12\) \"\[monkey \]\"
-string\(12\) \"\[0000monkey\]\"
-string\(12\) \"\[####monkey\]\"
-string\(12\) \"\[many monke\]\"
-string\(10\) \"2006-12-18\"
-string\(6\) \"123\.10\"
-string\(8\) \"3\.625e\+8\"
---UEXPECTREGEX--
unicode\(7\) \"100\.426\"
unicode\(6\) \"100\.43\"
unicode\(3\) \"100\"
var_dump(sprintf("%.3e", $money));
?>
--EXPECT--
-string(7) "100,426"
-string(6) "100,43"
-string(11) "100,426000'"
-string(6) "123,10"
-string(8) "1.231e+2"
---UEXPECT--
unicode(7) "100,426"
unicode(6) "100,43"
unicode(11) "100,426000'"
--EXPECTF--
*** Testing sprintf() : with unexpected values for format argument ***
--- Iteration 1 --
-string(1) "0"
-string(1) "0"
-string(1) "0"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "1"
-string(1) "1"
-
--- Iteration 3 --
-string(5) "12345"
-string(5) "12345"
-string(5) "12345"
-
--- Iteration 4 --
-string(5) "-2345"
-string(5) "-2345"
-string(5) "-2345"
-
--- Iteration 5 --
-string(4) "10.5"
-string(4) "10.5"
-string(4) "10.5"
-
--- Iteration 6 --
-string(5) "-10.5"
-string(5) "-10.5"
-string(5) "-10.5"
-
--- Iteration 7 --
-string(12) "101234567000"
-string(12) "101234567000"
-string(12) "101234567000"
-
--- Iteration 8 --
-string(13) "1.07654321E-9"
-string(13) "1.07654321E-9"
-string(13) "1.07654321E-9"
-
--- Iteration 9 --
-string(3) "0.5"
-string(3) "0.5"
-string(3) "0.5"
-
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 15 --
-string(0) ""
-string(0) ""
-string(0) ""
-
--- Iteration 16 --
-string(0) ""
-string(0) ""
-string(0) ""
-
--- Iteration 17 --
-string(1) "1"
-string(1) "1"
-string(1) "1"
-
--- Iteration 18 --
-string(0) ""
-string(0) ""
-string(0) ""
-
--- Iteration 19 --
-string(1) "1"
-string(1) "1"
-string(1) "1"
-
--- Iteration 20 --
-string(0) ""
-string(0) ""
-string(0) ""
-
--- Iteration 21 --
-string(0) ""
-string(0) ""
-string(0) ""
-
--- Iteration 22 --
-string(0) ""
-string(0) ""
-string(0) ""
-
--- Iteration 23 --
-string(6) "Object"
-string(6) "Object"
-string(6) "Object"
-
--- Iteration 24 --
-string(0) ""
-string(0) ""
-string(0) ""
-
--- Iteration 25 --
-string(0) ""
-string(0) ""
-string(0) ""
-
--- Iteration 26 --
-string(%d) "Resource id #%d"
-string(%d) "Resource id #%d"
-string(%d) "Resource id #%d"
-Done
---UEXPECTF--
-*** Testing sprintf() : with unexpected values for format argument ***
-
-- Iteration 1 --
unicode(1) "0"
unicode(1) "0"
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : float formats with integer values ***
-
--- Iteration 1 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 2 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 3 --
-string(9) "-1.000000"
-string(1) "f"
-string(9) "-1.000000"
-string(1) "f"
-string(10) " -1.000000"
-string(10) "-1.000000 "
-string(10) " -1.000000"
-string(10) "
--1.000000"
-string(9) "-1.000000"
-string(30) " -1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 4 --
-string(18) "-2147483648.000000"
-string(1) "f"
-string(18) "-2147483648.000000"
-string(1) "f"
-string(19) " -2147483648.000000"
-string(19) "-2147483648.000000 "
-string(19) " -2147483648.000000"
-string(19) "
--2147483648.000000"
-string(18) "-2147483648.000000"
-string(30) " -2147483648.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 5 --
-string(18) "-2147483647.000000"
-string(1) "f"
-string(18) "-2147483647.000000"
-string(1) "f"
-string(19) " -2147483647.000000"
-string(19) "-2147483647.000000 "
-string(19) " -2147483647.000000"
-string(19) "
--2147483647.000000"
-string(18) "-2147483647.000000"
-string(30) " -2147483647.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 6 --
-string(17) "2147483647.000000"
-string(1) "f"
-string(17) "2147483647.000000"
-string(1) "f"
-string(18) " 2147483647.000000"
-string(18) "2147483647.000000 "
-string(18) " 2147483647.000000"
-string(18) "
-2147483647.000000"
-string(17) "2147483647.000000"
-string(30) " 2147483647.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 7 --
-string(17) "2147483640.000000"
-string(1) "f"
-string(17) "2147483640.000000"
-string(1) "f"
-string(18) " 2147483640.000000"
-string(18) "2147483640.000000 "
-string(18) " 2147483640.000000"
-string(18) "
-2147483640.000000"
-string(17) "2147483640.000000"
-string(30) " 2147483640.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 8 --
-string(11) "4667.000000"
-string(1) "f"
-string(11) "4667.000000"
-string(1) "f"
-string(12) " 4667.000000"
-string(12) "4667.000000 "
-string(12) " 4667.000000"
-string(12) "
-4667.000000"
-string(11) "4667.000000"
-string(30) " 4667.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 9 --
-string(11) "4779.000000"
-string(1) "f"
-string(11) "4779.000000"
-string(1) "f"
-string(12) " 4779.000000"
-string(12) "4779.000000 "
-string(12) " 4779.000000"
-string(12) "
-4779.000000"
-string(11) "4779.000000"
-string(30) " 4779.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 10 --
-string(11) "4095.000000"
-string(1) "f"
-string(11) "4095.000000"
-string(1) "f"
-string(12) " 4095.000000"
-string(12) "4095.000000 "
-string(12) " 4095.000000"
-string(12) "
-4095.000000"
-string(11) "4095.000000"
-string(30) " 4095.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 11 --
-string(10) "250.000000"
-string(1) "f"
-string(10) "250.000000"
-string(1) "f"
-string(11) " 250.000000"
-string(11) "250.000000 "
-string(11) " 250.000000"
-string(11) "
-250.000000"
-string(10) "250.000000"
-string(30) " 250.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 12 --
-string(18) "-2147483648.000000"
-string(1) "f"
-string(18) "-2147483648.000000"
-string(1) "f"
-string(19) " -2147483648.000000"
-string(19) "-2147483648.000000 "
-string(19) " -2147483648.000000"
-string(19) "
--2147483648.000000"
-string(18) "-2147483648.000000"
-string(30) " -2147483648.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 13 --
-string(17) "2147483647.000000"
-string(1) "f"
-string(17) "2147483647.000000"
-string(1) "f"
-string(18) " 2147483647.000000"
-string(18) "2147483647.000000 "
-string(18) " 2147483647.000000"
-string(18) "
-2147483647.000000"
-string(17) "2147483647.000000"
-string(30) " 2147483647.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 14 --
-string(17) "2147483647.000000"
-string(1) "f"
-string(17) "2147483647.000000"
-string(1) "f"
-string(18) " 2147483647.000000"
-string(18) "2147483647.000000 "
-string(18) " 2147483647.000000"
-string(18) "
-2147483647.000000"
-string(17) "2147483647.000000"
-string(30) " 2147483647.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 15 --
-string(9) "83.000000"
-string(1) "f"
-string(9) "83.000000"
-string(1) "f"
-string(10) " 83.000000"
-string(10) "83.000000 "
-string(10) " 83.000000"
-string(10) "
-83.000000"
-string(9) "83.000000"
-string(30) " 83.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 16 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 17 --
-string(18) "-2147483648.000000"
-string(1) "f"
-string(18) "-2147483648.000000"
-string(1) "f"
-string(19) " -2147483648.000000"
-string(19) "-2147483648.000000 "
-string(19) " -2147483648.000000"
-string(19) "
--2147483648.000000"
-string(18) "-2147483648.000000"
-string(30) " -2147483648.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 18 --
-string(17) "2147483647.000000"
-string(1) "f"
-string(17) "2147483647.000000"
-string(1) "f"
-string(18) " 2147483647.000000"
-string(18) "2147483647.000000 "
-string(18) " 2147483647.000000"
-string(18) "
-2147483647.000000"
-string(17) "2147483647.000000"
-string(30) " 2147483647.000000"
-string(4) "0-9]"
-string(1) "f"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : float formats with integer values ***
-- Iteration 1 --
unicode(30) " 2147483647.000000"
unicode(4) "0-9]"
unicode(1) "f"
-Done
\ No newline at end of file
+Done
--EXPECTF--
*** Testing sprintf() : float formats with resource values ***
--- Iteration 1 --
-string(%d) "%d.000000"
-string(1) "f"
-string(%d) "%d.000000"
-string(1) "f"
-string(%d) " %d.000000"
-string(%d) "%d.000000 "
-string(%d) " %d.000000"
-string(%d) "
-%d.000000"
-string(%d) "%d.000000"
-string(%d) "%s%d.000000"
-string(%d) "0-9]"
-string(1) "f"
-
--- Iteration 2 --
-string(%d) "%d.000000"
-string(1) "f"
-string(%d) "%d.000000"
-string(1) "f"
-string(%d) " %d.000000"
-string(%d) "%d.000000 "
-string(%d) " %d.000000"
-string(%d) "
-%d.000000"
-string(%d) "%d.000000"
-string(%d) "%s%d.000000"
-string(%d) "0-9]"
-string(1) "f"
-Done
---UEXPECTF--
-*** Testing sprintf() : float formats with resource values ***
-
-- Iteration 1 --
unicode(%d) "%d.000000"
unicode(1) "f"
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : float formats with arrays ***
-
--- Iteration 1 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 2 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 3 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 4 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 5 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 6 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 7 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 8 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 9 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 10 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 11 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 12 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 13 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 14 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : float formats with arrays ***
-- Iteration 1 --
unicode(30) " 1.000000"
unicode(4) "0-9]"
unicode(1) "f"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : float formats with strings ***
-
--- Iteration 1 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 2 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 3 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 4 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 5 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 6 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 7 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 8 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 9 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 10 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 11 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 12 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 13 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 14 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 15 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 16 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 17 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 18 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 19 --
-string(10) "123.456000"
-string(1) "f"
-string(10) "123.456000"
-string(1) "f"
-string(11) " 123.456000"
-string(11) "123.456000 "
-string(11) " 123.456000"
-string(11) "
-123.456000"
-string(10) "123.456000"
-string(30) " 123.456000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 20 --
-string(10) "123.456000"
-string(1) "f"
-string(10) "123.456000"
-string(1) "f"
-string(11) " 123.456000"
-string(11) "123.456000 "
-string(11) " 123.456000"
-string(11) "
-123.456000"
-string(10) "123.456000"
-string(30) " 123.456000"
-string(4) "0-9]"
-string(1) "f"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : float formats with strings ***
-- Iteration 1 --
unicode(30) " 123.456000"
unicode(4) "0-9]"
unicode(1) "f"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : float formats with boolean values ***
-
--- Iteration 1 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 2 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 3 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) " 1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) " 1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 4 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : float formats with boolean values ***
-- Iteration 1 --
unicode(30) " 0.000000"
unicode(4) "0-9]"
unicode(1) "f"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : string formats with float values ***
-
--- Iteration 1 --
-string(11) "-2147483649"
-string(1) "s"
-string(11) "-2147483649"
-string(1) "s"
-string(12) " -2147483649"
-string(12) "-2147483649 "
-string(12) " -2147483649"
-string(12) "
--2147483649"
-string(11) "-2147483649"
-string(30) " -2147483649"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 2 --
-string(10) "2147483648"
-string(1) "s"
-string(10) "2147483648"
-string(1) "s"
-string(11) " 2147483648"
-string(11) "2147483648 "
-string(11) " 2147483648"
-string(11) "
-2147483648"
-string(10) "2147483648"
-string(30) " 2147483648"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 3 --
-string(11) "-2147483649"
-string(1) "s"
-string(11) "-2147483649"
-string(1) "s"
-string(12) " -2147483649"
-string(12) "-2147483649 "
-string(12) " -2147483649"
-string(12) "
--2147483649"
-string(11) "-2147483649"
-string(30) " -2147483649"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 4 --
-string(11) "34359738369"
-string(1) "s"
-string(11) "34359738369"
-string(1) "s"
-string(12) " 34359738369"
-string(12) "34359738369 "
-string(12) " 34359738369"
-string(12) "
-34359738369"
-string(11) "34359738369"
-string(30) " 34359738369"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 5 --
-string(10) "2147483649"
-string(1) "s"
-string(10) "2147483649"
-string(1) "s"
-string(11) " 2147483649"
-string(11) "2147483649 "
-string(11) " 2147483649"
-string(11) "
-2147483649"
-string(10) "2147483649"
-string(30) " 2147483649"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 6 --
-string(11) "-2147483649"
-string(1) "s"
-string(11) "-2147483649"
-string(1) "s"
-string(12) " -2147483649"
-string(12) "-2147483649 "
-string(12) " -2147483649"
-string(12) "
--2147483649"
-string(11) "-2147483649"
-string(30) " -2147483649"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 7 --
-string(1) "0"
-string(1) "s"
-string(1) "0"
-string(1) "s"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 8 --
-string(4) "-0.1"
-string(1) "s"
-string(4) "-0.1"
-string(1) "s"
-string(5) " -0.1"
-string(5) "-0.1 "
-string(5) " -0.1"
-string(5) "
--0.1"
-string(4) "-0.1"
-string(30) " -0.1"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 9 --
-string(1) "1"
-string(1) "s"
-string(1) "1"
-string(1) "s"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 10 --
-string(4) "1000"
-string(1) "s"
-string(4) "1000"
-string(1) "s"
-string(5) " 1000"
-string(5) "1000 "
-string(5) " 1000"
-string(5) "
-1000"
-string(4) "1000"
-string(30) " 1000"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 11 --
-string(4) "-100"
-string(1) "s"
-string(4) "-100"
-string(1) "s"
-string(5) " -100"
-string(5) "-100 "
-string(5) " -100"
-string(5) "
--100"
-string(4) "-100"
-string(30) " -100"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 12 --
-string(9) "123456000"
-string(1) "s"
-string(9) "123456000"
-string(1) "s"
-string(10) " 123456000"
-string(10) "123456000 "
-string(10) " 123456000"
-string(10) "
-123456000"
-string(9) "123456000"
-string(30) " 123456000"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 13 --
-string(11) "-1234567000"
-string(1) "s"
-string(11) "-1234567000"
-string(1) "s"
-string(12) " -1234567000"
-string(12) "-1234567000 "
-string(12) " -1234567000"
-string(12) "
--1234567000"
-string(11) "-1234567000"
-string(30) " -1234567000"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 14 --
-string(2) "10"
-string(1) "s"
-string(2) "10"
-string(1) "s"
-string(3) " 10"
-string(3) "10 "
-string(3) " 10"
-string(3) "
-10"
-string(4) " 10"
-string(30) " 10"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 15 --
-string(7) "1012300"
-string(1) "s"
-string(7) "1012300"
-string(1) "s"
-string(8) " 1012300"
-string(8) "1012300 "
-string(8) " 1012300"
-string(8) "
-1012300"
-string(7) "1012300"
-string(30) " 1012300"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : string formats with float values ***
-- Iteration 1 --
--EXPECTF--
*** Testing sprintf() : string formats with resource values ***
--- Iteration 1 --
-string(%d) "Resource id #%d"
-string(1) "s"
-string(%d) "Resource id #%d"
-string(1) "s"
-string(%d) " Resource id #%d"
-string(%d) "Resource id #%d "
-string(%d) " Resource id #%d"
-string(%d) "
-Resource id #%d"
-string(%d) "Resource id #%d"
-string(%d) "%sResource id #%d"
-string(%d) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 2 --
-string(%d) "Resource id #%d"
-string(1) "s"
-string(%d) "Resource id #%d"
-string(1) "s"
-string(%d) " Resource id #%d"
-string(%d) "Resource id #%d "
-string(%d) " Resource id #%d"
-string(%d) "
-Resource id #%d"
-string(%d) "Resource id #%d"
-string(%d) "%sResource id #%d"
-string(%d) "a-zA-Z0-9]"
-string(1) "s"
-Done
---UEXPECTF--
-*** Testing sprintf() : string formats with resource values ***
-
-- Iteration 1 --
unicode(%d) "Resource id #%d"
unicode(1) "s"
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : string formats with array values ***
-
--- Iteration 1 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) " Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) " Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 2 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) " Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) " Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 3 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) " Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) " Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 4 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) " Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) " Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 5 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) " Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) " Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 6 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) " Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) " Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 7 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) " Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) " Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 8 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) " Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) " Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 9 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) " Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) " Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 10 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) " Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) " Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 11 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) " Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) " Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 12 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) " Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) " Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : string formats with array values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : string formats with integer values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "s"
-string(1) "0"
-string(1) "s"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "s"
-string(1) "1"
-string(1) "s"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 3 --
-string(2) "-1"
-string(1) "s"
-string(2) "-1"
-string(1) "s"
-string(3) " -1"
-string(3) "-1 "
-string(3) " -1"
-string(3) "
--1"
-string(4) " -1"
-string(30) " -1"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 4 --
-string(11) "-2147483648"
-string(1) "s"
-string(11) "-2147483648"
-string(1) "s"
-string(12) " -2147483648"
-string(12) "-2147483648 "
-string(12) " -2147483648"
-string(12) "
--2147483648"
-string(11) "-2147483648"
-string(30) " -2147483648"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 5 --
-string(11) "-2147483647"
-string(1) "s"
-string(11) "-2147483647"
-string(1) "s"
-string(12) " -2147483647"
-string(12) "-2147483647 "
-string(12) " -2147483647"
-string(12) "
--2147483647"
-string(11) "-2147483647"
-string(30) " -2147483647"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 6 --
-string(10) "2147483647"
-string(1) "s"
-string(10) "2147483647"
-string(1) "s"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 7 --
-string(10) "2147483640"
-string(1) "s"
-string(10) "2147483640"
-string(1) "s"
-string(11) " 2147483640"
-string(11) "2147483640 "
-string(11) " 2147483640"
-string(11) "
-2147483640"
-string(10) "2147483640"
-string(30) " 2147483640"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 8 --
-string(4) "4667"
-string(1) "s"
-string(4) "4667"
-string(1) "s"
-string(5) " 4667"
-string(5) "4667 "
-string(5) " 4667"
-string(5) "
-4667"
-string(4) "4667"
-string(30) " 4667"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 9 --
-string(4) "4779"
-string(1) "s"
-string(4) "4779"
-string(1) "s"
-string(5) " 4779"
-string(5) "4779 "
-string(5) " 4779"
-string(5) "
-4779"
-string(4) "4779"
-string(30) " 4779"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 10 --
-string(4) "4095"
-string(1) "s"
-string(4) "4095"
-string(1) "s"
-string(5) " 4095"
-string(5) "4095 "
-string(5) " 4095"
-string(5) "
-4095"
-string(4) "4095"
-string(30) " 4095"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 11 --
-string(3) "250"
-string(1) "s"
-string(3) "250"
-string(1) "s"
-string(4) " 250"
-string(4) "250 "
-string(4) " 250"
-string(4) "
-250"
-string(4) " 250"
-string(30) " 250"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 12 --
-string(11) "-2147483648"
-string(1) "s"
-string(11) "-2147483648"
-string(1) "s"
-string(12) " -2147483648"
-string(12) "-2147483648 "
-string(12) " -2147483648"
-string(12) "
--2147483648"
-string(11) "-2147483648"
-string(30) " -2147483648"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 13 --
-string(10) "2147483647"
-string(1) "s"
-string(10) "2147483647"
-string(1) "s"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 14 --
-string(10) "2147483647"
-string(1) "s"
-string(10) "2147483647"
-string(1) "s"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 15 --
-string(2) "83"
-string(1) "s"
-string(2) "83"
-string(1) "s"
-string(3) " 83"
-string(3) "83 "
-string(3) " 83"
-string(3) "
-83"
-string(4) " 83"
-string(30) " 83"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 16 --
-string(1) "1"
-string(1) "s"
-string(1) "1"
-string(1) "s"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 17 --
-string(11) "-2147483648"
-string(1) "s"
-string(11) "-2147483648"
-string(1) "s"
-string(12) " -2147483648"
-string(12) "-2147483648 "
-string(12) " -2147483648"
-string(12) "
--2147483648"
-string(11) "-2147483648"
-string(30) " -2147483648"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 18 --
-string(10) "2147483647"
-string(1) "s"
-string(10) "2147483647"
-string(1) "s"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : string formats with integer values ***
-- Iteration 1 --
--EXPECTF--
*** Testing sprintf() : with different types of values passed for arg1 argument ***
--- Iteration 1 --
-string(1) "0"
-string(1) "0"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "1"
-
--- Iteration 3 --
-string(5) "12345"
-string(5) "12345"
-
--- Iteration 4 --
-string(5) "-2345"
-string(5) "-2345"
-
--- Iteration 5 --
-string(4) "10.5"
-string(4) "10.5"
-
--- Iteration 6 --
-string(5) "-10.5"
-string(5) "-10.5"
-
--- Iteration 7 --
-string(12) "101234567000"
-string(12) "101234567000"
-
--- Iteration 8 --
-string(13) "1.07654321E-9"
-string(13) "1.07654321E-9"
-
--- Iteration 9 --
-string(3) "0.5"
-string(3) "0.5"
-
--- Iteration 10 --
-string(5) "Array"
-string(5) "Array"
-
--- Iteration 11 --
-string(5) "Array"
-string(5) "Array"
-
--- Iteration 12 --
-string(5) "Array"
-string(5) "Array"
-
--- Iteration 13 --
-string(5) "Array"
-string(5) "Array"
-
--- Iteration 14 --
-string(5) "Array"
-string(5) "Array"
-
--- Iteration 15 --
-string(0) ""
-string(0) ""
-
--- Iteration 16 --
-string(0) ""
-string(0) ""
-
--- Iteration 17 --
-string(1) "1"
-string(1) "1"
-
--- Iteration 18 --
-string(0) ""
-string(0) ""
-
--- Iteration 19 --
-string(1) "1"
-string(1) "1"
-
--- Iteration 20 --
-string(0) ""
-string(0) ""
-
--- Iteration 21 --
-string(0) ""
-string(0) ""
-
--- Iteration 22 --
-string(0) ""
-string(0) ""
-
--- Iteration 23 --
-string(6) "string"
-string(6) "string"
-
--- Iteration 24 --
-string(6) "string"
-string(6) "string"
-
--- Iteration 25 --
-string(6) "Object"
-string(6) "Object"
-
--- Iteration 26 --
-string(0) ""
-string(0) ""
-
--- Iteration 27 --
-string(0) ""
-string(0) ""
-
--- Iteration 28 --
-string(%d) "Resource id #%d"
-string(%d) "Resource id #%d"
-Done
---UEXPECTF--
-*** Testing sprintf() : with different types of values passed for arg1 argument ***
-
-- Iteration 1 --
unicode(1) "0"
unicode(1) "0"
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : string formats with boolean values ***
-
--- Iteration 1 --
-string(1) "1"
-string(1) "s"
-string(1) "1"
-string(1) "s"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 2 --
-string(0) ""
-string(1) "s"
-string(0) ""
-string(1) "s"
-string(1) " "
-string(1) " "
-string(1) " "
-string(1) "
-"
-string(4) " "
-string(30) " "
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "s"
-string(1) "1"
-string(1) "s"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 4 --
-string(0) ""
-string(1) "s"
-string(0) ""
-string(1) "s"
-string(1) " "
-string(1) " "
-string(1) " "
-string(1) "
-"
-string(4) " "
-string(30) " "
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : string formats with boolean values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : char formats with resource values ***
-
--- Iteration 1 --
-string(1) "\ 5"
-string(1) "c"
-string(1) "\ 5"
-string(1) "c"
-string(2) " \ 5"
-string(2) "\ 5 "
-string(2) " \ 5"
-string(2) "
-\ 5"
-string(1) "\ 5"
-string(1) "\ 5"
-string(11) "a-bA-B@#$&]"
-string(1) "c"
-
--- Iteration 2 --
-string(1) "\ 6"
-string(1) "c"
-string(1) "\ 6"
-string(1) "c"
-string(2) " \ 6"
-string(2) "\ 6 "
-string(2) " \ 6"
-string(2) "
-\ 6"
-string(1) "\ 6"
-string(1) "\ 6"
-string(11) "a-bA-B@#$&]"
-string(1) "c"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : char formats with resource values ***
-- Iteration 1 --
unicode(1) "\ 6"
unicode(11) "a-bA-B@#$&]"
unicode(1) "c"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : octal formats with integer values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 3 --
-string(11) "37777777777"
-string(1) "o"
-string(11) "37777777777"
-string(1) "o"
-string(12) " 37777777777"
-string(12) "37777777777 "
-string(12) " 37777777777"
-string(12) "
-37777777777"
-string(11) "37777777777"
-string(30) " 37777777777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 4 --
-string(11) "20000000000"
-string(1) "o"
-string(11) "20000000000"
-string(1) "o"
-string(12) " 20000000000"
-string(12) "20000000000 "
-string(12) " 20000000000"
-string(12) "
-20000000000"
-string(11) "20000000000"
-string(30) " 20000000000"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 5 --
-string(11) "20000000001"
-string(1) "o"
-string(11) "20000000001"
-string(1) "o"
-string(12) " 20000000001"
-string(12) "20000000001 "
-string(12) " 20000000001"
-string(12) "
-20000000001"
-string(11) "20000000001"
-string(30) " 20000000001"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 6 --
-string(11) "17777777777"
-string(1) "o"
-string(11) "17777777777"
-string(1) "o"
-string(12) " 17777777777"
-string(12) "17777777777 "
-string(12) " 17777777777"
-string(12) "
-17777777777"
-string(11) "17777777777"
-string(30) " 17777777777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 7 --
-string(11) "17777777770"
-string(1) "o"
-string(11) "17777777770"
-string(1) "o"
-string(12) " 17777777770"
-string(12) "17777777770 "
-string(12) " 17777777770"
-string(12) "
-17777777770"
-string(11) "17777777770"
-string(30) " 17777777770"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 8 --
-string(5) "11073"
-string(1) "o"
-string(5) "11073"
-string(1) "o"
-string(6) " 11073"
-string(6) "11073 "
-string(6) " 11073"
-string(6) "
-11073"
-string(5) "11073"
-string(30) " 11073"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 9 --
-string(5) "11253"
-string(1) "o"
-string(5) "11253"
-string(1) "o"
-string(6) " 11253"
-string(6) "11253 "
-string(6) " 11253"
-string(6) "
-11253"
-string(5) "11253"
-string(30) " 11253"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 10 --
-string(4) "7777"
-string(1) "o"
-string(4) "7777"
-string(1) "o"
-string(5) " 7777"
-string(5) "7777 "
-string(5) " 7777"
-string(5) "
-7777"
-string(4) "7777"
-string(30) " 7777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 11 --
-string(3) "372"
-string(1) "o"
-string(3) "372"
-string(1) "o"
-string(4) " 372"
-string(4) "372 "
-string(4) " 372"
-string(4) "
-372"
-string(4) " 372"
-string(30) " 372"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 12 --
-string(11) "20000000000"
-string(1) "o"
-string(11) "20000000000"
-string(1) "o"
-string(12) " 20000000000"
-string(12) "20000000000 "
-string(12) " 20000000000"
-string(12) "
-20000000000"
-string(11) "20000000000"
-string(30) " 20000000000"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 13 --
-string(11) "17777777777"
-string(1) "o"
-string(11) "17777777777"
-string(1) "o"
-string(12) " 17777777777"
-string(12) "17777777777 "
-string(12) " 17777777777"
-string(12) "
-17777777777"
-string(11) "17777777777"
-string(30) " 17777777777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 14 --
-string(11) "17777777777"
-string(1) "o"
-string(11) "17777777777"
-string(1) "o"
-string(12) " 17777777777"
-string(12) "17777777777 "
-string(12) " 17777777777"
-string(12) "
-17777777777"
-string(11) "17777777777"
-string(30) " 17777777777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 15 --
-string(3) "123"
-string(1) "o"
-string(3) "123"
-string(1) "o"
-string(4) " 123"
-string(4) "123 "
-string(4) " 123"
-string(4) "
-123"
-string(4) " 123"
-string(30) " 123"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 16 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 17 --
-string(11) "20000000000"
-string(1) "o"
-string(11) "20000000000"
-string(1) "o"
-string(12) " 20000000000"
-string(12) "20000000000 "
-string(12) " 20000000000"
-string(12) "
-20000000000"
-string(11) "20000000000"
-string(30) " 20000000000"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 18 --
-string(11) "17777777777"
-string(1) "o"
-string(11) "17777777777"
-string(1) "o"
-string(12) " 17777777777"
-string(12) "17777777777 "
-string(12) " 17777777777"
-string(12) "
-17777777777"
-string(11) "17777777777"
-string(30) " 17777777777"
-string(4) "0-7]"
-string(1) "o"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : octal formats with integer values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : octal formats with integer values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 3 --
-string(22) "1777777777777777777777"
-string(1) "o"
-string(22) "1777777777777777777777"
-string(1) "o"
-string(23) " 1777777777777777777777"
-string(23) "1777777777777777777777 "
-string(23) " 1777777777777777777777"
-string(23) "
-1777777777777777777777"
-string(22) "1777777777777777777777"
-string(30) " 1777777777777777777777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 4 --
-string(22) "1777777777760000000000"
-string(1) "o"
-string(22) "1777777777760000000000"
-string(1) "o"
-string(23) " 1777777777760000000000"
-string(23) "1777777777760000000000 "
-string(23) " 1777777777760000000000"
-string(23) "
-1777777777760000000000"
-string(22) "1777777777760000000000"
-string(30) " 1777777777760000000000"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 5 --
-string(22) "1777777777760000000001"
-string(1) "o"
-string(22) "1777777777760000000001"
-string(1) "o"
-string(23) " 1777777777760000000001"
-string(23) "1777777777760000000001 "
-string(23) " 1777777777760000000001"
-string(23) "
-1777777777760000000001"
-string(22) "1777777777760000000001"
-string(30) " 1777777777760000000001"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 6 --
-string(11) "17777777777"
-string(1) "o"
-string(11) "17777777777"
-string(1) "o"
-string(12) " 17777777777"
-string(12) "17777777777 "
-string(12) " 17777777777"
-string(12) "
-17777777777"
-string(11) "17777777777"
-string(30) " 17777777777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 7 --
-string(11) "17777777770"
-string(1) "o"
-string(11) "17777777770"
-string(1) "o"
-string(12) " 17777777770"
-string(12) "17777777770 "
-string(12) " 17777777770"
-string(12) "
-17777777770"
-string(11) "17777777770"
-string(30) " 17777777770"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 8 --
-string(5) "11073"
-string(1) "o"
-string(5) "11073"
-string(1) "o"
-string(6) " 11073"
-string(6) "11073 "
-string(6) " 11073"
-string(6) "
-11073"
-string(5) "11073"
-string(30) " 11073"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 9 --
-string(5) "11253"
-string(1) "o"
-string(5) "11253"
-string(1) "o"
-string(6) " 11253"
-string(6) "11253 "
-string(6) " 11253"
-string(6) "
-11253"
-string(5) "11253"
-string(30) " 11253"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 10 --
-string(4) "7777"
-string(1) "o"
-string(4) "7777"
-string(1) "o"
-string(5) " 7777"
-string(5) "7777 "
-string(5) " 7777"
-string(5) "
-7777"
-string(4) "7777"
-string(30) " 7777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 11 --
-string(3) "372"
-string(1) "o"
-string(3) "372"
-string(1) "o"
-string(4) " 372"
-string(4) "372 "
-string(4) " 372"
-string(4) "
-372"
-string(4) " 372"
-string(30) " 372"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 12 --
-string(22) "1777777777760000000000"
-string(1) "o"
-string(22) "1777777777760000000000"
-string(1) "o"
-string(23) " 1777777777760000000000"
-string(23) "1777777777760000000000 "
-string(23) " 1777777777760000000000"
-string(23) "
-1777777777760000000000"
-string(22) "1777777777760000000000"
-string(30) " 1777777777760000000000"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 13 --
-string(11) "17777777777"
-string(1) "o"
-string(11) "17777777777"
-string(1) "o"
-string(12) " 17777777777"
-string(12) "17777777777 "
-string(12) " 17777777777"
-string(12) "
-17777777777"
-string(11) "17777777777"
-string(30) " 17777777777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 14 --
-string(11) "17777777777"
-string(1) "o"
-string(11) "17777777777"
-string(1) "o"
-string(12) " 17777777777"
-string(12) "17777777777 "
-string(12) " 17777777777"
-string(12) "
-17777777777"
-string(11) "17777777777"
-string(30) " 17777777777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 15 --
-string(3) "123"
-string(1) "o"
-string(3) "123"
-string(1) "o"
-string(4) " 123"
-string(4) "123 "
-string(4) " 123"
-string(4) "
-123"
-string(4) " 123"
-string(30) " 123"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 16 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 17 --
-string(22) "1777777777760000000000"
-string(1) "o"
-string(22) "1777777777760000000000"
-string(1) "o"
-string(23) " 1777777777760000000000"
-string(23) "1777777777760000000000 "
-string(23) " 1777777777760000000000"
-string(23) "
-1777777777760000000000"
-string(22) "1777777777760000000000"
-string(30) " 1777777777760000000000"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 18 --
-string(11) "17777777777"
-string(1) "o"
-string(11) "17777777777"
-string(1) "o"
-string(12) " 17777777777"
-string(12) "17777777777 "
-string(12) " 17777777777"
-string(12) "
-17777777777"
-string(11) "17777777777"
-string(30) " 17777777777"
-string(4) "0-7]"
-string(1) "o"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : octal formats with integer values ***
-- Iteration 1 --
// array of octal formats
$octal_formats = array(
"%o", "%ho", "%lo",
- "%Lo", " %o", "%o ",
+ "%Lo", " %o", "%o ",
"\t%o", "\n%o", "%4o",
"%30o", "%[0-7]", "%*o"
);
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : octal formats with float values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 4 --
-string(6) "303240"
-string(1) "o"
-string(6) "303240"
-string(1) "o"
-string(7) " 303240"
-string(7) "303240 "
-string(7) " 303240"
-string(7) "
-303240"
-string(6) "303240"
-string(30) " 303240"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 5 --
-string(11) "37774136700"
-string(1) "o"
-string(11) "37774136700"
-string(1) "o"
-string(12) " 37774136700"
-string(12) "37774136700 "
-string(12) " 37774136700"
-string(12) "
-37774136700"
-string(11) "37774136700"
-string(30) " 37774136700"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 6 --
-string(9) "575360400"
-string(1) "o"
-string(9) "575360400"
-string(1) "o"
-string(10) " 575360400"
-string(10) "575360400 "
-string(10) " 575360400"
-string(10) "
-575360400"
-string(9) "575360400"
-string(30) " 575360400"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 7 --
-string(11) "30431233000"
-string(1) "o"
-string(11) "30431233000"
-string(1) "o"
-string(12) " 30431233000"
-string(12) "30431233000 "
-string(12) " 30431233000"
-string(12) "
-30431233000"
-string(11) "30431233000"
-string(30) " 30431233000"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 8 --
-string(7) "4002620"
-string(1) "o"
-string(7) "4002620"
-string(1) "o"
-string(8) " 4002620"
-string(8) "4002620 "
-string(8) " 4002620"
-string(8) "
-4002620"
-string(7) "4002620"
-string(30) " 4002620"
-string(4) "0-7]"
-string(1) "o"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : octal formats with float values ***
-- Iteration 1 --
// array of octal formats
$octal_formats = array(
"%o", "%ho", "%lo",
- "%Lo", " %o", "%o ",
+ "%Lo", " %o", "%o ",
"\t%o", "\n%o", "%4o",
"%30o", "%[0-7]", "%*o"
);
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : octal formats with float values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 4 --
-string(6) "303240"
-string(1) "o"
-string(6) "303240"
-string(1) "o"
-string(7) " 303240"
-string(7) "303240 "
-string(7) " 303240"
-string(7) "
-303240"
-string(6) "303240"
-string(30) " 303240"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 5 --
-string(22) "1777777777777774136700"
-string(1) "o"
-string(22) "1777777777777774136700"
-string(1) "o"
-string(23) " 1777777777777774136700"
-string(23) "1777777777777774136700 "
-string(23) " 1777777777777774136700"
-string(23) "
-1777777777777774136700"
-string(22) "1777777777777774136700"
-string(30) " 1777777777777774136700"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 6 --
-string(9) "575360400"
-string(1) "o"
-string(9) "575360400"
-string(1) "o"
-string(10) " 575360400"
-string(10) "575360400 "
-string(10) " 575360400"
-string(10) "
-575360400"
-string(9) "575360400"
-string(30) " 575360400"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 7 --
-string(22) "1777777777770431233000"
-string(1) "o"
-string(22) "1777777777770431233000"
-string(1) "o"
-string(23) " 1777777777770431233000"
-string(23) "1777777777770431233000 "
-string(23) " 1777777777770431233000"
-string(23) "
-1777777777770431233000"
-string(22) "1777777777770431233000"
-string(30) " 1777777777770431233000"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 8 --
-string(7) "4002620"
-string(1) "o"
-string(7) "4002620"
-string(1) "o"
-string(8) " 4002620"
-string(8) "4002620 "
-string(8) " 4002620"
-string(8) "
-4002620"
-string(7) "4002620"
-string(30) " 4002620"
-string(4) "0-7]"
-string(1) "o"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : octal formats with float values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : integer formats with integer values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 3 --
-string(2) "-1"
-string(1) "d"
-string(2) "-1"
-string(1) "d"
-string(3) " -1"
-string(3) "-1 "
-string(3) " -1"
-string(3) "
--1"
-string(4) " -1"
-string(30) " -1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 4 --
-string(11) "-2147483648"
-string(1) "d"
-string(11) "-2147483648"
-string(1) "d"
-string(12) " -2147483648"
-string(12) "-2147483648 "
-string(12) " -2147483648"
-string(12) "
--2147483648"
-string(11) "-2147483648"
-string(30) " -2147483648"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 5 --
-string(11) "-2147483647"
-string(1) "d"
-string(11) "-2147483647"
-string(1) "d"
-string(12) " -2147483647"
-string(12) "-2147483647 "
-string(12) " -2147483647"
-string(12) "
--2147483647"
-string(11) "-2147483647"
-string(30) " -2147483647"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 6 --
-string(10) "2147483647"
-string(1) "d"
-string(10) "2147483647"
-string(1) "d"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 7 --
-string(10) "2147483640"
-string(1) "d"
-string(10) "2147483640"
-string(1) "d"
-string(11) " 2147483640"
-string(11) "2147483640 "
-string(11) " 2147483640"
-string(11) "
-2147483640"
-string(10) "2147483640"
-string(30) " 2147483640"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 8 --
-string(4) "4667"
-string(1) "d"
-string(4) "4667"
-string(1) "d"
-string(5) " 4667"
-string(5) "4667 "
-string(5) " 4667"
-string(5) "
-4667"
-string(4) "4667"
-string(30) " 4667"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 9 --
-string(4) "4779"
-string(1) "d"
-string(4) "4779"
-string(1) "d"
-string(5) " 4779"
-string(5) "4779 "
-string(5) " 4779"
-string(5) "
-4779"
-string(4) "4779"
-string(30) " 4779"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 10 --
-string(4) "4095"
-string(1) "d"
-string(4) "4095"
-string(1) "d"
-string(5) " 4095"
-string(5) "4095 "
-string(5) " 4095"
-string(5) "
-4095"
-string(4) "4095"
-string(30) " 4095"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 11 --
-string(3) "250"
-string(1) "d"
-string(3) "250"
-string(1) "d"
-string(4) " 250"
-string(4) "250 "
-string(4) " 250"
-string(4) "
-250"
-string(4) " 250"
-string(30) " 250"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 12 --
-string(11) "-2147483648"
-string(1) "d"
-string(11) "-2147483648"
-string(1) "d"
-string(12) " -2147483648"
-string(12) "-2147483648 "
-string(12) " -2147483648"
-string(12) "
--2147483648"
-string(11) "-2147483648"
-string(30) " -2147483648"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 13 --
-string(10) "2147483647"
-string(1) "d"
-string(10) "2147483647"
-string(1) "d"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 14 --
-string(10) "2147483647"
-string(1) "d"
-string(10) "2147483647"
-string(1) "d"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 15 --
-string(2) "83"
-string(1) "d"
-string(2) "83"
-string(1) "d"
-string(3) " 83"
-string(3) "83 "
-string(3) " 83"
-string(3) "
-83"
-string(4) " 83"
-string(30) " 83"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 16 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 17 --
-string(11) "-2147483648"
-string(1) "d"
-string(11) "-2147483648"
-string(1) "d"
-string(12) " -2147483648"
-string(12) "-2147483648 "
-string(12) " -2147483648"
-string(12) "
--2147483648"
-string(11) "-2147483648"
-string(30) " -2147483648"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 18 --
-string(10) "2147483647"
-string(1) "d"
-string(10) "2147483647"
-string(1) "d"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(4) "0-9]"
-string(1) "d"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : integer formats with integer values ***
-- Iteration 1 --
unicode(30) " 2147483647"
unicode(4) "0-9]"
unicode(1) "d"
-Done
\ No newline at end of file
+Done
// array of octal formats
$octal_formats = array(
"%o", "%ho", "%lo",
- "%Lo", " %o", "%o ",
+ "%Lo", " %o", "%o ",
"\t%o", "\n%o", "%4o",
"%30o", "%[0-7]", "%*o"
);
--EXPECTF--
*** Testing sprintf() : octal formats with resource values ***
--- Iteration 1 --
-string(%d) "%d"
-string(1) "o"
-string(%d) "%d"
-string(1) "o"
-string(%d) " %d"
-string(%d) "%d "
-string(%d) " %d"
-string(%d) "
-%d"
-string(%d) "%s%d"
-string(%d) "%s%d"
-string(%d) "0-7]"
-string(1) "o"
-
--- Iteration 2 --
-string(%d) "%d"
-string(1) "o"
-string(%d) "%d"
-string(1) "o"
-string(%d) " %d"
-string(%d) "%d "
-string(%d) " %d"
-string(%d) "
-%d"
-string(%d) "%s%d"
-string(%d) "%s%d"
-string(%d) "0-7]"
-string(1) "o"
-Done
---UEXPECTF--
-*** Testing sprintf() : octal formats with resource values ***
-
-- Iteration 1 --
unicode(%d) "%d"
unicode(1) "o"
// array of octal formats
$octal_formats = array(
"%o", "%ho", "%lo",
- "%Lo", " %o", "%o ",
+ "%Lo", " %o", "%o ",
"\t%o", "\n%o", "%4o",
"%30o", "%[0-7]", "%*o"
);
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : octal formats with array values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 4 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 5 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 7 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 8 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 9 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 10 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 11 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 12 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 13 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : octal formats with array values ***
-- Iteration 1 --
unicode(30) " 1"
unicode(4) "0-7]"
unicode(1) "o"
-Done
\ No newline at end of file
+Done
// array of octal formats
$octal_formats = array(
"%o", "%ho", "%lo",
- "%Lo", " %o", "%o ",
+ "%Lo", " %o", "%o ",
"\t%o", "\n%o", "%4o",
"%30o", "%[0-7]", "%*o"
);
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : octal formats with string values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 3 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 5 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 7 --
-string(3) "173"
-string(1) "o"
-string(3) "173"
-string(1) "o"
-string(4) " 173"
-string(4) "173 "
-string(4) " 173"
-string(4) "
-173"
-string(4) " 173"
-string(30) " 173"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 8 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 9 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 10 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 11 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 12 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 13 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 14 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 15 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 16 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 17 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 18 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 19 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : octal formats with string values ***
-- Iteration 1 --
unicode(30) " 0"
unicode(4) "0-7]"
unicode(1) "o"
-Done
\ No newline at end of file
+Done
// array of octal formats
$octal_formats = array(
"%o", "%ho", "%lo",
- "%Lo", " %o", "%o ",
+ "%Lo", " %o", "%o ",
"\t%o", "\n%o", "%4o",
"%30o", "%[0-7]", "%*o"
);
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : octal formats with boolean values ***
-
--- Iteration 1 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-7]"
-string(1) "o"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : octal formats with boolean values ***
-- Iteration 1 --
unicode(30) " 0"
unicode(4) "0-7]"
unicode(1) "o"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : hexa formats with integer values ***
-
--- Iteration 1 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 2 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 3 --
-string(8) "ffffffff"
-string(9) "ffffffffx"
-string(8) "ffffffff"
-string(1) "x"
-string(9) " ffffffff"
-string(9) "ffffffff "
-string(9) " ffffffff"
-string(9) "
-ffffffff"
-string(8) "ffffffff"
-string(30) " ffffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 4 --
-string(8) "80000000"
-string(9) "80000000x"
-string(8) "80000000"
-string(1) "x"
-string(9) " 80000000"
-string(9) "80000000 "
-string(9) " 80000000"
-string(9) "
-80000000"
-string(8) "80000000"
-string(30) " 80000000"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 5 --
-string(8) "80000001"
-string(9) "80000001x"
-string(8) "80000001"
-string(1) "x"
-string(9) " 80000001"
-string(9) "80000001 "
-string(9) " 80000001"
-string(9) "
-80000001"
-string(8) "80000001"
-string(30) " 80000001"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 6 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) " 7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) " 7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 7 --
-string(8) "7ffffff8"
-string(9) "7ffffff8x"
-string(8) "7ffffff8"
-string(1) "x"
-string(9) " 7ffffff8"
-string(9) "7ffffff8 "
-string(9) " 7ffffff8"
-string(9) "
-7ffffff8"
-string(8) "7ffffff8"
-string(30) " 7ffffff8"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 8 --
-string(4) "123b"
-string(5) "123bx"
-string(4) "123b"
-string(1) "x"
-string(5) " 123b"
-string(5) "123b "
-string(5) " 123b"
-string(5) "
-123b"
-string(4) "123b"
-string(30) " 123b"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 9 --
-string(4) "12ab"
-string(5) "12abx"
-string(4) "12ab"
-string(1) "x"
-string(5) " 12ab"
-string(5) "12ab "
-string(5) " 12ab"
-string(5) "
-12ab"
-string(4) "12ab"
-string(30) " 12ab"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 10 --
-string(3) "fff"
-string(4) "fffx"
-string(3) "fff"
-string(1) "x"
-string(4) " fff"
-string(4) "fff "
-string(4) " fff"
-string(4) "
-fff"
-string(4) " fff"
-string(30) " fff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 11 --
-string(2) "fa"
-string(3) "fax"
-string(2) "fa"
-string(1) "x"
-string(3) " fa"
-string(3) "fa "
-string(3) " fa"
-string(3) "
-fa"
-string(4) " fa"
-string(30) " fa"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 12 --
-string(8) "80000000"
-string(9) "80000000x"
-string(8) "80000000"
-string(1) "x"
-string(9) " 80000000"
-string(9) "80000000 "
-string(9) " 80000000"
-string(9) "
-80000000"
-string(8) "80000000"
-string(30) " 80000000"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 13 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) " 7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) " 7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 14 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) " 7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) " 7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 15 --
-string(2) "53"
-string(3) "53x"
-string(2) "53"
-string(1) "x"
-string(3) " 53"
-string(3) "53 "
-string(3) " 53"
-string(3) "
-53"
-string(4) " 53"
-string(30) " 53"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 16 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 17 --
-string(8) "80000000"
-string(9) "80000000x"
-string(8) "80000000"
-string(1) "x"
-string(9) " 80000000"
-string(9) "80000000 "
-string(9) " 80000000"
-string(9) "
-80000000"
-string(8) "80000000"
-string(30) " 80000000"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 18 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) " 7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) " 7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : hexa formats with integer values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : hexa formats with integer values ***
-
--- Iteration 1 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 2 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 3 --
-string(16) "ffffffffffffffff"
-string(17) "ffffffffffffffffx"
-string(16) "ffffffffffffffff"
-string(1) "x"
-string(17) " ffffffffffffffff"
-string(17) "ffffffffffffffff "
-string(17) " ffffffffffffffff"
-string(17) "
-ffffffffffffffff"
-string(16) "ffffffffffffffff"
-string(30) " ffffffffffffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 4 --
-string(16) "ffffffff80000000"
-string(17) "ffffffff80000000x"
-string(16) "ffffffff80000000"
-string(1) "x"
-string(17) " ffffffff80000000"
-string(17) "ffffffff80000000 "
-string(17) " ffffffff80000000"
-string(17) "
-ffffffff80000000"
-string(16) "ffffffff80000000"
-string(30) " ffffffff80000000"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 5 --
-string(16) "ffffffff80000001"
-string(17) "ffffffff80000001x"
-string(16) "ffffffff80000001"
-string(1) "x"
-string(17) " ffffffff80000001"
-string(17) "ffffffff80000001 "
-string(17) " ffffffff80000001"
-string(17) "
-ffffffff80000001"
-string(16) "ffffffff80000001"
-string(30) " ffffffff80000001"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 6 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) " 7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) " 7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 7 --
-string(8) "7ffffff8"
-string(9) "7ffffff8x"
-string(8) "7ffffff8"
-string(1) "x"
-string(9) " 7ffffff8"
-string(9) "7ffffff8 "
-string(9) " 7ffffff8"
-string(9) "
-7ffffff8"
-string(8) "7ffffff8"
-string(30) " 7ffffff8"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 8 --
-string(4) "123b"
-string(5) "123bx"
-string(4) "123b"
-string(1) "x"
-string(5) " 123b"
-string(5) "123b "
-string(5) " 123b"
-string(5) "
-123b"
-string(4) "123b"
-string(30) " 123b"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 9 --
-string(4) "12ab"
-string(5) "12abx"
-string(4) "12ab"
-string(1) "x"
-string(5) " 12ab"
-string(5) "12ab "
-string(5) " 12ab"
-string(5) "
-12ab"
-string(4) "12ab"
-string(30) " 12ab"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 10 --
-string(3) "fff"
-string(4) "fffx"
-string(3) "fff"
-string(1) "x"
-string(4) " fff"
-string(4) "fff "
-string(4) " fff"
-string(4) "
-fff"
-string(4) " fff"
-string(30) " fff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 11 --
-string(2) "fa"
-string(3) "fax"
-string(2) "fa"
-string(1) "x"
-string(3) " fa"
-string(3) "fa "
-string(3) " fa"
-string(3) "
-fa"
-string(4) " fa"
-string(30) " fa"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 12 --
-string(16) "ffffffff80000000"
-string(17) "ffffffff80000000x"
-string(16) "ffffffff80000000"
-string(1) "x"
-string(17) " ffffffff80000000"
-string(17) "ffffffff80000000 "
-string(17) " ffffffff80000000"
-string(17) "
-ffffffff80000000"
-string(16) "ffffffff80000000"
-string(30) " ffffffff80000000"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 13 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) " 7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) " 7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 14 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) " 7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) " 7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 15 --
-string(2) "53"
-string(3) "53x"
-string(2) "53"
-string(1) "x"
-string(3) " 53"
-string(3) "53 "
-string(3) " 53"
-string(3) "
-53"
-string(4) " 53"
-string(30) " 53"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 16 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 17 --
-string(16) "ffffffff80000000"
-string(17) "ffffffff80000000x"
-string(16) "ffffffff80000000"
-string(1) "x"
-string(17) " ffffffff80000000"
-string(17) "ffffffff80000000 "
-string(17) " ffffffff80000000"
-string(17) "
-ffffffff80000000"
-string(16) "ffffffff80000000"
-string(30) " ffffffff80000000"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 18 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) " 7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) " 7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : hexa formats with integer values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : hexa formats with float values ***
-
--- Iteration 1 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) " 7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) " 7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 2 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) " 7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) " 7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 3 --
-string(8) "80000001"
-string(9) "80000001x"
-string(8) "80000001"
-string(1) "x"
-string(9) " 80000001"
-string(9) "80000001 "
-string(9) " 80000001"
-string(9) "
-80000001"
-string(8) "80000001"
-string(30) " 80000001"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 4 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 5 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 6 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 7 --
-string(5) "186a0"
-string(6) "186a0x"
-string(5) "186a0"
-string(1) "x"
-string(6) " 186a0"
-string(6) "186a0 "
-string(6) " 186a0"
-string(6) "
-186a0"
-string(5) "186a0"
-string(30) " 186a0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 8 --
-string(8) "fff0bdc0"
-string(9) "fff0bdc0x"
-string(8) "fff0bdc0"
-string(1) "x"
-string(9) " fff0bdc0"
-string(9) "fff0bdc0 "
-string(9) " fff0bdc0"
-string(9) "
-fff0bdc0"
-string(8) "fff0bdc0"
-string(30) " fff0bdc0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 9 --
-string(7) "5f5e100"
-string(8) "5f5e100x"
-string(7) "5f5e100"
-string(1) "x"
-string(8) " 5f5e100"
-string(8) "5f5e100 "
-string(8) " 5f5e100"
-string(8) "
-5f5e100"
-string(7) "5f5e100"
-string(30) " 5f5e100"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 10 --
-string(8) "c4653600"
-string(9) "c4653600x"
-string(8) "c4653600"
-string(1) "x"
-string(9) " c4653600"
-string(9) "c4653600 "
-string(9) " c4653600"
-string(9) "
-c4653600"
-string(8) "c4653600"
-string(30) " c4653600"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 11 --
-string(1) "a"
-string(2) "ax"
-string(1) "a"
-string(1) "x"
-string(2) " a"
-string(2) "a "
-string(2) " a"
-string(2) "
-a"
-string(4) " a"
-string(30) " a"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 12 --
-string(6) "100590"
-string(7) "100590x"
-string(6) "100590"
-string(1) "x"
-string(7) " 100590"
-string(7) "100590 "
-string(7) " 100590"
-string(7) "
-100590"
-string(6) "100590"
-string(30) " 100590"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : hexa formats with float values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : hexa formats with float values ***
-
--- Iteration 1 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) " 7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) " 7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 2 --
-string(9) "800000001"
-string(10) "800000001x"
-string(9) "800000001"
-string(1) "x"
-string(10) " 800000001"
-string(10) "800000001 "
-string(10) " 800000001"
-string(10) "
-800000001"
-string(9) "800000001"
-string(30) " 800000001"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 3 --
-string(8) "80000001"
-string(9) "80000001x"
-string(8) "80000001"
-string(1) "x"
-string(9) " 80000001"
-string(9) "80000001 "
-string(9) " 80000001"
-string(9) "
-80000001"
-string(8) "80000001"
-string(30) " 80000001"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 4 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 5 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 6 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 7 --
-string(5) "186a0"
-string(6) "186a0x"
-string(5) "186a0"
-string(1) "x"
-string(6) " 186a0"
-string(6) "186a0 "
-string(6) " 186a0"
-string(6) "
-186a0"
-string(5) "186a0"
-string(30) " 186a0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 8 --
-string(16) "fffffffffff0bdc0"
-string(17) "fffffffffff0bdc0x"
-string(16) "fffffffffff0bdc0"
-string(1) "x"
-string(17) " fffffffffff0bdc0"
-string(17) "fffffffffff0bdc0 "
-string(17) " fffffffffff0bdc0"
-string(17) "
-fffffffffff0bdc0"
-string(16) "fffffffffff0bdc0"
-string(30) " fffffffffff0bdc0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 9 --
-string(7) "5f5e100"
-string(8) "5f5e100x"
-string(7) "5f5e100"
-string(1) "x"
-string(8) " 5f5e100"
-string(8) "5f5e100 "
-string(8) " 5f5e100"
-string(8) "
-5f5e100"
-string(7) "5f5e100"
-string(30) " 5f5e100"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 10 --
-string(16) "ffffffffc4653600"
-string(17) "ffffffffc4653600x"
-string(16) "ffffffffc4653600"
-string(1) "x"
-string(17) " ffffffffc4653600"
-string(17) "ffffffffc4653600 "
-string(17) " ffffffffc4653600"
-string(17) "
-ffffffffc4653600"
-string(16) "ffffffffc4653600"
-string(30) " ffffffffc4653600"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 11 --
-string(1) "a"
-string(2) "ax"
-string(1) "a"
-string(1) "x"
-string(2) " a"
-string(2) "a "
-string(2) " a"
-string(2) "
-a"
-string(4) " a"
-string(30) " a"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 12 --
-string(6) "100590"
-string(7) "100590x"
-string(6) "100590"
-string(1) "x"
-string(7) " 100590"
-string(7) "100590 "
-string(7) " 100590"
-string(7) "
-100590"
-string(6) "100590"
-string(30) " 100590"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : hexa formats with float values ***
-- Iteration 1 --
--EXPECTF--
*** Testing sprintf() : hexa formats with resource values ***
--- Iteration 1 --
-string(%d) "%d"
-string(%d) "%dx"
-string(%d) "%d"
-string(1) "x"
-string(%d) " %d"
-string(%d) "%d "
-string(%d) " %d"
-string(%d) "
-%d"
-string(%d) " %d"
-string(%d) " %d"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 2 --
-string(%d) "%d"
-string(%d) "%dx"
-string(%d) "%d"
-string(1) "x"
-string(%d) " %d"
-string(%d) "%d "
-string(%d) " %d"
-string(%d) "
-%d"
-string(%d) " %d"
-string(%d) " %d"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-Done
-
---UEXPECTF--
-*** Testing sprintf() : hexa formats with resource values ***
-
-- Iteration 1 --
unicode(%d) "%d"
unicode(%d) "%dx"
--EXPECTF--
*** Testing sprintf() : hexa formats with array values ***
--- Iteration 1 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 2 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 3 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 4 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 5 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 6 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 7 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 8 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 9 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 10 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 11 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 12 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-Done
-
---UEXPECTF--
-*** Testing sprintf() : hexa formats with array values ***
-
-- Iteration 1 --
unicode(1) "0"
unicode(2) "0x"
unicode(30) " 1"
unicode(10) "0-9A-Fa-f]"
unicode(1) "x"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : hexa formats with string values ***
-
--- Iteration 1 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 2 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 3 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 4 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 5 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 6 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 7 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 8 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 9 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 10 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 11 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 12 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 13 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 14 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 15 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 16 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 17 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 18 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : hexa formats with string values ***
-- Iteration 1 --
unicode(30) " 0"
unicode(10) "0-9A-Fa-f]"
unicode(1) "x"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : hexa formats with boolean values ***
-
--- Iteration 1 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 2 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 3 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 4 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : hexa formats with boolean values ***
-- Iteration 1 --
unicode(30) " 0"
unicode(10) "0-9A-Fa-f]"
unicode(1) "x"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : integer formats with float values ***
-
--- Iteration 1 --
-string(11) "-2147483648"
-string(1) "d"
-string(11) "-2147483648"
-string(1) "d"
-string(12) " -2147483648"
-string(12) "-2147483648 "
-string(12) " -2147483648"
-string(12) "
--2147483648"
-string(11) "-2147483648"
-string(30) " -2147483648"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 2 --
-string(10) "2147483647"
-string(1) "d"
-string(10) "2147483647"
-string(1) "d"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 3 --
-string(11) "-2147483647"
-string(1) "d"
-string(11) "-2147483647"
-string(1) "d"
-string(12) " -2147483647"
-string(12) "-2147483647 "
-string(12) " -2147483647"
-string(12) "
--2147483647"
-string(11) "-2147483647"
-string(30) " -2147483647"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 5 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 7 --
-string(6) "100000"
-string(1) "d"
-string(6) "100000"
-string(1) "d"
-string(7) " 100000"
-string(7) "100000 "
-string(7) " 100000"
-string(7) "
-100000"
-string(6) "100000"
-string(30) " 100000"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 8 --
-string(8) "-1000000"
-string(1) "d"
-string(8) "-1000000"
-string(1) "d"
-string(9) " -1000000"
-string(9) "-1000000 "
-string(9) " -1000000"
-string(9) "
--1000000"
-string(8) "-1000000"
-string(30) " -1000000"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 9 --
-string(9) "100000000"
-string(1) "d"
-string(9) "100000000"
-string(1) "d"
-string(10) " 100000000"
-string(10) "100000000 "
-string(10) " 100000000"
-string(10) "
-100000000"
-string(9) "100000000"
-string(30) " 100000000"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 10 --
-string(11) "-1000000000"
-string(1) "d"
-string(11) "-1000000000"
-string(1) "d"
-string(12) " -1000000000"
-string(12) "-1000000000 "
-string(12) " -1000000000"
-string(12) "
--1000000000"
-string(11) "-1000000000"
-string(30) " -1000000000"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 11 --
-string(2) "10"
-string(1) "d"
-string(2) "10"
-string(1) "d"
-string(3) " 10"
-string(3) "10 "
-string(3) " 10"
-string(3) "
-10"
-string(4) " 10"
-string(30) " 10"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 12 --
-string(7) "1050000"
-string(1) "d"
-string(7) "1050000"
-string(1) "d"
-string(8) " 1050000"
-string(8) "1050000 "
-string(8) " 1050000"
-string(8) "
-1050000"
-string(7) "1050000"
-string(30) " 1050000"
-string(4) "0-9]"
-string(1) "d"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : integer formats with float values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : unsigned formats with integer values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 3 --
-string(10) "4294967295"
-string(1) "u"
-string(10) "4294967295"
-string(1) "u"
-string(11) " 4294967295"
-string(11) "4294967295 "
-string(11) " 4294967295"
-string(11) "
-4294967295"
-string(10) "4294967295"
-string(30) " 4294967295"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 4 --
-string(10) "2147483648"
-string(1) "u"
-string(10) "2147483648"
-string(1) "u"
-string(11) " 2147483648"
-string(11) "2147483648 "
-string(11) " 2147483648"
-string(11) "
-2147483648"
-string(10) "2147483648"
-string(30) " 2147483648"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 5 --
-string(10) "2147483649"
-string(1) "u"
-string(10) "2147483649"
-string(1) "u"
-string(11) " 2147483649"
-string(11) "2147483649 "
-string(11) " 2147483649"
-string(11) "
-2147483649"
-string(10) "2147483649"
-string(30) " 2147483649"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 6 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 7 --
-string(10) "2147483640"
-string(1) "u"
-string(10) "2147483640"
-string(1) "u"
-string(11) " 2147483640"
-string(11) "2147483640 "
-string(11) " 2147483640"
-string(11) "
-2147483640"
-string(10) "2147483640"
-string(30) " 2147483640"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 8 --
-string(4) "4667"
-string(1) "u"
-string(4) "4667"
-string(1) "u"
-string(5) " 4667"
-string(5) "4667 "
-string(5) " 4667"
-string(5) "
-4667"
-string(4) "4667"
-string(30) " 4667"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 9 --
-string(4) "4779"
-string(1) "u"
-string(4) "4779"
-string(1) "u"
-string(5) " 4779"
-string(5) "4779 "
-string(5) " 4779"
-string(5) "
-4779"
-string(4) "4779"
-string(30) " 4779"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 10 --
-string(4) "4095"
-string(1) "u"
-string(4) "4095"
-string(1) "u"
-string(5) " 4095"
-string(5) "4095 "
-string(5) " 4095"
-string(5) "
-4095"
-string(4) "4095"
-string(30) " 4095"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 11 --
-string(3) "250"
-string(1) "u"
-string(3) "250"
-string(1) "u"
-string(4) " 250"
-string(4) "250 "
-string(4) " 250"
-string(4) "
-250"
-string(4) " 250"
-string(30) " 250"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 12 --
-string(10) "2147483648"
-string(1) "u"
-string(10) "2147483648"
-string(1) "u"
-string(11) " 2147483648"
-string(11) "2147483648 "
-string(11) " 2147483648"
-string(11) "
-2147483648"
-string(10) "2147483648"
-string(30) " 2147483648"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 13 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 14 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 15 --
-string(2) "83"
-string(1) "u"
-string(2) "83"
-string(1) "u"
-string(3) " 83"
-string(3) "83 "
-string(3) " 83"
-string(3) "
-83"
-string(4) " 83"
-string(30) " 83"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 16 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 17 --
-string(10) "2147483648"
-string(1) "u"
-string(10) "2147483648"
-string(1) "u"
-string(11) " 2147483648"
-string(11) "2147483648 "
-string(11) " 2147483648"
-string(11) "
-2147483648"
-string(10) "2147483648"
-string(30) " 2147483648"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 18 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(4) "0-9]"
-string(1) "u"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : unsigned formats with integer values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : unsigned formats with integer values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 3 --
-string(20) "18446744073709551615"
-string(1) "u"
-string(20) "18446744073709551615"
-string(1) "u"
-string(21) " 18446744073709551615"
-string(21) "18446744073709551615 "
-string(21) " 18446744073709551615"
-string(21) "
-18446744073709551615"
-string(20) "18446744073709551615"
-string(30) " 18446744073709551615"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 4 --
-string(20) "18446744071562067968"
-string(1) "u"
-string(20) "18446744071562067968"
-string(1) "u"
-string(21) " 18446744071562067968"
-string(21) "18446744071562067968 "
-string(21) " 18446744071562067968"
-string(21) "
-18446744071562067968"
-string(20) "18446744071562067968"
-string(30) " 18446744071562067968"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 5 --
-string(20) "18446744071562067969"
-string(1) "u"
-string(20) "18446744071562067969"
-string(1) "u"
-string(21) " 18446744071562067969"
-string(21) "18446744071562067969 "
-string(21) " 18446744071562067969"
-string(21) "
-18446744071562067969"
-string(20) "18446744071562067969"
-string(30) " 18446744071562067969"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 6 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 7 --
-string(10) "2147483640"
-string(1) "u"
-string(10) "2147483640"
-string(1) "u"
-string(11) " 2147483640"
-string(11) "2147483640 "
-string(11) " 2147483640"
-string(11) "
-2147483640"
-string(10) "2147483640"
-string(30) " 2147483640"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 8 --
-string(4) "4667"
-string(1) "u"
-string(4) "4667"
-string(1) "u"
-string(5) " 4667"
-string(5) "4667 "
-string(5) " 4667"
-string(5) "
-4667"
-string(4) "4667"
-string(30) " 4667"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 9 --
-string(4) "4779"
-string(1) "u"
-string(4) "4779"
-string(1) "u"
-string(5) " 4779"
-string(5) "4779 "
-string(5) " 4779"
-string(5) "
-4779"
-string(4) "4779"
-string(30) " 4779"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 10 --
-string(4) "4095"
-string(1) "u"
-string(4) "4095"
-string(1) "u"
-string(5) " 4095"
-string(5) "4095 "
-string(5) " 4095"
-string(5) "
-4095"
-string(4) "4095"
-string(30) " 4095"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 11 --
-string(3) "250"
-string(1) "u"
-string(3) "250"
-string(1) "u"
-string(4) " 250"
-string(4) "250 "
-string(4) " 250"
-string(4) "
-250"
-string(4) " 250"
-string(30) " 250"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 12 --
-string(20) "18446744071562067968"
-string(1) "u"
-string(20) "18446744071562067968"
-string(1) "u"
-string(21) " 18446744071562067968"
-string(21) "18446744071562067968 "
-string(21) " 18446744071562067968"
-string(21) "
-18446744071562067968"
-string(20) "18446744071562067968"
-string(30) " 18446744071562067968"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 13 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 14 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 15 --
-string(2) "83"
-string(1) "u"
-string(2) "83"
-string(1) "u"
-string(3) " 83"
-string(3) "83 "
-string(3) " 83"
-string(3) "
-83"
-string(4) " 83"
-string(30) " 83"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 16 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 17 --
-string(20) "18446744071562067968"
-string(1) "u"
-string(20) "18446744071562067968"
-string(1) "u"
-string(21) " 18446744071562067968"
-string(21) "18446744071562067968 "
-string(21) " 18446744071562067968"
-string(21) "
-18446744071562067968"
-string(20) "18446744071562067968"
-string(30) " 18446744071562067968"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 18 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(4) "0-9]"
-string(1) "u"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : unsigned formats with integer values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : unsigned formats with float values ***
-
--- Iteration 1 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 3 --
-string(10) "2147483649"
-string(1) "u"
-string(10) "2147483649"
-string(1) "u"
-string(11) " 2147483649"
-string(11) "2147483649 "
-string(11) " 2147483649"
-string(11) "
-2147483649"
-string(10) "2147483649"
-string(30) " 2147483649"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 5 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 7 --
-string(6) "100000"
-string(1) "u"
-string(6) "100000"
-string(1) "u"
-string(7) " 100000"
-string(7) "100000 "
-string(7) " 100000"
-string(7) "
-100000"
-string(6) "100000"
-string(30) " 100000"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 8 --
-string(6) "500000"
-string(1) "u"
-string(6) "500000"
-string(1) "u"
-string(7) " 500000"
-string(7) "500000 "
-string(7) " 500000"
-string(7) "
-500000"
-string(6) "500000"
-string(30) " 500000"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 9 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 10 --
-string(10) "4294867296"
-string(1) "u"
-string(10) "4294867296"
-string(1) "u"
-string(11) " 4294867296"
-string(11) "4294867296 "
-string(11) " 4294867296"
-string(11) "
-4294867296"
-string(10) "4294867296"
-string(30) " 4294867296"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 11 --
-string(10) "4294867296"
-string(1) "u"
-string(10) "4294867296"
-string(1) "u"
-string(11) " 4294867296"
-string(11) "4294867296 "
-string(11) " 4294867296"
-string(11) "
-4294867296"
-string(10) "4294867296"
-string(30) " 4294867296"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 12 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 13 --
-string(6) "100000"
-string(1) "u"
-string(6) "100000"
-string(1) "u"
-string(7) " 100000"
-string(7) "100000 "
-string(7) " 100000"
-string(7) "
-100000"
-string(6) "100000"
-string(30) " 100000"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 14 --
-string(9) "100000000"
-string(1) "u"
-string(9) "100000000"
-string(1) "u"
-string(10) " 100000000"
-string(10) "100000000 "
-string(10) " 100000000"
-string(10) "
-100000000"
-string(9) "100000000"
-string(30) " 100000000"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 15 --
-string(10) "3294967296"
-string(1) "u"
-string(10) "3294967296"
-string(1) "u"
-string(11) " 3294967296"
-string(11) "3294967296 "
-string(11) " 3294967296"
-string(11) "
-3294967296"
-string(10) "3294967296"
-string(30) " 3294967296"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 16 --
-string(2) "10"
-string(1) "u"
-string(2) "10"
-string(1) "u"
-string(3) " 10"
-string(3) "10 "
-string(3) " 10"
-string(3) "
-10"
-string(4) " 10"
-string(30) " 10"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 17 --
-string(7) "1050000"
-string(1) "u"
-string(7) "1050000"
-string(1) "u"
-string(8) " 1050000"
-string(8) "1050000 "
-string(8) " 1050000"
-string(8) "
-1050000"
-string(7) "1050000"
-string(30) " 1050000"
-string(4) "0-9]"
-string(1) "u"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : unsigned formats with float values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : unsigned formats with float values ***
-
--- Iteration 1 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) " 2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) " 2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(11) "34359738369"
-string(1) "u"
-string(11) "34359738369"
-string(1) "u"
-string(12) " 34359738369"
-string(12) "34359738369 "
-string(12) " 34359738369"
-string(12) "
-34359738369"
-string(11) "34359738369"
-string(30) " 34359738369"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 3 --
-string(10) "2147483649"
-string(1) "u"
-string(10) "2147483649"
-string(1) "u"
-string(11) " 2147483649"
-string(11) "2147483649 "
-string(11) " 2147483649"
-string(11) "
-2147483649"
-string(10) "2147483649"
-string(30) " 2147483649"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 5 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 7 --
-string(6) "100000"
-string(1) "u"
-string(6) "100000"
-string(1) "u"
-string(7) " 100000"
-string(7) "100000 "
-string(7) " 100000"
-string(7) "
-100000"
-string(6) "100000"
-string(30) " 100000"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 8 --
-string(6) "500000"
-string(1) "u"
-string(6) "500000"
-string(1) "u"
-string(7) " 500000"
-string(7) "500000 "
-string(7) " 500000"
-string(7) "
-500000"
-string(6) "500000"
-string(30) " 500000"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 9 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 10 --
-string(20) "18446744073709451616"
-string(1) "u"
-string(20) "18446744073709451616"
-string(1) "u"
-string(21) " 18446744073709451616"
-string(21) "18446744073709451616 "
-string(21) " 18446744073709451616"
-string(21) "
-18446744073709451616"
-string(20) "18446744073709451616"
-string(30) " 18446744073709451616"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 11 --
-string(20) "18446744073709451616"
-string(1) "u"
-string(20) "18446744073709451616"
-string(1) "u"
-string(21) " 18446744073709451616"
-string(21) "18446744073709451616 "
-string(21) " 18446744073709451616"
-string(21) "
-18446744073709451616"
-string(20) "18446744073709451616"
-string(30) " 18446744073709451616"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 12 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 13 --
-string(6) "100000"
-string(1) "u"
-string(6) "100000"
-string(1) "u"
-string(7) " 100000"
-string(7) "100000 "
-string(7) " 100000"
-string(7) "
-100000"
-string(6) "100000"
-string(30) " 100000"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 14 --
-string(9) "100000000"
-string(1) "u"
-string(9) "100000000"
-string(1) "u"
-string(10) " 100000000"
-string(10) "100000000 "
-string(10) " 100000000"
-string(10) "
-100000000"
-string(9) "100000000"
-string(30) " 100000000"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 15 --
-string(20) "18446744072709551616"
-string(1) "u"
-string(20) "18446744072709551616"
-string(1) "u"
-string(21) " 18446744072709551616"
-string(21) "18446744072709551616 "
-string(21) " 18446744072709551616"
-string(21) "
-18446744072709551616"
-string(20) "18446744072709551616"
-string(30) " 18446744072709551616"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 16 --
-string(2) "10"
-string(1) "u"
-string(2) "10"
-string(1) "u"
-string(3) " 10"
-string(3) "10 "
-string(3) " 10"
-string(3) "
-10"
-string(4) " 10"
-string(30) " 10"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 17 --
-string(7) "1050000"
-string(1) "u"
-string(7) "1050000"
-string(1) "u"
-string(8) " 1050000"
-string(8) "1050000 "
-string(8) " 1050000"
-string(8) "
-1050000"
-string(7) "1050000"
-string(30) " 1050000"
-string(4) "0-9]"
-string(1) "u"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : unsigned formats with float values ***
-- Iteration 1 --
--EXPECTF--
*** Testing sprintf() : unsigned formats with resource values ***
--- Iteration 1 --
-string(%d) "%d"
-string(1) "u"
-string(%d) "%d"
-string(1) "u"
-string(%d) " %d"
-string(%d) "%d "
-string(%d) " %d"
-string(%d) "
-%d"
-string(%d) "%s%d"
-string(%d) "%s%d"
-string(%d) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(%d) "%d"
-string(1) "u"
-string(%d) "%d"
-string(1) "u"
-string(%d) " %d"
-string(%d) "%d "
-string(%d) " %d"
-string(%d) "
-%d"
-string(%d) "%s%d"
-string(%d) "%s%d"
-string(%d) "0-9]"
-string(1) "u"
-Done
---UEXPECTF--
-*** Testing sprintf() : unsigned formats with resource values ***
-
-- Iteration 1 --
unicode(%d) "%d"
unicode(1) "u"
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : unsigned formats with array values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 4 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 5 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 7 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 8 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 9 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 10 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 11 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 12 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 13 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 14 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : unsigned formats with array values ***
-- Iteration 1 --
unicode(30) " 1"
unicode(4) "0-9]"
unicode(1) "u"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : unsigned formats with string values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 3 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 5 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 7 --
-string(10) "4294967173"
-string(1) "u"
-string(10) "4294967173"
-string(1) "u"
-string(11) " 4294967173"
-string(11) "4294967173 "
-string(11) " 4294967173"
-string(11) "
-4294967173"
-string(10) "4294967173"
-string(30) " 4294967173"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 8 --
-string(3) "123"
-string(1) "u"
-string(3) "123"
-string(1) "u"
-string(4) " 123"
-string(4) "123 "
-string(4) " 123"
-string(4) "
-123"
-string(4) " 123"
-string(30) " 123"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 9 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 10 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 11 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 12 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 13 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 14 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 15 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 16 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 17 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 18 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 19 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 20 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : unsigned formats with string values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : unsigned formats with string values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 3 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 5 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 7 --
-string(20) "18446744073709551493"
-string(1) "u"
-string(20) "18446744073709551493"
-string(1) "u"
-string(21) " 18446744073709551493"
-string(21) "18446744073709551493 "
-string(21) " 18446744073709551493"
-string(21) "
-18446744073709551493"
-string(20) "18446744073709551493"
-string(30) " 18446744073709551493"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 8 --
-string(3) "123"
-string(1) "u"
-string(3) "123"
-string(1) "u"
-string(4) " 123"
-string(4) "123 "
-string(4) " 123"
-string(4) "
-123"
-string(4) " 123"
-string(30) " 123"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 9 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 10 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 11 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 12 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 13 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 14 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 15 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 16 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 17 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 18 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 19 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 20 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : unsigned formats with string values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : unsigned formats with boolean values ***
-
--- Iteration 1 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "u"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : unsigned formats with boolean values ***
-- Iteration 1 --
unicode(30) " 0"
unicode(4) "0-9]"
unicode(1) "u"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : scientific formats with integer values ***
-
--- Iteration 1 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 2 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 3 --
-string(12) "-1.000000e+0"
-string(1) "e"
-string(12) "-1.000000e+0"
-string(1) "e"
-string(13) " -1.000000e+0"
-string(13) "-1.000000e+0 "
-string(13) " -1.000000e+0"
-string(13) "
--1.000000e+0"
-string(12) "-1.000000e+0"
-string(30) " -1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 4 --
-string(12) "-2.147484e+9"
-string(1) "e"
-string(12) "-2.147484e+9"
-string(1) "e"
-string(13) " -2.147484e+9"
-string(13) "-2.147484e+9 "
-string(13) " -2.147484e+9"
-string(13) "
--2.147484e+9"
-string(12) "-2.147484e+9"
-string(30) " -2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 5 --
-string(12) "-2.147484e+9"
-string(1) "e"
-string(12) "-2.147484e+9"
-string(1) "e"
-string(13) " -2.147484e+9"
-string(13) "-2.147484e+9 "
-string(13) " -2.147484e+9"
-string(13) "
--2.147484e+9"
-string(12) "-2.147484e+9"
-string(30) " -2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 6 --
-string(11) "2.147484e+9"
-string(1) "e"
-string(11) "2.147484e+9"
-string(1) "e"
-string(12) " 2.147484e+9"
-string(12) "2.147484e+9 "
-string(12) " 2.147484e+9"
-string(12) "
-2.147484e+9"
-string(11) "2.147484e+9"
-string(30) " 2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 7 --
-string(11) "2.147484e+9"
-string(1) "e"
-string(11) "2.147484e+9"
-string(1) "e"
-string(12) " 2.147484e+9"
-string(12) "2.147484e+9 "
-string(12) " 2.147484e+9"
-string(12) "
-2.147484e+9"
-string(11) "2.147484e+9"
-string(30) " 2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 8 --
-string(11) "4.667000e+3"
-string(1) "e"
-string(11) "4.667000e+3"
-string(1) "e"
-string(12) " 4.667000e+3"
-string(12) "4.667000e+3 "
-string(12) " 4.667000e+3"
-string(12) "
-4.667000e+3"
-string(11) "4.667000e+3"
-string(30) " 4.667000e+3"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 9 --
-string(11) "4.779000e+3"
-string(1) "e"
-string(11) "4.779000e+3"
-string(1) "e"
-string(12) " 4.779000e+3"
-string(12) "4.779000e+3 "
-string(12) " 4.779000e+3"
-string(12) "
-4.779000e+3"
-string(11) "4.779000e+3"
-string(30) " 4.779000e+3"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 10 --
-string(11) "4.095000e+3"
-string(1) "e"
-string(11) "4.095000e+3"
-string(1) "e"
-string(12) " 4.095000e+3"
-string(12) "4.095000e+3 "
-string(12) " 4.095000e+3"
-string(12) "
-4.095000e+3"
-string(11) "4.095000e+3"
-string(30) " 4.095000e+3"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 11 --
-string(11) "2.500000e+2"
-string(1) "e"
-string(11) "2.500000e+2"
-string(1) "e"
-string(12) " 2.500000e+2"
-string(12) "2.500000e+2 "
-string(12) " 2.500000e+2"
-string(12) "
-2.500000e+2"
-string(11) "2.500000e+2"
-string(30) " 2.500000e+2"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 12 --
-string(12) "-2.147484e+9"
-string(1) "e"
-string(12) "-2.147484e+9"
-string(1) "e"
-string(13) " -2.147484e+9"
-string(13) "-2.147484e+9 "
-string(13) " -2.147484e+9"
-string(13) "
--2.147484e+9"
-string(12) "-2.147484e+9"
-string(30) " -2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 13 --
-string(11) "2.147484e+9"
-string(1) "e"
-string(11) "2.147484e+9"
-string(1) "e"
-string(12) " 2.147484e+9"
-string(12) "2.147484e+9 "
-string(12) " 2.147484e+9"
-string(12) "
-2.147484e+9"
-string(11) "2.147484e+9"
-string(30) " 2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 14 --
-string(11) "2.147484e+9"
-string(1) "e"
-string(11) "2.147484e+9"
-string(1) "e"
-string(12) " 2.147484e+9"
-string(12) "2.147484e+9 "
-string(12) " 2.147484e+9"
-string(12) "
-2.147484e+9"
-string(11) "2.147484e+9"
-string(30) " 2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 15 --
-string(11) "8.300000e+1"
-string(1) "e"
-string(11) "8.300000e+1"
-string(1) "e"
-string(12) " 8.300000e+1"
-string(12) "8.300000e+1 "
-string(12) " 8.300000e+1"
-string(12) "
-8.300000e+1"
-string(11) "8.300000e+1"
-string(30) " 8.300000e+1"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 16 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 17 --
-string(12) "-2.147484e+9"
-string(1) "e"
-string(12) "-2.147484e+9"
-string(1) "e"
-string(13) " -2.147484e+9"
-string(13) "-2.147484e+9 "
-string(13) " -2.147484e+9"
-string(13) "
--2.147484e+9"
-string(12) "-2.147484e+9"
-string(30) " -2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 18 --
-string(11) "2.147484e+9"
-string(1) "e"
-string(11) "2.147484e+9"
-string(1) "e"
-string(12) " 2.147484e+9"
-string(12) "2.147484e+9 "
-string(12) " 2.147484e+9"
-string(12) "
-2.147484e+9"
-string(11) "2.147484e+9"
-string(30) " 2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : scientific formats with integer values ***
-- Iteration 1 --
unicode(30) " 2.147484e+9"
unicode(4) "0-1]"
unicode(1) "e"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : scientific formats with float values ***
-
--- Iteration 1 --
-string(12) "-2.147484e+9"
-string(1) "e"
-string(12) "-2.147484e+9"
-string(1) "e"
-string(13) " -2.147484e+9"
-string(13) "-2.147484e+9 "
-string(13) " -2.147484e+9"
-string(13) "
--2.147484e+9"
-string(12) "-2.147484e+9"
-string(30) " -2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 2 --
-string(11) "2.147484e+9"
-string(1) "e"
-string(11) "2.147484e+9"
-string(1) "e"
-string(12) " 2.147484e+9"
-string(12) "2.147484e+9 "
-string(12) " 2.147484e+9"
-string(12) "
-2.147484e+9"
-string(11) "2.147484e+9"
-string(30) " 2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 3 --
-string(12) "-2.147484e+9"
-string(1) "e"
-string(12) "-2.147484e+9"
-string(1) "e"
-string(13) " -2.147484e+9"
-string(13) "-2.147484e+9 "
-string(13) " -2.147484e+9"
-string(13) "
--2.147484e+9"
-string(12) "-2.147484e+9"
-string(30) " -2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 4 --
-string(12) "3.435974e+10"
-string(1) "e"
-string(12) "3.435974e+10"
-string(1) "e"
-string(13) " 3.435974e+10"
-string(13) "3.435974e+10 "
-string(13) " 3.435974e+10"
-string(13) "
-3.435974e+10"
-string(12) "3.435974e+10"
-string(30) " 3.435974e+10"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 5 --
-string(11) "2.147484e+9"
-string(1) "e"
-string(11) "2.147484e+9"
-string(1) "e"
-string(12) " 2.147484e+9"
-string(12) "2.147484e+9 "
-string(12) " 2.147484e+9"
-string(12) "
-2.147484e+9"
-string(11) "2.147484e+9"
-string(30) " 2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 6 --
-string(12) "-2.147484e+9"
-string(1) "e"
-string(12) "-2.147484e+9"
-string(1) "e"
-string(13) " -2.147484e+9"
-string(13) "-2.147484e+9 "
-string(13) " -2.147484e+9"
-string(13) "
--2.147484e+9"
-string(12) "-2.147484e+9"
-string(30) " -2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 7 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 8 --
-string(12) "-1.000000e-1"
-string(1) "e"
-string(12) "-1.000000e-1"
-string(1) "e"
-string(13) " -1.000000e-1"
-string(13) "-1.000000e-1 "
-string(13) " -1.000000e-1"
-string(13) "
--1.000000e-1"
-string(12) "-1.000000e-1"
-string(30) " -1.000000e-1"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 9 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 10 --
-string(11) "1.000000e+5"
-string(1) "e"
-string(11) "1.000000e+5"
-string(1) "e"
-string(12) " 1.000000e+5"
-string(12) "1.000000e+5 "
-string(12) " 1.000000e+5"
-string(12) "
-1.000000e+5"
-string(11) "1.000000e+5"
-string(30) " 1.000000e+5"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 11 --
-string(12) "-1.000000e+5"
-string(1) "e"
-string(12) "-1.000000e+5"
-string(1) "e"
-string(13) " -1.000000e+5"
-string(13) "-1.000000e+5 "
-string(13) " -1.000000e+5"
-string(13) "
--1.000000e+5"
-string(12) "-1.000000e+5"
-string(30) " -1.000000e+5"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 12 --
-string(12) "-1.000000e+5"
-string(1) "e"
-string(12) "-1.000000e+5"
-string(1) "e"
-string(13) " -1.000000e+5"
-string(13) "-1.000000e+5 "
-string(13) " -1.000000e+5"
-string(13) "
--1.000000e+5"
-string(12) "-1.000000e+5"
-string(30) " -1.000000e+5"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 13 --
-string(11) "1.000000e+5"
-string(1) "e"
-string(11) "1.000000e+5"
-string(1) "e"
-string(12) " 1.000000e+5"
-string(12) "1.000000e+5 "
-string(12) " 1.000000e+5"
-string(12) "
-1.000000e+5"
-string(11) "1.000000e+5"
-string(30) " 1.000000e+5"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 14 --
-string(11) "1.000000e+5"
-string(1) "e"
-string(11) "1.000000e+5"
-string(1) "e"
-string(12) " 1.000000e+5"
-string(12) "1.000000e+5 "
-string(12) " 1.000000e+5"
-string(12) "
-1.000000e+5"
-string(11) "1.000000e+5"
-string(30) " 1.000000e+5"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 15 --
-string(12) "-1.000000e-5"
-string(1) "e"
-string(12) "-1.000000e-5"
-string(1) "e"
-string(13) " -1.000000e-5"
-string(13) "-1.000000e-5 "
-string(13) " -1.000000e-5"
-string(13) "
--1.000000e-5"
-string(12) "-1.000000e-5"
-string(30) " -1.000000e-5"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 16 --
-string(11) "1.000000e+8"
-string(1) "e"
-string(11) "1.000000e+8"
-string(1) "e"
-string(12) " 1.000000e+8"
-string(12) "1.000000e+8 "
-string(12) " 1.000000e+8"
-string(12) "
-1.000000e+8"
-string(11) "1.000000e+8"
-string(30) " 1.000000e+8"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 17 --
-string(12) "-1.000000e+9"
-string(1) "e"
-string(12) "-1.000000e+9"
-string(1) "e"
-string(13) " -1.000000e+9"
-string(13) "-1.000000e+9 "
-string(13) " -1.000000e+9"
-string(13) "
--1.000000e+9"
-string(12) "-1.000000e+9"
-string(30) " -1.000000e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 18 --
-string(11) "1.000000e+1"
-string(1) "e"
-string(11) "1.000000e+1"
-string(1) "e"
-string(12) " 1.000000e+1"
-string(12) "1.000000e+1 "
-string(12) " 1.000000e+1"
-string(12) "
-1.000000e+1"
-string(11) "1.000000e+1"
-string(30) " 1.000000e+1"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 19 --
-string(11) "1.050000e+6"
-string(1) "e"
-string(11) "1.050000e+6"
-string(1) "e"
-string(12) " 1.050000e+6"
-string(12) "1.050000e+6 "
-string(12) " 1.050000e+6"
-string(12) "
-1.050000e+6"
-string(11) "1.050000e+6"
-string(30) " 1.050000e+6"
-string(4) "0-1]"
-string(1) "e"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : scientific formats with float values ***
-- Iteration 1 --
unicode(30) " 1.050000e+6"
unicode(4) "0-1]"
unicode(1) "e"
-Done
\ No newline at end of file
+Done
--EXPECTF--
*** Testing sprintf() : scientific formats with resource values ***
--- Iteration 1 --
-string(%d) "%f"
-string(1) "e"
-string(%d) "%f"
-string(1) "e"
-string(%d) " %f"
-string(%d) "%f "
-string(%d) " %f"
-string(%d) "
-%f"
-string(%d) "%f"
-string(%d) "%s%f"
-string(%d) "0-1]"
-string(1) "e"
-
--- Iteration 2 --
-string(%d) "%f"
-string(1) "e"
-string(%d) "%f"
-string(1) "e"
-string(%d) " %f"
-string(%d) "%f "
-string(%d) " %f"
-string(%d) "
-%f"
-string(%d) "%f"
-string(%d) "%s%f"
-string(%d) "0-1]"
-string(1) "e"
-Done
---UEXPECTF--
-*** Testing sprintf() : scientific formats with resource values ***
-
-- Iteration 1 --
unicode(%d) "%f"
unicode(1) "e"
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : scientific formats with array values ***
-
--- Iteration 1 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 2 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 3 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 4 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 5 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 6 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 7 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 8 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 9 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 10 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 11 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 12 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 13 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 14 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 15 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : scientific formats with array values ***
-- Iteration 1 --
unicode(30) " 1.000000e+0"
unicode(4) "0-1]"
unicode(1) "e"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : integer formats with float values ***
-
--- Iteration 1 --
-string(10) "2147483648"
-string(1) "d"
-string(10) "2147483648"
-string(1) "d"
-string(11) " 2147483648"
-string(11) "2147483648 "
-string(11) " 2147483648"
-string(11) "
-2147483648"
-string(10) "2147483648"
-string(30) " 2147483648"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 2 --
-string(11) "34359738369"
-string(1) "d"
-string(11) "34359738369"
-string(1) "d"
-string(12) " 34359738369"
-string(12) "34359738369 "
-string(12) " 34359738369"
-string(12) "
-34359738369"
-string(11) "34359738369"
-string(30) " 34359738369"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 3 --
-string(10) "2147483649"
-string(1) "d"
-string(10) "2147483649"
-string(1) "d"
-string(11) " 2147483649"
-string(11) "2147483649 "
-string(11) " 2147483649"
-string(11) "
-2147483649"
-string(10) "2147483649"
-string(30) " 2147483649"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 5 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 7 --
-string(6) "100000"
-string(1) "d"
-string(6) "100000"
-string(1) "d"
-string(7) " 100000"
-string(7) "100000 "
-string(7) " 100000"
-string(7) "
-100000"
-string(6) "100000"
-string(30) " 100000"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 8 --
-string(8) "-1000000"
-string(1) "d"
-string(8) "-1000000"
-string(1) "d"
-string(9) " -1000000"
-string(9) "-1000000 "
-string(9) " -1000000"
-string(9) "
--1000000"
-string(8) "-1000000"
-string(30) " -1000000"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 9 --
-string(9) "100000000"
-string(1) "d"
-string(9) "100000000"
-string(1) "d"
-string(10) " 100000000"
-string(10) "100000000 "
-string(10) " 100000000"
-string(10) "
-100000000"
-string(9) "100000000"
-string(30) " 100000000"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 10 --
-string(11) "-1000000000"
-string(1) "d"
-string(11) "-1000000000"
-string(1) "d"
-string(12) " -1000000000"
-string(12) "-1000000000 "
-string(12) " -1000000000"
-string(12) "
--1000000000"
-string(11) "-1000000000"
-string(30) " -1000000000"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 11 --
-string(2) "10"
-string(1) "d"
-string(2) "10"
-string(1) "d"
-string(3) " 10"
-string(3) "10 "
-string(3) " 10"
-string(3) "
-10"
-string(4) " 10"
-string(30) " 10"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 12 --
-string(7) "1050000"
-string(1) "d"
-string(7) "1050000"
-string(1) "d"
-string(8) " 1050000"
-string(8) "1050000 "
-string(8) " 1050000"
-string(8) "
-1050000"
-string(7) "1050000"
-string(30) " 1050000"
-string(4) "0-9]"
-string(1) "d"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : integer formats with float values ***
-- Iteration 1 --
--EXPECTF--
*** Testing sprintf() : integer formats with resource values ***
--- Iteration 1 --
-string(%d) "%d"
-string(1) "d"
-string(%d) " %d"
-string(%d) " %d"
-string(%d) "
-%d"
-string(%d) "%s%d"
-string(%d) "0-9]"
-string(1) "d"
-
--- Iteration 2 --
-string(%d) "%d"
-string(1) "d"
-string(%d) " %d"
-string(%d) " %d"
-string(%d) "
-%d"
-string(%d) "%s%d"
-string(%d) "0-9]"
-string(1) "d"
-Done
---UEXPECTF--
-*** Testing sprintf() : integer formats with resource values ***
-
-- Iteration 1 --
unicode(%d) "%d"
unicode(1) "d"
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : scientific formats with string values ***
-
--- Iteration 1 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 2 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 3 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 4 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 5 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 6 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 7 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 8 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 9 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 10 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 11 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 12 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 13 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 14 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 15 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 16 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 17 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 18 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 19 --
-string(12) "3.333333e+29"
-string(1) "e"
-string(12) "3.333333e+29"
-string(1) "e"
-string(13) " 3.333333e+29"
-string(13) "3.333333e+29 "
-string(13) " 3.333333e+29"
-string(13) "
-3.333333e+29"
-string(12) "3.333333e+29"
-string(30) " 3.333333e+29"
-string(4) "0-1]"
-string(1) "e"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : scientific formats with string values ***
-- Iteration 1 --
unicode(30) " 3.333333e+29"
unicode(4) "0-1]"
unicode(1) "e"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : scientific formats with boolean values ***
-
--- Iteration 1 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 2 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 3 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) " 1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) " 1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 4 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) " 0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) " 0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : scientific formats with boolean values ***
-- Iteration 1 --
unicode(30) " 0.000000e+0"
unicode(4) "0-1]"
unicode(1) "e"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : with typical format strings ***
-
--- Testing for '%%%.2f' as the format parameter --
-string(15) "%12345678900.00"
-
--- Testing for '%%' as the format parameter --
-string(1) "%"
-
--- Testing for precision value more than maximum --
-string(52) "12345678900.0000000000000000000000000000000000000000"
-
--- Testing for invalid width(-15) specifier --
-string(3) "15s"
-
--- Testing for '%X' as the format parameter --
-string(1) "C"
-
--- Testing for multiple format parameters --
-string(39) "12345 abcdefghjklmnpqrstuvwxyz 12345
-"
-
--- Testing for excess of mixed type arguments --
-string(24) "abcdefghjklmnpqrstuvwxyz"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : with typical format strings ***
-- Testing for '%%%.2f' as the format parameter --
-- Testing for excess of mixed type arguments --
unicode(24) "abcdefghjklmnpqrstuvwxyz"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : with white spaces in format strings ***
-string(4) "1234"
-string(4) "1234"
-string(4) "1234"
-string(11) "1234.000000"
-string(11) "1234.000000"
-string(11) "1234.000000"
-string(11) "1234.000000"
-string(11) "1234.000000"
-string(11) "1234.000000"
-string(11) "10011010010"
-string(11) "10011010010"
-string(11) "10011010010"
-string(1) "Ò"
-string(1) "Ò"
-string(1) "Ò"
-string(11) "1.234000e+3"
-string(11) "1.234000e+3"
-string(11) "1.234000e+3"
-string(4) "1234"
-string(4) "1234"
-string(4) "1234"
-string(4) "2322"
-string(4) "2322"
-string(4) "2322"
-string(3) "4d2"
-string(3) "4d2"
-string(3) "4d2"
-string(3) "4D2"
-string(3) "4D2"
-string(3) "4D2"
-string(11) "1.234000E+3"
-string(11) "1.234000E+3"
-string(11) "1.234000E+3"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : with white spaces in format strings ***
unicode(4) "1234"
unicode(4) "1234"
unicode(11) "1.234000E+3"
unicode(11) "1.234000E+3"
unicode(11) "1.234000E+3"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : integer formats with arrays ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 4 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 5 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 7 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 8 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 9 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 10 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 11 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 12 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 13 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 14 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 15 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : integer formats with arrays ***
-- Iteration 1 --
unicode(30) " 1"
unicode(4) "0-9]"
unicode(1) "d"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : integer formats with boolean values ***
-
--- Iteration 1 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : integer formats with boolean values ***
-- Iteration 1 --
unicode(30) " 0"
unicode(4) "0-9]"
unicode(1) "d"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : integer formats with string values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 3 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 5 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) " 1"
-string(2) "
-1"
-string(4) " 1"
-string(30) " 1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 7 --
-string(4) "-123"
-string(1) "d"
-string(4) "-123"
-string(1) "d"
-string(5) " -123"
-string(5) "-123 "
-string(5) " -123"
-string(5) "
--123"
-string(4) "-123"
-string(30) " -123"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 8 --
-string(3) "123"
-string(1) "d"
-string(3) "123"
-string(1) "d"
-string(4) " 123"
-string(4) "123 "
-string(4) " 123"
-string(4) "
-123"
-string(4) " 123"
-string(30) " 123"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 9 --
-string(3) "123"
-string(1) "d"
-string(3) "123"
-string(1) "d"
-string(4) " 123"
-string(4) "123 "
-string(4) " 123"
-string(4) "
-123"
-string(4) " 123"
-string(30) " 123"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 10 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 11 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 12 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 13 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 14 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 15 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 16 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 17 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 18 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 19 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 20 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 21 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) " 0"
-string(2) "
-0"
-string(4) " 0"
-string(30) " 0"
-string(4) "0-9]"
-string(1) "d"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : integer formats with string values ***
-- Iteration 1 --
unicode(30) " 0"
unicode(4) "0-9]"
unicode(1) "d"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
-*** Testing sprintf() : float formats with float values ***
-
--- Iteration 1 --
-string(18) "-2147483649.000000"
-string(1) "f"
-string(18) "-2147483649.000000"
-string(1) "f"
-string(19) " -2147483649.000000"
-string(19) "-2147483649.000000 "
-string(19) " -2147483649.000000"
-string(19) "
--2147483649.000000"
-string(18) "-2147483649.000000"
-string(30) " -2147483649.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 2 --
-string(17) "2147483648.000000"
-string(1) "f"
-string(17) "2147483648.000000"
-string(1) "f"
-string(18) " 2147483648.000000"
-string(18) "2147483648.000000 "
-string(18) " 2147483648.000000"
-string(18) "
-2147483648.000000"
-string(17) "2147483648.000000"
-string(30) " 2147483648.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 3 --
-string(18) "-2147483649.000000"
-string(1) "f"
-string(18) "-2147483649.000000"
-string(1) "f"
-string(19) " -2147483649.000000"
-string(19) "-2147483649.000000 "
-string(19) " -2147483649.000000"
-string(19) "
--2147483649.000000"
-string(18) "-2147483649.000000"
-string(30) " -2147483649.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 4 --
-string(18) "34359738369.000000"
-string(1) "f"
-string(18) "34359738369.000000"
-string(1) "f"
-string(19) " 34359738369.000000"
-string(19) "34359738369.000000 "
-string(19) " 34359738369.000000"
-string(19) "
-34359738369.000000"
-string(18) "34359738369.000000"
-string(30) " 34359738369.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 5 --
-string(17) "2147483649.000000"
-string(1) "f"
-string(17) "2147483649.000000"
-string(1) "f"
-string(18) " 2147483649.000000"
-string(18) "2147483649.000000 "
-string(18) " 2147483649.000000"
-string(18) "
-2147483649.000000"
-string(17) "2147483649.000000"
-string(30) " 2147483649.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 6 --
-string(18) "-2147483649.000000"
-string(1) "f"
-string(18) "-2147483649.000000"
-string(1) "f"
-string(19) " -2147483649.000000"
-string(19) "-2147483649.000000 "
-string(19) " -2147483649.000000"
-string(19) "
--2147483649.000000"
-string(18) "-2147483649.000000"
-string(30) " -2147483649.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 7 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 8 --
-string(9) "-0.100000"
-string(1) "f"
-string(9) "-0.100000"
-string(1) "f"
-string(10) " -0.100000"
-string(10) "-0.100000 "
-string(10) " -0.100000"
-string(10) "
--0.100000"
-string(9) "-0.100000"
-string(30) " -0.100000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 9 --
-string(9) "10.000000"
-string(1) "f"
-string(9) "10.000000"
-string(1) "f"
-string(10) " 10.000000"
-string(10) "10.000000 "
-string(10) " 10.000000"
-string(10) "
-10.000000"
-string(9) "10.000000"
-string(30) " 10.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 10 --
-string(14) "1050000.000000"
-string(1) "f"
-string(14) "1050000.000000"
-string(1) "f"
-string(15) " 1050000.000000"
-string(15) "1050000.000000 "
-string(15) " 1050000.000000"
-string(15) "
-1050000.000000"
-string(14) "1050000.000000"
-string(30) " 1050000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 11 --
-string(13) "100000.000000"
-string(1) "f"
-string(13) "100000.000000"
-string(1) "f"
-string(14) " 100000.000000"
-string(14) "100000.000000 "
-string(14) " 100000.000000"
-string(14) "
-100000.000000"
-string(13) "100000.000000"
-string(30) " 100000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 12 --
-string(14) "-100000.000000"
-string(1) "f"
-string(14) "-100000.000000"
-string(1) "f"
-string(15) " -100000.000000"
-string(15) "-100000.000000 "
-string(15) " -100000.000000"
-string(15) "
--100000.000000"
-string(14) "-100000.000000"
-string(30) " -100000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 13 --
-string(8) "0.000010"
-string(1) "f"
-string(8) "0.000010"
-string(1) "f"
-string(9) " 0.000010"
-string(9) "0.000010 "
-string(9) " 0.000010"
-string(9) "
-0.000010"
-string(8) "0.000010"
-string(30) " 0.000010"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 14 --
-string(9) "-0.000010"
-string(1) "f"
-string(9) "-0.000010"
-string(1) "f"
-string(10) " -0.000010"
-string(10) "-0.000010 "
-string(10) " -0.000010"
-string(10) "
--0.000010"
-string(9) "-0.000010"
-string(30) " -0.000010"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 15 --
-string(13) "100000.000000"
-string(1) "f"
-string(13) "100000.000000"
-string(1) "f"
-string(14) " 100000.000000"
-string(14) "100000.000000 "
-string(14) " 100000.000000"
-string(14) "
-100000.000000"
-string(13) "100000.000000"
-string(30) " 100000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 16 --
-string(14) "-100000.000000"
-string(1) "f"
-string(14) "-100000.000000"
-string(1) "f"
-string(15) " -100000.000000"
-string(15) "-100000.000000 "
-string(15) " -100000.000000"
-string(15) "
--100000.000000"
-string(14) "-100000.000000"
-string(30) " -100000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 17 --
-string(13) "100000.000000"
-string(1) "f"
-string(13) "100000.000000"
-string(1) "f"
-string(14) " 100000.000000"
-string(14) "100000.000000 "
-string(14) " 100000.000000"
-string(14) "
-100000.000000"
-string(13) "100000.000000"
-string(30) " 100000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 18 --
-string(14) "-100000.000000"
-string(1) "f"
-string(14) "-100000.000000"
-string(1) "f"
-string(15) " -100000.000000"
-string(15) "-100000.000000 "
-string(15) " -100000.000000"
-string(15) "
--100000.000000"
-string(14) "-100000.000000"
-string(30) " -100000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 19 --
-string(13) "100000.000000"
-string(1) "f"
-string(13) "100000.000000"
-string(1) "f"
-string(14) " 100000.000000"
-string(14) "100000.000000 "
-string(14) " 100000.000000"
-string(14) "
-100000.000000"
-string(13) "100000.000000"
-string(30) " 100000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 20 --
-string(14) "-100000.000000"
-string(1) "f"
-string(14) "-100000.000000"
-string(1) "f"
-string(15) " -100000.000000"
-string(15) "-100000.000000 "
-string(15) " -100000.000000"
-string(15) "
--100000.000000"
-string(14) "-100000.000000"
-string(30) " -100000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 21 --
-string(8) "0.000010"
-string(1) "f"
-string(8) "0.000010"
-string(1) "f"
-string(9) " 0.000010"
-string(9) "0.000010 "
-string(9) " 0.000010"
-string(9) "
-0.000010"
-string(8) "0.000010"
-string(30) " 0.000010"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 22 --
-string(9) "-0.000010"
-string(1) "f"
-string(9) "-0.000010"
-string(1) "f"
-string(10) " -0.000010"
-string(10) "-0.000010 "
-string(10) " -0.000010"
-string(10) "
--0.000010"
-string(9) "-0.000010"
-string(30) " -0.000010"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 23 --
-string(14) "5000000.000000"
-string(1) "f"
-string(14) "5000000.000000"
-string(1) "f"
-string(15) " 5000000.000000"
-string(15) "5000000.000000 "
-string(15) " 5000000.000000"
-string(15) "
-5000000.000000"
-string(14) "5000000.000000"
-string(30) " 5000000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 24 --
-string(15) "-5000000.000000"
-string(1) "f"
-string(15) "-5000000.000000"
-string(1) "f"
-string(16) " -5000000.000000"
-string(16) "-5000000.000000 "
-string(16) " -5000000.000000"
-string(16) "
--5000000.000000"
-string(15) "-5000000.000000"
-string(30) " -5000000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 25 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 26 --
-string(9) "-0.000000"
-string(1) "f"
-string(9) "-0.000000"
-string(1) "f"
-string(10) " -0.000000"
-string(10) "-0.000000 "
-string(10) " -0.000000"
-string(10) "
--0.000000"
-string(9) "-0.000000"
-string(30) " -0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 27 --
-string(50) "5000000000000000069686058479707049565356032.000000"
-string(1) "f"
-string(50) "5000000000000000069686058479707049565356032.000000"
-string(1) "f"
-string(51) " 5000000000000000069686058479707049565356032.000000"
-string(51) "5000000000000000069686058479707049565356032.000000 "
-string(51) " 5000000000000000069686058479707049565356032.000000"
-string(51) "
-5000000000000000069686058479707049565356032.000000"
-string(50) "5000000000000000069686058479707049565356032.000000"
-string(50) "5000000000000000069686058479707049565356032.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 28 --
-string(51) "-5000000000000000069686058479707049565356032.000000"
-string(1) "f"
-string(51) "-5000000000000000069686058479707049565356032.000000"
-string(1) "f"
-string(52) " -5000000000000000069686058479707049565356032.000000"
-string(52) "-5000000000000000069686058479707049565356032.000000 "
-string(52) " -5000000000000000069686058479707049565356032.000000"
-string(52) "
--5000000000000000069686058479707049565356032.000000"
-string(51) "-5000000000000000069686058479707049565356032.000000"
-string(51) "-5000000000000000069686058479707049565356032.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 29 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) " 0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) " 0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 30 --
-string(9) "-0.000000"
-string(1) "f"
-string(9) "-0.000000"
-string(1) "f"
-string(10) " -0.000000"
-string(10) "-0.000000 "
-string(10) " -0.000000"
-string(10) "
--0.000000"
-string(9) "-0.000000"
-string(30) " -0.000000"
-string(4) "0-9]"
-string(1) "f"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing sprintf() : float formats with float values ***
-- Iteration 1 --
unicode(30) " -0.000000"
unicode(4) "0-9]"
unicode(1) "f"
-Done
\ No newline at end of file
+Done
echo "Done\n";
?>
---EXPECTF--
-Warning: str_ireplace() expects at least 3 parameters, 0 given in %s on line %d
-NULL
-
-Warning: str_ireplace() expects at least 3 parameters, 1 given in %s on line %d
-NULL
-
-Warning: str_ireplace() expects at least 3 parameters, 2 given in %s on line %d
-NULL
-string(0) ""
-string(8) "aaaaaaaT"
-string(8) "aaaaaaaT"
-int(7)
-string(15) "aaaaaaaaaaaaaaT"
-string(15) "aaaaaaaaaaaaaaT"
-int(7)
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-int(7)
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-int(7)
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-array(2) {
- [0]=>
- string(22) "aaaaaaaaaaaaaaaaaaaaaT"
- [1]=>
- string(36) "aabbbbbbaabbbasdabbbbbbahsdbbbbbbbbb"
-}
-array(2) {
- ["key"]=>
- string(22) "aaaaaaaaaaaaaaaaaaaaaT"
- ["test"]=>
- string(36) "aabbbbbbaabbbasdabbbbbbahsdbbbbbbbbb"
-}
-array(2) {
- ["key"]=>
- string(22) "aaaaaaaaaaaaaaaaaaaaaT"
- ["test"]=>
- string(36) "aabbbbbbaabbbasdabbbbbbahsdbbbbbbbbb"
-}
-string(143) "Change tracking and management software designed to watch
- for abnormal system behavior.
-Suggest features, report bugs, or ask
- questions here."
-string(152) "Change tracking and management software designed to watch<br> for abnormal system behavior.<br>Suggest features, report bugs, or ask<br> questions here."
-Done
---UEXPECTF--
+--EXPECTF--
Warning: str_ireplace() expects at least 3 parameters, 0 given in %s on line %d
NULL
echo "Done\n";
?>
---EXPECTF--
-*** Testing str_replace() on basic operations ***
-string(0) ""
-string(4) "tbst"
-string(0) ""
-int(0)
-string(1) "q"
-int(1)
-string(0) ""
-int(0)
-string(%d) "Resource id #%d"
-int(1)
-
-*** Testing str_replace() with various search values ***
--- Iteration 0 --
-array(12) {
- [0]=>
- string(5) "FOUND"
- [1]=>
- string(0) ""
- [2]=>
- string(5) "FOUND"
- [3]=>
- string(1) "0"
- [4]=>
- string(6) "-FOUND"
- [5]=>
- string(5) "FOUND"
- [6]=>
- string(1) "0"
- [7]=>
- string(6) "-FOUND"
- [8]=>
- string(0) ""
- [9]=>
- array(0) {
- }
- [10]=>
- string(3) "php"
- [11]=>
- string(0) ""
-}
-int(5)
-
--- Iteration 1 --
-array(12) {
- [0]=>
- string(1) "1"
- [1]=>
- string(0) ""
- [2]=>
- string(1) "1"
- [3]=>
- string(1) "0"
- [4]=>
- string(2) "-1"
- [5]=>
- string(1) "1"
- [6]=>
- string(1) "0"
- [7]=>
- string(2) "-1"
- [8]=>
- string(0) ""
- [9]=>
- array(0) {
- }
- [10]=>
- string(3) "php"
- [11]=>
- string(0) ""
-}
-int(0)
-
--- Iteration 2 --
-array(12) {
- [0]=>
- string(5) "FOUND"
- [1]=>
- string(0) ""
- [2]=>
- string(5) "FOUND"
- [3]=>
- string(1) "0"
- [4]=>
- string(6) "-FOUND"
- [5]=>
- string(5) "FOUND"
- [6]=>
- string(1) "0"
- [7]=>
- string(6) "-FOUND"
- [8]=>
- string(0) ""
- [9]=>
- array(0) {
- }
- [10]=>
- string(3) "php"
- [11]=>
- string(0) ""
-}
-int(5)
-
--- Iteration 3 --
-array(12) {
- [0]=>
- string(1) "1"
- [1]=>
- string(0) ""
- [2]=>
- string(1) "1"
- [3]=>
- string(5) "FOUND"
- [4]=>
- string(2) "-1"
- [5]=>
- string(1) "1"
- [6]=>
- string(5) "FOUND"
- [7]=>
- string(2) "-1"
- [8]=>
- string(0) ""
- [9]=>
- array(0) {
- }
- [10]=>
- string(3) "php"
- [11]=>
- string(0) ""
-}
-int(2)
-
--- Iteration 4 --
-array(12) {
- [0]=>
- string(1) "1"
- [1]=>
- string(0) ""
- [2]=>
- string(1) "1"
- [3]=>
- string(1) "0"
- [4]=>
- string(5) "FOUND"
- [5]=>
- string(1) "1"
- [6]=>
- string(1) "0"
- [7]=>
- string(5) "FOUND"
- [8]=>
- string(0) ""
- [9]=>
- array(0) {
- }
- [10]=>
- string(3) "php"
- [11]=>
- string(0) ""
-}
-int(2)
-
--- Iteration 5 --
-array(12) {
- [0]=>
- string(5) "FOUND"
- [1]=>
- string(0) ""
- [2]=>
- string(5) "FOUND"
- [3]=>
- string(1) "0"
- [4]=>
- string(6) "-FOUND"
- [5]=>
- string(5) "FOUND"
- [6]=>
- string(1) "0"
- [7]=>
- string(6) "-FOUND"
- [8]=>
- string(0) ""
- [9]=>
- array(0) {
- }
- [10]=>
- string(3) "php"
- [11]=>
- string(0) ""
-}
-int(5)
-
--- Iteration 6 --
-array(12) {
- [0]=>
- string(1) "1"
- [1]=>
- string(0) ""
- [2]=>
- string(1) "1"
- [3]=>
- string(5) "FOUND"
- [4]=>
- string(2) "-1"
- [5]=>
- string(1) "1"
- [6]=>
- string(5) "FOUND"
- [7]=>
- string(2) "-1"
- [8]=>
- string(0) ""
- [9]=>
- array(0) {
- }
- [10]=>
- string(3) "php"
- [11]=>
- string(0) ""
-}
-int(2)
-
--- Iteration 7 --
-array(12) {
- [0]=>
- string(1) "1"
- [1]=>
- string(0) ""
- [2]=>
- string(1) "1"
- [3]=>
- string(1) "0"
- [4]=>
- string(5) "FOUND"
- [5]=>
- string(1) "1"
- [6]=>
- string(1) "0"
- [7]=>
- string(5) "FOUND"
- [8]=>
- string(0) ""
- [9]=>
- array(0) {
- }
- [10]=>
- string(3) "php"
- [11]=>
- string(0) ""
-}
-int(2)
-
--- Iteration 8 --
-array(12) {
- [0]=>
- string(1) "1"
- [1]=>
- string(0) ""
- [2]=>
- string(1) "1"
- [3]=>
- string(1) "0"
- [4]=>
- string(2) "-1"
- [5]=>
- string(1) "1"
- [6]=>
- string(1) "0"
- [7]=>
- string(2) "-1"
- [8]=>
- string(0) ""
- [9]=>
- array(0) {
- }
- [10]=>
- string(3) "php"
- [11]=>
- string(0) ""
-}
-int(0)
-
--- Iteration 9 --
-array(12) {
- [0]=>
- string(1) "1"
- [1]=>
- string(0) ""
- [2]=>
- string(1) "1"
- [3]=>
- string(1) "0"
- [4]=>
- string(2) "-1"
- [5]=>
- string(1) "1"
- [6]=>
- string(1) "0"
- [7]=>
- string(2) "-1"
- [8]=>
- string(0) ""
- [9]=>
- array(0) {
- }
- [10]=>
- string(3) "php"
- [11]=>
- string(0) ""
-}
-int(0)
-
--- Iteration 10 --
-array(12) {
- [0]=>
- string(1) "1"
- [1]=>
- string(0) ""
- [2]=>
- string(1) "1"
- [3]=>
- string(1) "0"
- [4]=>
- string(2) "-1"
- [5]=>
- string(1) "1"
- [6]=>
- string(1) "0"
- [7]=>
- string(2) "-1"
- [8]=>
- string(0) ""
- [9]=>
- array(0) {
- }
- [10]=>
- string(5) "FOUND"
- [11]=>
- string(0) ""
-}
-int(1)
-
--- Iteration 11 --
-array(12) {
- [0]=>
- string(1) "1"
- [1]=>
- string(0) ""
- [2]=>
- string(1) "1"
- [3]=>
- string(1) "0"
- [4]=>
- string(2) "-1"
- [5]=>
- string(1) "1"
- [6]=>
- string(1) "0"
- [7]=>
- string(2) "-1"
- [8]=>
- string(0) ""
- [9]=>
- array(0) {
- }
- [10]=>
- string(3) "php"
- [11]=>
- string(0) ""
-}
-int(0)
-
-*** Testing str_replace() with various subjects ***
---- Iteration 0 ---
--- String after replacing the search value is => --
-string(177) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!FOUND
- ?FOUND chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '2' times
-
---- Iteration 1 ---
--- String after replacing the search value is => --
-string(177) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!FOUND
- ?FOUND chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '2' times
-
---- Iteration 2 ---
--- String after replacing the search value is => --
-string(182) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: FOUND
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 3 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 4 ---
--- String after replacing the search value is => --
-string(182) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $FOUND: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 5 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 6 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 7 ---
--- String after replacing the search value is => --
-string(189) "Hello, world,0120333.3445FOUND67 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 8 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 9 ---
--- String after replacing the search value is => --
-string(193) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00«CD\0FOUND \xXYZ FOUND $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '2' times
-
---- Iteration 10 ---
--- String after replacing the search value is => --
-string(193) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xFOUND abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 11 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 12 ---
--- String after replacing the search value is => --
-string(192) "Hello, world,0120333.3445-1.234567 FOUND TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 13 ---
--- String after replacing the search value is => --
-string(207) "Hello, world,FOUND12FOUND333.3445-1.234567 NULL TRUE FALSE\0
- \0FOUND«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(FOUND).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '4' times
-
---- Iteration 14 ---
--- String after replacing the search value is => --
-string(207) "Hello, world,FOUND12FOUND333.3445-1.234567 NULL TRUE FALSE\0
- \0FOUND«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(FOUND).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '4' times
-
---- Iteration 15 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 16 ---
--- String after replacing the search value is => --
-string(307) "Hello,FOUNDworld,0120333.3445-1.234567FOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDNULLFOUNDTRUEFOUNDFALSE\0
-FOUND FOUNDFOUNDFOUNDFOUND\00«CD\0abcdFOUND\xXYZ abcdFOUND$$@#%^&*!~,.:;?:FOUND!!Hello,FOUNDWorldFOUND
- FOUNDFOUNDFOUNDFOUND?Hello,FOUNDWorldFOUNDchr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '29' times
-
---- Iteration 17 ---
--- String after replacing the search value is => --
-string(203) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSEFOUND
- FOUND0«CDFOUNDabcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '3' times
-
---- Iteration 18 ---
--- String after replacing the search value is => --
-string(194) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- FOUND«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 19 ---
--- String after replacing the search value is => --
-string(194) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00FOUNDD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 20 ---
--- String after replacing the search value is => --
-string(194) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- FOUND«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 21 ---
--- String after replacing the search value is => --
-string(194) "Hello, world,0120333FOUND445-1.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 22 ---
--- String after replacing the search value is => --
-string(203) "Hello, world,0FOUND20333.3445-FOUND.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(FOUND28).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '3' times
-
---- Iteration 23 ---
--- String after replacing the search value is => --
-string(192) "Hello, world,0120333.3445-1.234567 NULL FOUND FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 24 ---
--- String after replacing the search value is => --
-string(203) "Hello, world,0FOUND20333.3445-FOUND.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(FOUND28).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '3' times
-
---- Iteration 25 ---
--- String after replacing the search value is => --
-string(203) "Hello, world,0FOUND20333.3445-FOUND.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(FOUND28).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '3' times
-
---- Iteration 26 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 27 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FOUND\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 28 ---
--- String after replacing the search value is => --
-string(307) "Hello,FOUNDworld,0120333.3445-1.234567FOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDNULLFOUNDTRUEFOUNDFALSE\0
-FOUND FOUNDFOUNDFOUNDFOUND\00«CD\0abcdFOUND\xXYZ abcdFOUND$$@#%^&*!~,.:;?:FOUND!!Hello,FOUNDWorldFOUND
- FOUNDFOUNDFOUNDFOUND?Hello,FOUNDWorldFOUNDchr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '29' times
-
---- Iteration 29 ---
--- String after replacing the search value is => --
-string(186) "Hello, world,0120333.3445-1.234567FOUNDNULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 30 ---
--- String after replacing the search value is => --
-string(199) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00«CD\0aFOUNDcd \xXYZ aFOUNDcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '2' times
-
---- Iteration 31 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 32 ---
--- String after replacing the search value is => --
-string(203) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- FOUND \00«CD\0abcd \xXYZFOUNDabcd $$@#%^&*!~,.:;?: !!Hello, World
-FOUND ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '3' times
-
---- Iteration 33 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE\0
- \00«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 34 ---
--- String after replacing the search value is => --
-string(5) "FOUND"
--- search string has found '1' times
-
-*** Testing Miscelleneous input data ***
-string(3) "qqq"
-int(5)
-array(3) {
- [0]=>
- string(3) "qqq"
- [1]=>
- string(0) ""
- [2]=>
- string(3) "ccc"
-}
-int(6)
-
--- Testing objects --
-string(12) "Hello, world"
-int(1)
-
--- Testing arrays --
-string(15) "multimultimulti"
-int(3)
-string(3) "qqq"
-int(3)
-array(2) {
- [0]=>
- string(3) "qqq"
- [1]=>
- string(3) "ccc"
-}
-int(6)
-
-Notice: Array to string conversion in %s on line %d
-array(2) {
- [0]=>
- string(15) "ArrayArrayArray"
- [1]=>
- string(3) "bbb"
-}
-int(3)
-array(2) {
- [0]=>
- string(3) "111"
- [1]=>
- string(3) "bbb"
-}
-int(3)
-array(2) {
- [0]=>
- string(4) "aaa3"
- [1]=>
- string(4) "2bbb"
-}
-int(1)
-
--- Testing Resources --
-string(%d) "Resource id #%d"
-int(0)
-string(%d) "Resource id #%d"
-int(0)
-
--- Testing a longer and heredoc string --
-string(623) "FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789
-FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789
-FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789
-FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789
-FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789
-FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789
-FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789
-@#$%^&**&^%$#@!~:())))((((&&&**%$###@@@!!!~~~~@###$%^&*
-FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789"
-int(16)
-
--- Testing a heredoc null string --
-string(0) ""
-int(0)
-
--- Testing simple and complex syntax strings --
-string(5) "FOUND"
-string(5) "FOUND"
-
-Notice: Undefined variable: strS in %s on line %d
-string(0) ""
-string(5) "FOUND"
-string(5) "FOUND"
-
-*** Testing error conditions ***
-Warning: str_replace() expects at least 3 parameters, 0 given in %s on line %d
-NULL
-
-Warning: str_replace() expects at least 3 parameters, 1 given in %s on line %d
-NULL
-
-Warning: str_replace() expects at least 3 parameters, 1 given in %s on line %d
-NULL
-
-Warning: str_replace() expects at least 3 parameters, 2 given in %s on line %d
-NULL
-
-Warning: str_replace() expects at most 4 parameters, 5 given in %s on line %d
-NULL
-Done
---UEXPECTF--
+--EXPECTF--
*** Testing str_replace() on basic operations ***
unicode(0) ""
unicode(4) "tbst"
Warning: str_replace() expects at most 4 parameters, 5 given in %s on line %d
NULL
Done
-
var_dump($s);
?>
--EXPECTF--
-string(3) %s
-string(3) "123"
---UEXPECTF--
unicode(3) "%s"
unicode(3) "123"
echo "Done"
?>
---EXPECTF--
-*** Testing str_split() : basic functionality ***
--- With all possible arguments --
-array(5) {
- [0]=>
- string(5) "This "
- [1]=>
- string(5) "is ba"
- [2]=>
- string(5) "sic t"
- [3]=>
- string(5) "estca"
- [4]=>
- string(2) "se"
-}
--- With split_length as default argument --
-array(22) {
- [0]=>
- string(1) "T"
- [1]=>
- string(1) "h"
- [2]=>
- string(1) "i"
- [3]=>
- string(1) "s"
- [4]=>
- string(1) " "
- [5]=>
- string(1) "i"
- [6]=>
- string(1) "s"
- [7]=>
- string(1) " "
- [8]=>
- string(1) "b"
- [9]=>
- string(1) "a"
- [10]=>
- string(1) "s"
- [11]=>
- string(1) "i"
- [12]=>
- string(1) "c"
- [13]=>
- string(1) " "
- [14]=>
- string(1) "t"
- [15]=>
- string(1) "e"
- [16]=>
- string(1) "s"
- [17]=>
- string(1) "t"
- [18]=>
- string(1) "c"
- [19]=>
- string(1) "a"
- [20]=>
- string(1) "s"
- [21]=>
- string(1) "e"
-}
-Done
---UEXPECTF--
+--EXPECT--
*** Testing str_split() : basic functionality ***
-- With all possible arguments --
array(5) {
Warning: str_split() expects at most 2 parameters, 3 given in %s on line %d
NULL
Done
---UEXPECTF--
-*** Testing str_split() : error conditions ***
--- Testing str_split() function with Zero arguments --
-
-Warning: str_split() expects at least 1 parameter, 0 given in %s on line %d
-NULL
--- Testing str_split() function with more than expected no. of arguments --
-
-Warning: str_split() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-Done
--EXPECTF--
*** Testing str_split() : unexpected values for 'str' ***
-- Iteration 1 --
-array(1) {
- [0]=>
- string(1) "0"
-}
--- Iteration 2 --
-array(1) {
- [0]=>
- string(1) "1"
-}
--- Iteration 3 --
-array(2) {
- [0]=>
- string(3) "123"
- [1]=>
- string(2) "45"
-}
--- Iteration 4 --
-array(2) {
- [0]=>
- string(3) "-23"
- [1]=>
- string(2) "45"
-}
--- Iteration 5 --
-array(2) {
- [0]=>
- string(3) "10."
- [1]=>
- string(1) "5"
-}
--- Iteration 6 --
-array(2) {
- [0]=>
- string(3) "-10"
- [1]=>
- string(2) ".5"
-}
--- Iteration 7 --
-array(4) {
- [0]=>
- string(3) "105"
- [1]=>
- string(3) "000"
- [2]=>
- string(3) "000"
- [3]=>
- string(3) "000"
-}
--- Iteration 8 --
-array(3) {
- [0]=>
- string(3) "1.0"
- [1]=>
- string(3) "6E-"
- [2]=>
- string(1) "9"
-}
--- Iteration 9 --
-array(1) {
- [0]=>
- string(3) "0.5"
-}
--- Iteration 10 --
-
-Warning: str_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: str_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: str_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: str_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: str_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-array(1) {
- [0]=>
- string(0) ""
-}
--- Iteration 16 --
-array(1) {
- [0]=>
- string(0) ""
-}
--- Iteration 17 --
-array(1) {
- [0]=>
- string(1) "1"
-}
--- Iteration 18 --
-array(1) {
- [0]=>
- string(0) ""
-}
--- Iteration 19 --
-array(1) {
- [0]=>
- string(1) "1"
-}
--- Iteration 20 --
-array(1) {
- [0]=>
- string(0) ""
-}
--- Iteration 21 --
-array(1) {
- [0]=>
- string(0) ""
-}
--- Iteration 22 --
-array(1) {
- [0]=>
- string(0) ""
-}
--- Iteration 23 --
-array(2) {
- [0]=>
- string(3) "obj"
- [1]=>
- string(3) "ect"
-}
--- Iteration 24 --
-array(1) {
- [0]=>
- string(0) ""
-}
--- Iteration 25 --
-array(1) {
- [0]=>
- string(0) ""
-}
--- Iteration 26 --
-
-Warning: str_split() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing str_split() : unexpected values for 'str' ***
--- Iteration 1 --
array(1) {
[0]=>
unicode(1) "0"
--EXPECTF--
*** Testing str_split() : unexpected values for 'split_length' ***
--Iteration 1 --
-array(3) {
- [0]=>
- string(10) "variation2"
- [1]=>
- string(10) ":split_len"
- [2]=>
- string(3) "gth"
-}
---Iteration 2 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 3 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 4 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 5 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 6 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 7 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 8 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 9 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 10 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 11 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 12 --
-array(23) {
- [0]=>
- string(1) "v"
- [1]=>
- string(1) "a"
- [2]=>
- string(1) "r"
- [3]=>
- string(1) "i"
- [4]=>
- string(1) "a"
- [5]=>
- string(1) "t"
- [6]=>
- string(1) "i"
- [7]=>
- string(1) "o"
- [8]=>
- string(1) "n"
- [9]=>
- string(1) "2"
- [10]=>
- string(1) ":"
- [11]=>
- string(1) "s"
- [12]=>
- string(1) "p"
- [13]=>
- string(1) "l"
- [14]=>
- string(1) "i"
- [15]=>
- string(1) "t"
- [16]=>
- string(1) "_"
- [17]=>
- string(1) "l"
- [18]=>
- string(1) "e"
- [19]=>
- string(1) "n"
- [20]=>
- string(1) "g"
- [21]=>
- string(1) "t"
- [22]=>
- string(1) "h"
-}
---Iteration 13 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 14 --
-array(23) {
- [0]=>
- string(1) "v"
- [1]=>
- string(1) "a"
- [2]=>
- string(1) "r"
- [3]=>
- string(1) "i"
- [4]=>
- string(1) "a"
- [5]=>
- string(1) "t"
- [6]=>
- string(1) "i"
- [7]=>
- string(1) "o"
- [8]=>
- string(1) "n"
- [9]=>
- string(1) "2"
- [10]=>
- string(1) ":"
- [11]=>
- string(1) "s"
- [12]=>
- string(1) "p"
- [13]=>
- string(1) "l"
- [14]=>
- string(1) "i"
- [15]=>
- string(1) "t"
- [16]=>
- string(1) "_"
- [17]=>
- string(1) "l"
- [18]=>
- string(1) "e"
- [19]=>
- string(1) "n"
- [20]=>
- string(1) "g"
- [21]=>
- string(1) "t"
- [22]=>
- string(1) "h"
-}
---Iteration 15 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 16 --
-
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
-NULL
---Iteration 17 --
-
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
-NULL
---Iteration 18 --
-
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
-NULL
---Iteration 19 --
-
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
-NULL
---Iteration 20 --
-
-Warning: str_split() expects parameter 2 to be long, object given in %s on line %d
-NULL
---Iteration 21 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 22 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 23 --
-
-Warning: str_split() expects parameter 2 to be long, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing str_split() : unexpected values for 'split_length' ***
---Iteration 1 --
array(3) {
[0]=>
unicode(10) "variation2"
--EXPECTF--
*** Testing str_split() : unexpected values for 'split_length' ***
--Iteration 1 --
-array(3) {
- [0]=>
- string(10) "variation2"
- [1]=>
- string(10) ":split_len"
- [2]=>
- string(3) "gth"
-}
---Iteration 2 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 3 --
-array(1) {
- [0]=>
- string(23) "variation2:split_length"
-}
---Iteration 4 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 5 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 6 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 7 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 8 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 9 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 10 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 11 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 12 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 13 --
-array(23) {
- [0]=>
- string(1) "v"
- [1]=>
- string(1) "a"
- [2]=>
- string(1) "r"
- [3]=>
- string(1) "i"
- [4]=>
- string(1) "a"
- [5]=>
- string(1) "t"
- [6]=>
- string(1) "i"
- [7]=>
- string(1) "o"
- [8]=>
- string(1) "n"
- [9]=>
- string(1) "2"
- [10]=>
- string(1) ":"
- [11]=>
- string(1) "s"
- [12]=>
- string(1) "p"
- [13]=>
- string(1) "l"
- [14]=>
- string(1) "i"
- [15]=>
- string(1) "t"
- [16]=>
- string(1) "_"
- [17]=>
- string(1) "l"
- [18]=>
- string(1) "e"
- [19]=>
- string(1) "n"
- [20]=>
- string(1) "g"
- [21]=>
- string(1) "t"
- [22]=>
- string(1) "h"
-}
---Iteration 14 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 15 --
-array(23) {
- [0]=>
- string(1) "v"
- [1]=>
- string(1) "a"
- [2]=>
- string(1) "r"
- [3]=>
- string(1) "i"
- [4]=>
- string(1) "a"
- [5]=>
- string(1) "t"
- [6]=>
- string(1) "i"
- [7]=>
- string(1) "o"
- [8]=>
- string(1) "n"
- [9]=>
- string(1) "2"
- [10]=>
- string(1) ":"
- [11]=>
- string(1) "s"
- [12]=>
- string(1) "p"
- [13]=>
- string(1) "l"
- [14]=>
- string(1) "i"
- [15]=>
- string(1) "t"
- [16]=>
- string(1) "_"
- [17]=>
- string(1) "l"
- [18]=>
- string(1) "e"
- [19]=>
- string(1) "n"
- [20]=>
- string(1) "g"
- [21]=>
- string(1) "t"
- [22]=>
- string(1) "h"
-}
---Iteration 16 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 17 --
-
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
-NULL
---Iteration 18 --
-
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
-NULL
---Iteration 19 --
-
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
-NULL
---Iteration 20 --
-
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
-NULL
---Iteration 21 --
-
-Warning: str_split() expects parameter 2 to be long, object given in %s on line %d
-NULL
---Iteration 22 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 23 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 24 --
-
-Warning: str_split() expects parameter 2 to be long, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing str_split() : unexpected values for 'split_length' ***
---Iteration 1 --
array(3) {
[0]=>
unicode(10) "variation2"
}
echo "Done"
?>
---EXPECTF--
-*** Testing str_split() : single quoted strings for 'str' ***
--- Iteration 1 --
-array(1) {
- [0]=>
- string(0) ""
-}
--- Iteration 2 --
-array(1) {
- [0]=>
- string(1) " "
-}
--- Iteration 3 --
-array(1) {
- [0]=>
- string(4) "1234"
-}
--- Iteration 4 --
-array(3) {
- [0]=>
- string(5) "simpl"
- [1]=>
- string(5) "e str"
- [2]=>
- string(3) "ing"
-}
--- Iteration 5 --
-array(5) {
- [0]=>
- string(5) "It's "
- [1]=>
- string(5) "strin"
- [2]=>
- string(5) "g wit"
- [3]=>
- string(5) "h quo"
- [4]=>
- string(2) "te"
-}
--- Iteration 6 --
-array(8) {
- [0]=>
- string(5) "strin"
- [1]=>
- string(5) "g\tco"
- [2]=>
- string(5) "ntain"
- [3]=>
- string(5) "s\rwh"
- [4]=>
- string(5) "ite s"
- [5]=>
- string(5) "pace\"
- [6]=>
- string(5) "nchar"
- [7]=>
- string(1) "s"
-}
--- Iteration 7 --
-array(6) {
- [0]=>
- string(5) "conta"
- [1]=>
- string(5) "ining"
- [2]=>
- string(5) " @ # "
- [3]=>
- string(5) "$ % ^"
- [4]=>
- string(5) " & ch"
- [5]=>
- string(3) "ars"
-}
--- Iteration 8 --
-array(4) {
- [0]=>
- string(5) "with "
- [1]=>
- string(5) "1234 "
- [2]=>
- string(5) "numbe"
- [3]=>
- string(2) "rs"
-}
--- Iteration 9 --
-array(7) {
- [0]=>
- string(5) "with "
- [1]=>
- string(5) "\0 an"
- [2]=>
- string(5) "d ".c"
- [3]=>
- string(5) "hr(0)"
- [4]=>
- string(5) "."nul"
- [5]=>
- string(5) "l cha"
- [6]=>
- string(2) "rs"
-}
--- Iteration 10 --
-array(7) {
- [0]=>
- string(5) "with "
- [1]=>
- string(5) " mu"
- [2]=>
- string(5) "ltipl"
- [3]=>
- string(5) "e "
- [4]=>
- string(5) " spac"
- [5]=>
- string(5) "e cha"
- [6]=>
- string(1) "r"
-}
--- Iteration 11 --
-array(8) {
- [0]=>
- string(5) "Testi"
- [1]=>
- string(5) "ng in"
- [2]=>
- string(5) "valid"
- [3]=>
- string(5) " \k a"
- [4]=>
- string(5) "nd \m"
- [5]=>
- string(5) " esca"
- [6]=>
- string(5) "pe ch"
- [7]=>
- string(2) "ar"
-}
--- Iteration 12 --
-array(5) {
- [0]=>
- string(5) "to ch"
- [1]=>
- string(5) "eck w"
- [2]=>
- string(5) "ith \"
- [3]=>
- string(5) "n and"
- [4]=>
- string(3) " \t"
-}
-Done
---UEXPECTF--
+--EXPECT--
*** Testing str_split() : single quoted strings for 'str' ***
-- Iteration 1 --
array(1) {
echo "Done"
?>
---EXPECTF--
-*** Testing str_split() : heredoc strings as 'str' argument ***
--- Iteration 1 --
-array(1) {
- [0]=>
- string(0) ""
-}
--- Iteration 2 --
-array(1) {
- [0]=>
- string(0) ""
-}
--- Iteration 3 --
-array(1) {
- [0]=>
- string(1) "a"
-}
--- Iteration 4 --
-array(3) {
- [0]=>
- string(10) "This is si"
- [1]=>
- string(10) "mple hered"
- [2]=>
- string(9) "oc string"
-}
--- Iteration 5 --
-array(6) {
- [0]=>
- string(10) "This is to"
- [1]=>
- string(10) " check str"
- [2]=>
- string(10) "_split
-fun"
- [3]=>
- string(10) "ction with"
- [4]=>
- string(10) " multiline"
- [5]=>
- string(8) "
-heredoc"
-}
--- Iteration 6 --
-array(4) {
- [0]=>
- string(10) "This check"
- [1]=>
- string(10) "s heredoc "
- [2]=>
- string(10) "with $, %,"
- [3]=>
- string(9) " &, chars"
-}
--- Iteration 7 --
-array(4) {
- [0]=>
- string(10) "This check"
- [1]=>
- string(10) "s str_spl"
- [2]=>
- string(10) "it()
-Escap"
- [3]=>
- string(7) "e
-chars"
-}
--- Iteration 8 --
-array(8) {
- [0]=>
- string(10) ""To check "
- [1]=>
- string(10) "" in hered"
- [2]=>
- string(10) "oc"
-I'm su"
- [3]=>
- string(10) "re it'll w"
- [4]=>
- string(10) "ork also w"
- [5]=>
- string(10) "ith \
-whic"
- [6]=>
- string(10) "h is singl"
- [7]=>
- string(7) "e slash"
-}
-Done
---UEXPECTF--
+--EXPECT--
*** Testing str_split() : heredoc strings as 'str' argument ***
-- Iteration 1 --
array(1) {
*** Testing str_split() : different intger values for 'split_length' ***
-- Iteration 1 --
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 2 --
-array(42) {
- [0]=>
- string(1) "T"
- [1]=>
- string(1) "h"
- [2]=>
- string(1) "i"
- [3]=>
- string(1) "s"
- [4]=>
- string(1) " "
- [5]=>
- string(1) "i"
- [6]=>
- string(1) "s"
- [7]=>
- string(1) " "
- [8]=>
- string(1) "a"
- [9]=>
- string(1) " "
- [10]=>
- string(1) "s"
- [11]=>
- string(1) "t"
- [12]=>
- string(1) "r"
- [13]=>
- string(1) "i"
- [14]=>
- string(1) "n"
- [15]=>
- string(1) "g"
- [16]=>
- string(1) " "
- [17]=>
- string(1) "w"
- [18]=>
- string(1) "i"
- [19]=>
- string(1) "t"
- [20]=>
- string(1) "h"
- [21]=>
- string(1) " "
- [22]=>
- string(1) "1"
- [23]=>
- string(1) "2"
- [24]=>
- string(1) "3"
- [25]=>
- string(1) " "
- [26]=>
- string(1) "&"
- [27]=>
- string(1) " "
- [28]=>
- string(1) "e"
- [29]=>
- string(1) "s"
- [30]=>
- string(1) "c"
- [31]=>
- string(1) "a"
- [32]=>
- string(1) "p"
- [33]=>
- string(1) "e"
- [34]=>
- string(1) " "
- [35]=>
- string(1) "c"
- [36]=>
- string(1) "h"
- [37]=>
- string(1) "a"
- [38]=>
- string(1) "r"
- [39]=>
- string(1) " "
- [40]=>
- string(1) "\"
- [41]=>
- string(1) "t"
-}
--- Iteration 3 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 4 --
-array(1) {
- [0]=>
- string(42) "This is a string with 123 & escape char \t"
-}
--- Iteration 5 --
-array(2) {
- [0]=>
- string(26) "This is a string with 123 "
- [1]=>
- string(16) "& escape char \t"
-}
--- Iteration 6 --
-array(1) {
- [0]=>
- string(42) "This is a string with 123 & escape char \t"
-}
--- Iteration 7 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 8 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing str_split() : different intger values for 'split_length' ***
--- Iteration 1 --
-
Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
bool(false)
-- Iteration 2 --
*** Testing str_split() : different intger values for 'split_length' ***
-- Iteration 1 --
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 2 --
-array(42) {
- [0]=>
- string(1) "T"
- [1]=>
- string(1) "h"
- [2]=>
- string(1) "i"
- [3]=>
- string(1) "s"
- [4]=>
- string(1) " "
- [5]=>
- string(1) "i"
- [6]=>
- string(1) "s"
- [7]=>
- string(1) " "
- [8]=>
- string(1) "a"
- [9]=>
- string(1) " "
- [10]=>
- string(1) "s"
- [11]=>
- string(1) "t"
- [12]=>
- string(1) "r"
- [13]=>
- string(1) "i"
- [14]=>
- string(1) "n"
- [15]=>
- string(1) "g"
- [16]=>
- string(1) " "
- [17]=>
- string(1) "w"
- [18]=>
- string(1) "i"
- [19]=>
- string(1) "t"
- [20]=>
- string(1) "h"
- [21]=>
- string(1) " "
- [22]=>
- string(1) "1"
- [23]=>
- string(1) "2"
- [24]=>
- string(1) "3"
- [25]=>
- string(1) " "
- [26]=>
- string(1) "&"
- [27]=>
- string(1) " "
- [28]=>
- string(1) "e"
- [29]=>
- string(1) "s"
- [30]=>
- string(1) "c"
- [31]=>
- string(1) "a"
- [32]=>
- string(1) "p"
- [33]=>
- string(1) "e"
- [34]=>
- string(1) " "
- [35]=>
- string(1) "c"
- [36]=>
- string(1) "h"
- [37]=>
- string(1) "a"
- [38]=>
- string(1) "r"
- [39]=>
- string(1) " "
- [40]=>
- string(1) "\"
- [41]=>
- string(1) "t"
-}
--- Iteration 3 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 4 --
-array(1) {
- [0]=>
- string(42) "This is a string with 123 & escape char \t"
-}
--- Iteration 5 --
-array(2) {
- [0]=>
- string(26) "This is a string with 123 "
- [1]=>
- string(16) "& escape char \t"
-}
--- Iteration 6 --
-array(1) {
- [0]=>
- string(42) "This is a string with 123 & escape char \t"
-}
--- Iteration 7 --
-array(1) {
- [0]=>
- string(42) "This is a string with 123 & escape char \t"
-}
--- Iteration 8 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing str_split() : different intger values for 'split_length' ***
--- Iteration 1 --
-
Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
bool(false)
-- Iteration 2 --
*** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***
-- Iteration 1 --
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 2 --
-array(30) {
- [0]=>
- string(1) "s"
- [1]=>
- string(1) "t"
- [2]=>
- string(1) "r"
- [3]=>
- string(1) "i"
- [4]=>
- string(1) "n"
- [5]=>
- string(1) "g"
- [6]=>
- string(1) " "
- [7]=>
- string(1) "w"
- [8]=>
- string(1) "i"
- [9]=>
- string(1) "t"
- [10]=>
- string(1) "h"
- [11]=>
- string(1) " "
- [12]=>
- string(1) "1"
- [13]=>
- string(1) "2"
- [14]=>
- string(1) "3"
- [15]=>
- string(1) ","
- [16]=>
- string(1) "e"
- [17]=>
- string(1) "s"
- [18]=>
- string(1) "c"
- [19]=>
- string(1) "a"
- [20]=>
- string(1) "p"
- [21]=>
- string(1) "e"
- [22]=>
- string(1) " "
- [23]=>
- string(1) "c"
- [24]=>
- string(1) "h"
- [25]=>
- string(1) "a"
- [26]=>
- string(1) "r"
- [27]=>
- string(1) " "
- [28]=>
- string(1) " "
- [29]=>
- string(1) "."
-}
--- Iteration 3 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 4 --
-array(1) {
- [0]=>
- string(30) "string with 123,escape char ."
-}
--- Iteration 5 --
-array(2) {
- [0]=>
- string(26) "string with 123,escape cha"
- [1]=>
- string(4) "r ."
-}
--- Iteration 6 --
-array(1) {
- [0]=>
- string(30) "string with 123,escape char ."
-}
--- Iteration 7 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 8 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***
--- Iteration 1 --
-
Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
bool(false)
-- Iteration 2 --
*** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***
-- Iteration 1 --
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 2 --
-array(30) {
- [0]=>
- string(1) "s"
- [1]=>
- string(1) "t"
- [2]=>
- string(1) "r"
- [3]=>
- string(1) "i"
- [4]=>
- string(1) "n"
- [5]=>
- string(1) "g"
- [6]=>
- string(1) " "
- [7]=>
- string(1) "w"
- [8]=>
- string(1) "i"
- [9]=>
- string(1) "t"
- [10]=>
- string(1) "h"
- [11]=>
- string(1) " "
- [12]=>
- string(1) "1"
- [13]=>
- string(1) "2"
- [14]=>
- string(1) "3"
- [15]=>
- string(1) ","
- [16]=>
- string(1) "e"
- [17]=>
- string(1) "s"
- [18]=>
- string(1) "c"
- [19]=>
- string(1) "a"
- [20]=>
- string(1) "p"
- [21]=>
- string(1) "e"
- [22]=>
- string(1) " "
- [23]=>
- string(1) "c"
- [24]=>
- string(1) "h"
- [25]=>
- string(1) "a"
- [26]=>
- string(1) "r"
- [27]=>
- string(1) " "
- [28]=>
- string(1) " "
- [29]=>
- string(1) "."
-}
--- Iteration 3 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 4 --
-array(1) {
- [0]=>
- string(30) "string with 123,escape char ."
-}
--- Iteration 5 --
-array(2) {
- [0]=>
- string(26) "string with 123,escape cha"
- [1]=>
- string(4) "r ."
-}
--- Iteration 6 --
-array(1) {
- [0]=>
- string(30) "string with 123,escape char ."
-}
--- Iteration 7 --
-array(1) {
- [0]=>
- string(30) "string with 123,escape char ."
-}
--- Iteration 8 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***
--- Iteration 1 --
-
Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
bool(false)
-- Iteration 2 --
echo "Done\n";
?>
--EXPECTF--
-array(6) {
- [0]=>
- string(5) "Hello"
- [1]=>
- string(6) "friend"
- [2]=>
- string(6) "you're"
- [3]=>
- string(7) "looking"
- [4]=>
- string(4) "good"
- [5]=>
- string(5) "today"
-}
-array(6) {
- [0]=>
- string(5) "Hello"
- [6]=>
- string(6) "friend"
- [14]=>
- string(6) "you're"
- [27]=>
- string(7) "looking"
- [44]=>
- string(4) "good"
- [49]=>
- string(5) "today"
-}
-int(6)
-
-Warning: str_word_count(): Invalid format value 3 in %s on line %d
-bool(false)
-
-Warning: str_word_count(): Invalid format value 123 in %s on line %d
-bool(false)
-
-Warning: str_word_count(): Invalid format value -1 in %s on line %d
-bool(false)
-
-Warning: str_word_count(): Invalid format value 99999999 in %s on line %d
-bool(false)
-
-Warning: str_word_count() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: str_word_count() expects parameter 2 to be long, string given in %s on line %d
-NULL
-string(55) "Hello friend, you're
- looking good today!"
-int(5)
-int(6)
-int(5)
-
-Warning: str_word_count() expects parameter 3 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: str_word_count() expects parameter 3 to be string (Unicode or binary), object given in %s on line %d
-NULL
-int(7)
-array(5) {
- [0]=>
- string(3) "F0o"
- [1]=>
- string(3) "B4r"
- [2]=>
- string(1) "s"
- [3]=>
- string(3) "bar"
- [4]=>
- string(3) "foo"
-}
-array(6) {
- [0]=>
- string(3) "F0o"
- [1]=>
- string(1) "B"
- [2]=>
- string(1) "r"
- [3]=>
- string(2) "1s"
- [4]=>
- string(3) "bar"
- [5]=>
- string(3) "foo"
-}
-array(5) {
- [0]=>
- string(3) "F0o"
- [1]=>
- string(3) "B4r"
- [2]=>
- string(2) "1s"
- [3]=>
- string(3) "bar"
- [4]=>
- string(3) "foo"
-}
-
-Warning: str_word_count() expects parameter 3 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: str_word_count() expects parameter 3 to be string (Unicode or binary), object given in %s on line %d
-NULL
-array(7) {
- [0]=>
- string(1) "F"
- [1]=>
- string(1) "o"
- [2]=>
- string(1) "B"
- [3]=>
- string(1) "r"
- [4]=>
- string(1) "s"
- [5]=>
- string(3) "bar"
- [6]=>
- string(3) "foo"
-}
-array(5) {
- [0]=>
- string(3) "F0o"
- [4]=>
- string(3) "B4r"
- [9]=>
- string(1) "s"
- [11]=>
- string(3) "bar"
- [15]=>
- string(3) "foo"
-}
-array(6) {
- [0]=>
- string(3) "F0o"
- [4]=>
- string(1) "B"
- [6]=>
- string(1) "r"
- [8]=>
- string(2) "1s"
- [11]=>
- string(3) "bar"
- [15]=>
- string(3) "foo"
-}
-array(5) {
- [0]=>
- string(3) "F0o"
- [4]=>
- string(3) "B4r"
- [8]=>
- string(2) "1s"
- [11]=>
- string(3) "bar"
- [15]=>
- string(3) "foo"
-}
-
-Warning: str_word_count() expects parameter 3 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: str_word_count() expects parameter 3 to be string (Unicode or binary), object given in %s on line %d
-NULL
-array(7) {
- [0]=>
- string(1) "F"
- [2]=>
- string(1) "o"
- [4]=>
- string(1) "B"
- [6]=>
- string(1) "r"
- [9]=>
- string(1) "s"
- [11]=>
- string(3) "bar"
- [15]=>
- string(3) "foo"
-}
-array(2) {
- [0]=>
- string(5) "foo'0"
- [6]=>
- string(8) "bar-0var"
-}
-array(1) {
- [1]=>
- string(4) "foo'"
-}
-array(1) {
- [0]=>
- string(5) "'foo'"
-}
-array(1) {
- [1]=>
- string(3) "foo"
-}
-array(1) {
- [0]=>
- string(5) "-foo-"
-}
-Done
---UEXPECTF--
array(6) {
[0]=>
unicode(5) "Hello"
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
int(0)
Warning: str_word_count(): Invalid format value -1 in %s on line %d
var_dump(strcspn('a', 'B', 1, 2147483647));
?>
--EXPECT--
-string(25) "22222222aaaa bbb1111 cccc"
-string(4) "1234"
-int(0)
-int(7)
-int(6)
-int(0)
---UEXPECT--
unicode(25) "22222222aaaa bbb1111 cccc"
unicode(4) "1234"
int(0)
echo "Done"
?>
---EXPECTF--
-*** Testing strcspn() : basic functionality ***
-int(2)
-int(2)
-int(3)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strcspn() : basic functionality ***
int(2)
int(2)
Warning: strcspn() expects at least 2 parameters, 1 given in %s on line %d
NULL
Done
-
---UEXPECTF--
-*** Testing strcspn() : error conditions ***
-
--- Testing strcspn() function with Zero arguments --
-
-Warning: strcspn() expects at least 2 parameters, 0 given in %s on line %d
-NULL
-
--- Testing strcspn() function with more than expected no. of arguments --
-
-Warning: strcspn() expects at most 4 parameters, 5 given in %s on line %d
-NULL
-
--- Testing strcspn() function with less than expected no. of arguments --
-
-Warning: strcspn() expects at least 2 parameters, 1 given in %s on line %d
-NULL
-Done
Warning: strcspn() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
NULL
Done
---UEXPECTF--
-*** Testing strcspn() : with unexpected values for str argument ***
-
--- Iteration with str value as "0"
-int(0)
-int(0)
-int(0)
-
--- Iteration with str value as "1"
-int(0)
-int(0)
-int(0)
-
--- Iteration with str value as "12345"
-int(0)
-int(0)
-int(0)
-
--- Iteration with str value as "-2345"
-int(1)
-int(0)
-int(0)
-
--- Iteration with str value as "10.5"
-int(0)
-int(0)
-int(0)
-
--- Iteration with str value as "-10.5"
-int(1)
-int(0)
-int(0)
-
--- Iteration with str value as "101234567000"
-int(0)
-int(0)
-int(0)
-
--- Iteration with str value as "1.07654321E-9"
-int(0)
-int(1)
-int(1)
-
--- Iteration with str value as "0.5"
-int(0)
-int(1)
-int(1)
-
--- Iteration with str value as "Array"
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as "Array"
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as "Array"
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as "Array"
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as "Array"
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as "1"
-int(0)
-int(0)
-int(0)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as "1"
-int(0)
-int(0)
-int(0)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as "object"
-int(0)
-int(0)
-int(0)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as "Resource id #5"
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
echo "Done"
?>
---EXPECTF--
+--EXPECT--
*** Testing strcspn() : with different mask strings and default start and len arguments ***
-- Iteration 1 --
echo "Done"
?>
---EXPECTF--
-*** Testing strcspn() : with different start and default len values ***
-
--- Iteration 1 --
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 2 --
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 3 --
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 4 --
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(0)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(0)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(0)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 5 --
-int(24)
-int(23)
-int(22)
-int(1)
-int(2)
-bool(false)
-int(24)
-int(24)
-int(23)
-int(22)
-int(1)
-int(2)
-bool(false)
-int(24)
-int(2)
-int(1)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(24)
-int(23)
-int(22)
-int(1)
-int(2)
-bool(false)
-int(24)
-int(24)
-int(23)
-int(22)
-int(1)
-int(2)
-bool(false)
-int(24)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(0)
-int(1)
-bool(false)
-int(5)
-
--- Iteration 6 --
-int(28)
-int(27)
-int(26)
-int(1)
-int(2)
-bool(false)
-int(28)
-int(28)
-int(27)
-int(26)
-int(1)
-int(2)
-bool(false)
-int(28)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-int(28)
-int(27)
-int(26)
-int(1)
-int(2)
-bool(false)
-int(28)
-int(5)
-int(4)
-int(3)
-int(1)
-int(0)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(0)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(0)
-bool(false)
-int(5)
-int(28)
-int(27)
-int(26)
-int(1)
-int(2)
-bool(false)
-int(28)
-int(5)
-int(4)
-int(3)
-int(1)
-int(0)
-bool(false)
-int(5)
-
--- Iteration 7 --
-int(20)
-int(19)
-int(18)
-int(1)
-int(2)
-bool(false)
-int(20)
-int(20)
-int(19)
-int(18)
-int(1)
-int(2)
-bool(false)
-int(20)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(20)
-int(19)
-int(18)
-int(1)
-int(2)
-bool(false)
-int(20)
-int(20)
-int(19)
-int(18)
-int(1)
-int(2)
-bool(false)
-int(20)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-
--- Iteration 8 --
-int(21)
-int(20)
-int(19)
-int(1)
-int(2)
-bool(false)
-int(21)
-int(21)
-int(20)
-int(19)
-int(1)
-int(2)
-bool(false)
-int(21)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-int(21)
-int(20)
-int(19)
-int(1)
-int(2)
-bool(false)
-int(21)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(21)
-int(20)
-int(19)
-int(1)
-int(2)
-bool(false)
-int(21)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-
--- Iteration 9 --
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(2)
-int(1)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(12)
-int(11)
-int(10)
-int(1)
-int(2)
-bool(false)
-int(12)
-int(12)
-int(11)
-int(10)
-int(1)
-int(2)
-bool(false)
-int(12)
-int(12)
-int(11)
-int(10)
-int(1)
-int(2)
-bool(false)
-int(12)
-int(12)
-int(11)
-int(10)
-int(1)
-int(2)
-bool(false)
-int(12)
-int(12)
-int(11)
-int(10)
-int(1)
-int(2)
-bool(false)
-int(12)
-int(11)
-int(10)
-int(9)
-int(0)
-int(1)
-bool(false)
-int(11)
-
--- Iteration 10 --
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-
--- Iteration 11 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-
--- Iteration 12 --
-int(0)
-int(5)
-int(4)
-int(0)
-int(1)
-bool(false)
-int(0)
-int(0)
-int(5)
-int(4)
-int(0)
-int(1)
-bool(false)
-int(0)
-int(3)
-int(2)
-int(1)
-int(1)
-int(2)
-bool(false)
-int(3)
-int(3)
-int(2)
-int(1)
-int(1)
-int(2)
-bool(false)
-int(3)
-int(13)
-int(12)
-int(11)
-int(1)
-int(2)
-bool(false)
-int(13)
-int(13)
-int(12)
-int(11)
-int(1)
-int(2)
-bool(false)
-int(13)
-int(13)
-int(12)
-int(11)
-int(1)
-int(2)
-bool(false)
-int(13)
-int(13)
-int(12)
-int(11)
-int(1)
-int(2)
-bool(false)
-int(13)
-int(13)
-int(12)
-int(11)
-int(1)
-int(2)
-bool(false)
-int(13)
-int(13)
-int(12)
-int(11)
-int(1)
-int(2)
-bool(false)
-int(13)
-
--- Iteration 13 --
-int(0)
-int(12)
-int(11)
-int(0)
-int(1)
-bool(false)
-int(0)
-int(0)
-int(12)
-int(11)
-int(0)
-int(1)
-bool(false)
-int(0)
-int(3)
-int(2)
-int(1)
-int(1)
-int(2)
-bool(false)
-int(3)
-int(3)
-int(2)
-int(1)
-int(1)
-int(2)
-bool(false)
-int(3)
-int(14)
-int(13)
-int(12)
-int(1)
-int(2)
-bool(false)
-int(14)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-int(14)
-int(13)
-int(12)
-int(1)
-int(2)
-bool(false)
-int(14)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-
--- Iteration 14 --
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-
--- Iteration 15 --
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-
--- Iteration 16 --
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(14)
-int(13)
-int(12)
-int(1)
-int(2)
-bool(false)
-int(14)
-int(14)
-int(13)
-int(12)
-int(1)
-int(2)
-bool(false)
-int(14)
-int(14)
-int(13)
-int(12)
-int(1)
-int(2)
-bool(false)
-int(14)
-int(14)
-int(13)
-int(12)
-int(1)
-int(2)
-bool(false)
-int(14)
-int(14)
-int(13)
-int(12)
-int(1)
-int(2)
-bool(false)
-int(14)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-
--- Iteration 17 --
-int(21)
-int(20)
-int(19)
-int(1)
-int(2)
-bool(false)
-int(21)
-int(21)
-int(20)
-int(19)
-int(1)
-int(2)
-bool(false)
-int(21)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(21)
-int(20)
-int(19)
-int(1)
-int(2)
-bool(false)
-int(21)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(21)
-int(20)
-int(19)
-int(1)
-int(2)
-bool(false)
-int(21)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strcspn() : with different start and default len values ***
-- Iteration 1 --
echo "Done"
?>
---EXPECTF--
-*** Testing strcspn() : with different start and len values ***
-
--- Iteration 1 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 2 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 3 --
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 4 --
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 5 --
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(2)
-int(21)
-int(22)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(2)
-int(21)
-int(22)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(2)
-int(21)
-int(22)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-
--- Iteration 6 --
-int(0)
-int(1)
-int(2)
-int(19)
-int(20)
-int(0)
-int(0)
-int(1)
-int(2)
-int(18)
-int(19)
-int(0)
-int(0)
-int(1)
-int(2)
-int(17)
-int(18)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(19)
-int(20)
-int(0)
-int(0)
-int(1)
-int(2)
-int(19)
-int(20)
-int(0)
-int(0)
-int(1)
-int(2)
-int(18)
-int(19)
-int(0)
-int(0)
-int(1)
-int(2)
-int(17)
-int(18)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(19)
-int(20)
-int(0)
-int(0)
-int(1)
-int(2)
-int(6)
-int(6)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(6)
-int(6)
-int(0)
-int(0)
-int(1)
-int(2)
-int(16)
-int(16)
-int(0)
-int(0)
-int(1)
-int(2)
-int(15)
-int(15)
-int(0)
-int(0)
-int(1)
-int(2)
-int(14)
-int(14)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(16)
-int(16)
-int(0)
-int(0)
-int(1)
-int(2)
-int(19)
-int(20)
-int(0)
-int(0)
-int(1)
-int(2)
-int(18)
-int(19)
-int(0)
-int(0)
-int(1)
-int(2)
-int(17)
-int(18)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(19)
-int(20)
-int(0)
-int(0)
-int(1)
-int(2)
-int(16)
-int(16)
-int(0)
-int(0)
-int(1)
-int(2)
-int(15)
-int(15)
-int(0)
-int(0)
-int(1)
-int(2)
-int(14)
-int(14)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(16)
-int(16)
-int(0)
-
--- Iteration 7 --
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(2)
-int(9)
-int(10)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(2)
-int(9)
-int(10)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(11)
-int(11)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(10)
-int(0)
-int(0)
-int(1)
-int(2)
-int(9)
-int(9)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(11)
-int(11)
-int(0)
-
--- Iteration 8 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-
--- Iteration 9 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-
--- Iteration 10 --
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(2)
-int(9)
-int(10)
-int(0)
-int(0)
-int(1)
-int(2)
-int(8)
-int(9)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(2)
-int(9)
-int(10)
-int(0)
-int(0)
-int(1)
-int(2)
-int(8)
-int(9)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(2)
-int(9)
-int(10)
-int(0)
-int(0)
-int(1)
-int(2)
-int(8)
-int(9)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-
--- Iteration 11 --
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(6)
-int(6)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(6)
-int(6)
-int(0)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strcspn() : with different start and len values ***
-- Iteration 1 --
Warning: strcspn() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
NULL
Done
---UEXPECTF--
-*** Testing strcspn() : with diferent unexpected values of mask argument ***
-
--- Iteration with mask value as "0" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "1" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "12345" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "-2345" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "10.5" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "-10.5" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "101234567000" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "1.07654321E-9" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "0.5" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "Array" --
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "Array" --
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "Array" --
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "Array" --
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "Array" --
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "1" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "1" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "object" --
-int(1)
-int(0)
-int(0)
-
--- Iteration with mask value as "" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "Resource id #5" --
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
-- Iteration with start value as "Array" --
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line 89
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "Array" --
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "Array" --
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "Array" --
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "Array" --
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "" --
-int(0)
-int(0)
-
--- Iteration with start value as "" --
-int(0)
-int(0)
-
--- Iteration with start value as "1" --
-int(0)
-int(0)
-
--- Iteration with start value as "" --
-int(0)
-int(0)
-
--- Iteration with start value as "1" --
-int(0)
-int(0)
-
--- Iteration with start value as "" --
-int(0)
-int(0)
-
--- Iteration with start value as "" --
-
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
--- Iteration with start value as "" --
-
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
--- Iteration with start value as "string" --
-
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
--- Iteration with start value as "string" --
-
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
--- Iteration with start value as "object" --
-
-Warning: strcspn() expects parameter 3 to be long, object given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, object given in %s on line %d
-NULL
-
--- Iteration with start value as "" --
-int(0)
-int(0)
-
--- Iteration with start value as "" --
-int(0)
-int(0)
-
--- Iteration with start value as "Resource id #%d" --
-
-Warning: strcspn() expects parameter 3 to be long, resource given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing strcspn() : with unexpected values of start argument ***
-
--- Iteration with start value as "10.5" --
-int(0)
-int(0)
-
--- Iteration with start value as "-10.5" --
-int(0)
-int(0)
-
--- Iteration with start value as "1012345670" --
-bool(false)
-bool(false)
-
--- Iteration with start value as "1.07654321E-7" --
-int(0)
-int(0)
-
--- Iteration with start value as "0.5" --
-int(0)
-int(0)
-
--- Iteration with start value as "Array" --
-
Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
NULL
-- Iteration with len value as "" --
-Warning: strcspn() expects parameter 4 to be long, string given in %s on line %d
-NULL
-
--- Iteration with len value as "" --
-
-Warning: strcspn() expects parameter 4 to be long, string given in %s on line %d
-NULL
-
--- Iteration with len value as "string" --
-
-Warning: strcspn() expects parameter 4 to be long, string given in %s on line %d
-NULL
-
--- Iteration with len value as "string" --
-
-Warning: strcspn() expects parameter 4 to be long, string given in %s on line %d
-NULL
-
--- Iteration with len value as "object" --
-
-Warning: strcspn() expects parameter 4 to be long, object given in %s on line %d
-NULL
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "Resource id #%d" --
-
-Warning: strcspn() expects parameter 4 to be long, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing strcspn() : with unexpected values of len argument ***
-
--- Iteration with len value as "10.5" --
-int(0)
-
--- Iteration with len value as "-10.5" --
-int(0)
-
--- Iteration with len value as "101234567000" --
-int(0)
-
--- Iteration with len value as "1.07654321E-9" --
-int(0)
-
--- Iteration with len value as "0.5" --
-int(0)
-
--- Iteration with len value as "Array" --
-
-Warning: strcspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "Array" --
-
-Warning: strcspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "Array" --
-
-Warning: strcspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "Array" --
-
-Warning: strcspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "Array" --
-
-Warning: strcspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "1" --
-int(0)
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "1" --
-int(0)
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "" --
-
Warning: strcspn() expects parameter 4 to be long, Unicode string given in %s on line %d
NULL
echo "Done"
?>
---EXPECTF--
-*** Testing strcspn() : with different mask strings ***
-
--- Iteration 1 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 2 --
-int(2)
-int(2)
-int(0)
-int(2)
-int(2)
-int(2)
-int(2)
-int(2)
-int(2)
-int(2)
-
--- Iteration 3 --
-int(86)
-int(86)
-int(1)
-int(1)
-int(86)
-int(4)
-int(4)
-int(5)
-int(5)
-int(1)
-
--- Iteration 4 --
-int(24)
-int(24)
-int(2)
-int(2)
-int(5)
-int(24)
-int(24)
-int(5)
-int(5)
-int(5)
-
--- Iteration 5 --
-int(31)
-int(31)
-int(2)
-int(2)
-int(26)
-int(31)
-int(31)
-int(26)
-int(26)
-int(26)
-
--- Iteration 6 --
-int(5)
-int(5)
-int(2)
-int(2)
-int(25)
-int(25)
-int(25)
-int(25)
-int(25)
-int(25)
-
--- Iteration 7 --
-int(5)
-int(5)
-int(2)
-int(2)
-int(27)
-int(27)
-int(27)
-int(27)
-int(27)
-int(6)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strcspn() : with different mask strings ***
-- Iteration 1 --
echo "Done"
?>
---EXPECTF--
-*** Testing strcspn() : with different start values ***
-
--- Iteration 1 --
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 2 --
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-
--- Iteration 3 --
-int(86)
-int(85)
-int(84)
-int(1)
-int(2)
-bool(false)
-int(86)
-int(86)
-int(85)
-int(84)
-int(1)
-int(2)
-bool(false)
-int(86)
-int(1)
-int(0)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(1)
-int(1)
-int(0)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(86)
-int(85)
-int(84)
-int(1)
-int(2)
-bool(false)
-int(86)
-int(4)
-int(3)
-int(2)
-int(1)
-int(2)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(1)
-int(2)
-bool(false)
-int(4)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(1)
-int(0)
-int(5)
-int(1)
-int(2)
-bool(false)
-int(1)
-
--- Iteration 4 --
-int(24)
-int(23)
-int(22)
-int(1)
-int(2)
-bool(false)
-int(24)
-int(24)
-int(23)
-int(22)
-int(1)
-int(2)
-bool(false)
-int(24)
-int(2)
-int(1)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(24)
-int(23)
-int(22)
-int(1)
-int(2)
-bool(false)
-int(24)
-int(24)
-int(23)
-int(22)
-int(1)
-int(2)
-bool(false)
-int(24)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-
--- Iteration 5 --
-int(31)
-int(30)
-int(29)
-int(1)
-int(2)
-bool(false)
-int(31)
-int(31)
-int(30)
-int(29)
-int(1)
-int(2)
-bool(false)
-int(31)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(26)
-int(25)
-int(24)
-int(1)
-int(2)
-bool(false)
-int(26)
-int(31)
-int(30)
-int(29)
-int(1)
-int(2)
-bool(false)
-int(31)
-int(31)
-int(30)
-int(29)
-int(1)
-int(2)
-bool(false)
-int(31)
-int(26)
-int(25)
-int(24)
-int(1)
-int(2)
-bool(false)
-int(26)
-int(26)
-int(25)
-int(24)
-int(1)
-int(2)
-bool(false)
-int(26)
-int(26)
-int(25)
-int(24)
-int(1)
-int(2)
-bool(false)
-int(26)
-
--- Iteration 6 --
-int(5)
-int(4)
-int(3)
-int(0)
-int(1)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(0)
-int(1)
-bool(false)
-int(5)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(25)
-int(24)
-int(23)
-int(1)
-int(2)
-bool(false)
-int(25)
-int(25)
-int(24)
-int(23)
-int(1)
-int(2)
-bool(false)
-int(25)
-int(25)
-int(24)
-int(23)
-int(1)
-int(2)
-bool(false)
-int(25)
-int(25)
-int(24)
-int(23)
-int(1)
-int(2)
-bool(false)
-int(25)
-int(25)
-int(24)
-int(23)
-int(1)
-int(2)
-bool(false)
-int(25)
-int(25)
-int(24)
-int(23)
-int(1)
-int(2)
-bool(false)
-int(25)
-
--- Iteration 7 --
-int(5)
-int(4)
-int(3)
-int(0)
-int(1)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(0)
-int(1)
-bool(false)
-int(5)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(27)
-int(26)
-int(25)
-int(1)
-int(2)
-bool(false)
-int(27)
-int(27)
-int(26)
-int(25)
-int(1)
-int(2)
-bool(false)
-int(27)
-int(27)
-int(26)
-int(25)
-int(1)
-int(2)
-bool(false)
-int(27)
-int(27)
-int(26)
-int(25)
-int(1)
-int(2)
-bool(false)
-int(27)
-int(27)
-int(26)
-int(25)
-int(1)
-int(2)
-bool(false)
-int(27)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strcspn() : with different start values ***
-- Iteration 1 --
echo "Done"
?>
---EXPECTF--
-*** Testing strcspn() : with different start and len values ***
-
--- Iteration 1 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 2 --
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-
--- Iteration 3 --
-int(0)
-int(1)
-int(2)
-int(85)
-int(86)
-int(0)
-int(0)
-int(1)
-int(2)
-int(84)
-int(85)
-int(0)
-int(0)
-int(1)
-int(2)
-int(83)
-int(84)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(85)
-int(86)
-int(0)
-int(0)
-int(1)
-int(2)
-int(85)
-int(86)
-int(0)
-int(0)
-int(1)
-int(2)
-int(84)
-int(85)
-int(0)
-int(0)
-int(1)
-int(2)
-int(83)
-int(84)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(85)
-int(86)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(1)
-int(2)
-int(85)
-int(86)
-int(0)
-int(0)
-int(1)
-int(2)
-int(84)
-int(85)
-int(0)
-int(0)
-int(1)
-int(2)
-int(83)
-int(84)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(85)
-int(86)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-
--- Iteration 4 --
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(2)
-int(21)
-int(22)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(2)
-int(21)
-int(22)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(2)
-int(21)
-int(22)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-
--- Iteration 5 --
-int(0)
-int(1)
-int(2)
-int(30)
-int(31)
-int(0)
-int(0)
-int(1)
-int(2)
-int(29)
-int(30)
-int(0)
-int(0)
-int(1)
-int(2)
-int(28)
-int(29)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(30)
-int(31)
-int(0)
-int(0)
-int(1)
-int(2)
-int(30)
-int(31)
-int(0)
-int(0)
-int(1)
-int(2)
-int(29)
-int(30)
-int(0)
-int(0)
-int(1)
-int(2)
-int(28)
-int(29)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(30)
-int(31)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(26)
-int(26)
-int(0)
-int(0)
-int(1)
-int(2)
-int(25)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(24)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(26)
-int(26)
-int(0)
-int(0)
-int(1)
-int(2)
-int(30)
-int(31)
-int(0)
-int(0)
-int(1)
-int(2)
-int(29)
-int(30)
-int(0)
-int(0)
-int(1)
-int(2)
-int(28)
-int(29)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(30)
-int(31)
-int(0)
-int(0)
-int(1)
-int(2)
-int(26)
-int(26)
-int(0)
-int(0)
-int(1)
-int(2)
-int(25)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(24)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(26)
-int(26)
-int(0)
-int(0)
-int(1)
-int(2)
-int(26)
-int(26)
-int(0)
-int(0)
-int(1)
-int(2)
-int(25)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(24)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(26)
-int(26)
-int(0)
-
--- Iteration 6 --
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-
--- Iteration 7 --
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(26)
-int(27)
-int(0)
-int(0)
-int(1)
-int(2)
-int(25)
-int(26)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(26)
-int(27)
-int(0)
-int(0)
-int(1)
-int(2)
-int(26)
-int(27)
-int(0)
-int(0)
-int(1)
-int(2)
-int(25)
-int(26)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(26)
-int(27)
-int(0)
-int(0)
-int(1)
-int(2)
-int(26)
-int(27)
-int(0)
-int(0)
-int(1)
-int(2)
-int(25)
-int(26)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(26)
-int(27)
-int(0)
-int(0)
-int(1)
-int(2)
-int(6)
-int(6)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(6)
-int(6)
-int(0)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strcspn() : with different start and len values ***
-- Iteration 1 --
var_dump(strrchr($s," nic"));
?>
--EXPECTREGEX--
-string\(18\) \"nica\x00turska panica\"
-string\(7\) \" panica\"
---UEXPECTREGEX--
unicode\(18\) \"nica\x00turska panica\"
unicode\(7\) \" panica\"
echo "Done";
?>
---EXPECTF--
-*** Testing strip_tags() : basic functionality ***
--- Iteration 1 --
-string(5) "hello"
--- Iteration 2 --
-string(5) "hello"
--- Iteration 3 --
-string(0) ""
--- Iteration 4 --
-string(0) ""
--- Iteration 5 --
-string(0) ""
--- Iteration 6 --
-string(0) ""
--- Iteration 7 --
-string(0) ""
--- Iteration 8 --
-string(0) ""
--- Iteration 9 --
-string(12) " echo hello "
--- Iteration 10 --
-string(12) " echo hello "
--- Iteration 11 --
-string(10) "helloworld"
--- Iteration 12 --
-string(10) "helloworld"
--- Iteration 13 --
-string(0) ""
--- Iteration 14 --
-string(0) ""
-Done
---UEXPECTF--
+--EXPECT--
*** Testing strip_tags() : basic functionality ***
-- Iteration 1 --
unicode(5) "hello"
echo "Done";
?>
---EXPECTF--
-*** Testing strip_tags() : basic functionality ***
--- Iteration 1 --
-string(33) "<html>helloworldOther text</html>"
--- Iteration 2 --
-string(33) "<html>helloworldOther text</html>"
--- Iteration 3 --
-string(27) "<p>hello</p>worldOther text"
--- Iteration 4 --
-string(27) "<p>hello</p>worldOther text"
--- Iteration 5 --
-string(44) "helloworld<a href="#fragment">Other text</a>"
--- Iteration 6 --
-string(44) "helloworld<a href="#fragment">Other text</a>"
--- Iteration 7 --
-string(20) "helloworldOther text"
--- Iteration 8 --
-string(20) "helloworldOther text"
--- Iteration 9 --
-string(64) "<html><p>hello</p>world<a href="#fragment">Other text</a></html>"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing strip_tags() : basic functionality ***
-- Iteration 1 --
unicode(33) "<html>helloworldOther text</html>"
Warning: strip_tags() expects at most 2 parameters, 3 given in %s on line %d
NULL
Done
---UEXPECTF--
-*** Testing strip_tags() : error conditions ***
-
--- Testing strip_tags() function with Zero arguments --
-
-Warning: strip_tags() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-
--- Testing strip_tags() function with more than expected no. of arguments --
-
-Warning: strip_tags() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-Done
--EXPECTF--
*** Testing strip_tags() : usage variations ***
-- Iteration 1 --
-string(1) "0"
--- Iteration 2 --
-string(1) "1"
--- Iteration 3 --
-string(5) "12345"
--- Iteration 4 --
-string(5) "-2345"
--- Iteration 5 --
-string(4) "10.5"
--- Iteration 6 --
-string(5) "-10.5"
--- Iteration 7 --
-string(12) "105000000000"
--- Iteration 8 --
-string(7) "1.06E-9"
--- Iteration 9 --
-string(3) "0.5"
--- Iteration 10 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(0) ""
--- Iteration 16 --
-string(0) ""
--- Iteration 17 --
-string(1) "1"
--- Iteration 18 --
-string(0) ""
--- Iteration 19 --
-string(1) "1"
--- Iteration 20 --
-string(0) ""
--- Iteration 21 --
-string(0) ""
--- Iteration 22 --
-string(0) ""
--- Iteration 23 --
-string(14) "Class A object"
--- Iteration 24 --
-string(0) ""
--- Iteration 25 --
-string(0) ""
--- Iteration 26 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
unicode(1) "0"
-- Iteration 2 --
unicode(1) "1"
echo "Done";
?>
---EXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
-string(51) "<html> \$ -> This represents the dollar sign</html>"
--- Iteration 2 --
-string(63) "<html>\t\r\v The quick brown fo\fx jumped over the lazy dog</p>"
--- Iteration 3 --
-string(31) "<a>This is a hyper text tag</a>"
--- Iteration 4 --
-string(0) ""
--- Iteration 5 --
-string(26) "<p>This is a paragraph</p>"
--- Iteration 6 --
-string(65) "<b>This is \ta text in bold letters\r\s\malong with slashes\n</b>"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing strip_tags() : usage variations ***
-- Iteration 1 --
unicode(51) "<html> \$ -> This represents the dollar sign</html>"
--EXPECTF--
*** Testing strip_tags() : usage variations ***
-- Iteration 1 --
-string(10) "helloworld"
--- Iteration 2 --
-string(10) "helloworld"
--- Iteration 3 --
-string(10) "helloworld"
--- Iteration 4 --
-string(10) "helloworld"
--- Iteration 5 --
-string(10) "helloworld"
--- Iteration 6 --
-string(10) "helloworld"
--- Iteration 7 --
-string(10) "helloworld"
--- Iteration 8 --
-string(10) "helloworld"
--- Iteration 9 --
-string(10) "helloworld"
--- Iteration 10 --
-
-Warning: strip_tags() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: strip_tags() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: strip_tags() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: strip_tags() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: strip_tags() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(10) "helloworld"
--- Iteration 16 --
-string(10) "helloworld"
--- Iteration 17 --
-string(10) "helloworld"
--- Iteration 18 --
-string(10) "helloworld"
--- Iteration 19 --
-string(10) "helloworld"
--- Iteration 20 --
-string(10) "helloworld"
--- Iteration 21 --
-string(10) "helloworld"
--- Iteration 22 --
-string(10) "helloworld"
--- Iteration 23 --
-string(10) "helloworld"
--- Iteration 24 --
-string(10) "helloworld"
--- Iteration 25 --
-string(10) "helloworld"
--- Iteration 26 --
-
-Warning: strip_tags() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
unicode(10) "helloworld"
-- Iteration 2 --
unicode(10) "helloworld"
--EXPECTF--
*** Testing strip_tags() : usage variations ***
-- Iteration 1 --
-string(1) "0"
--- Iteration 2 --
-string(1) "1"
--- Iteration 3 --
-string(5) "12345"
--- Iteration 4 --
-string(5) "-2345"
--- Iteration 5 --
-string(4) "10.5"
--- Iteration 6 --
-string(5) "-10.5"
--- Iteration 7 --
-string(12) "105000000000"
--- Iteration 8 --
-string(7) "1.06E-9"
--- Iteration 9 --
-string(3) "0.5"
--- Iteration 10 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(0) ""
--- Iteration 16 --
-string(0) ""
--- Iteration 17 --
-string(1) "1"
--- Iteration 18 --
-string(0) ""
--- Iteration 19 --
-string(1) "1"
--- Iteration 20 --
-string(0) ""
--- Iteration 21 --
-string(0) ""
--- Iteration 22 --
-string(0) ""
--- Iteration 23 --
-string(14) "Class A object"
--- Iteration 24 --
-string(0) ""
--- Iteration 25 --
-string(0) ""
--- Iteration 26 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
unicode(1) "0"
-- Iteration 2 --
unicode(1) "1"
echo "Done";
?>
---EXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
-string(32) "hello world... strip_tags_test"
--- Iteration 2 --
-string(34) "hello \t\tworld... strip_tags_test"
--- Iteration 3 --
-string(0) ""
--- Iteration 4 --
-string(0) ""
--- Iteration 5 --
-string(18) "<htmL>hello</htmL>"
--- Iteration 6 --
-string(18) "<htmL>hello</htmL>"
--- Iteration 7 --
-string(9) "HtMl text"
--- Iteration 8 --
-string(9) "HtMl text"
--- Iteration 9 --
-string(26) "I am not a valid html text"
--- Iteration 10 --
-string(26) "I am not a valid html text"
--- Iteration 11 --
-string(62) "I am a quoted (") string with special chars like $,\!,\@,\%,\&"
--- Iteration 12 --
-string(64) "I am a quoted (\") string with special chars like \$,\!,\@,\%,\&"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing strip_tags() : usage variations ***
-- Iteration 1 --
unicode(32) "hello world... strip_tags_test"
echo "Done\n";
?>
---EXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
-string(0) ""
--- Iteration 2 --
-string(0) ""
--- Iteration 3 --
-string(67) "<html>hello world</html>
-13 < 25
-
-This is a double quoted string"
--- Iteration 4 --
-string(44) "<html>hello
- world
-1111 != 2222\v\v</html>
-"
--- Iteration 5 --
-string(56) "<html>11 < 12. 123 >22</html>
-string 1111 0000 = 0000
-"
--- Iteration 6 --
-string(150) "<html>This's a string with quotes:</html>
-"strings in double quote";
-'strings in single quote';
-<html>this\line is single quoted /with\slashes </html>"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing strip_tags() : usage variations ***
-- Iteration 1 --
unicode(0) ""
echo "Done";
?>
---EXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
-string(18) " I am html string "
--- Iteration 2 --
-string(18) " I am html string "
--- Iteration 3 --
-string(16) "I am html string"
--- Iteration 4 --
-string(23) "I am html string1000001"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing strip_tags() : usage variations ***
-- Iteration 1 --
unicode(18) " I am html string "
echo "Done";
?>
---EXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
-string(43) "<abc>hello</abc> world... strip_tags_test"
--- Iteration 2 --
-string(45) "<abc>hello</abc> \t\tworld... strip_tags_test"
--- Iteration 3 --
-string(0) ""
--- Iteration 4 --
-string(0) ""
--- Iteration 5 --
-string(18) "<htmL>hello</htmL>"
--- Iteration 6 --
-string(18) "<htmL>hello</htmL>"
--- Iteration 7 --
-string(9) "HtMl text"
--- Iteration 8 --
-string(9) "HtMl text"
--- Iteration 9 --
-string(37) "<nnn>I am not a valid html text</nnn>"
--- Iteration 10 --
-string(37) "<nnn>I am not a valid html text</nnn>"
--- Iteration 11 --
-string(73) "<nnn>I am a quoted (") string with special chars like $,\!,\@,\%,\&</nnn>"
--- Iteration 12 --
-string(75) "<nnn>I am a quoted (\") string with special chars like \$,\!,\@,\%,\&</nnn>"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing strip_tags() : usage variations ***
-- Iteration 1 --
unicode(43) "<abc>hello</abc> world... strip_tags_test"
}
echo "Done";
---EXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
-string(33) "hello world... strip_tags_test\v\f"
--- Iteration 2 --
-string(33) "hello world... strip_tags_test\v\f"
--- Iteration 3 --
-string(33) "hello world... strip_tags_test\v\f"
--- Iteration 4 --
-string(33) "hello world... strip_tags_test\v\f"
--- Iteration 5 --
-string(33) "hello world... strip_tags_test\v\f"
--- Iteration 6 --
-string(33) "hello world... strip_tags_test\v\f"
--- Iteration 7 --
-string(46) "<html>hello</html> world... strip_tags_test\v\f"
--- Iteration 8 --
-string(46) "<html>hello</html> world... strip_tags_test\v\f"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing strip_tags() : usage variations ***
-- Iteration 1 --
unicode(33) "hello world... strip_tags_test\v\f"
}
echo "Done";
---EXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
-string(50) "<html> $ -> This represents the dollar sign</html>"
--- Iteration 2 --
-string(59) "<html>
-\v The quick brown fo\fx jumped over the lazy dog</p>"
--- Iteration 3 --
-string(31) "<a>This is a hyper text tag</a>"
--- Iteration 4 --
-string(0) ""
--- Iteration 5 --
-string(26) "<p>This is a paragraph</p>"
--- Iteration 6 --
-string(62) "<b>This is a text in bold letters
-\s\malong with slashes
-</b>"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing strip_tags() : usage variations ***
-- Iteration 1 --
unicode(50) "<html> $ -> This represents the dollar sign</html>"
var_dump( stripos("Hello, World", "ooo") );
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing stripos() function: basic functionality ***
--- With default arguments --
-int(0)
-int(0)
-int(7)
-int(7)
-int(4)
-int(5)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing stripos() function: basic functionality ***
-- With default arguments --
int(0)
var_dump( stripos("Hello, World", "o", 10) );
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing stripos() function: basic functionality ***
--- With all arguments --
-int(0)
-bool(false)
-int(7)
-int(7)
-int(0)
-int(0)
-bool(false)
-int(0)
-bool(false)
-int(4)
-int(8)
-int(8)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing stripos() function: basic functionality ***
-- With all arguments --
int(0)
Warning: stripos() expects at most 3 parameters, 4 given in %s on line %d
NULL
*** Done ***
---UEXPECTF--
-*** Testing stripos() function: error conditions ***
-
--- With Zero arguments --
-Warning: stripos() expects at least 2 parameters, 0 given in %s on line %d
-NULL
-
--- With less than expected number of arguments --
-Warning: stripos() expects at least 2 parameters, 1 given in %s on line %d
-NULL
-
--- With more than expected number of arguments --
-Warning: stripos() expects at most 3 parameters, 4 given in %s on line %d
-NULL
-*** Done ***
}
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing stripos() function: with double quoted strings ***
--- Iteration 1 --
-int(2)
-int(2)
--- Iteration 2 --
-int(2)
-int(2)
--- Iteration 3 --
-int(0)
-int(34)
--- Iteration 4 --
-int(0)
-int(34)
--- Iteration 5 --
-int(6)
-int(6)
--- Iteration 6 --
-bool(false)
-bool(false)
--- Iteration 7 --
-bool(false)
-bool(false)
--- Iteration 8 --
-int(7)
-int(7)
--- Iteration 9 --
-bool(false)
-bool(false)
--- Iteration 10 --
-int(7)
-int(9)
--- Iteration 11 --
-int(8)
-bool(false)
--- Iteration 12 --
-int(8)
-bool(false)
--- Iteration 13 --
-int(8)
-bool(false)
--- Iteration 14 --
-int(8)
-bool(false)
--- Iteration 15 --
-int(8)
-bool(false)
--- Iteration 16 --
-bool(false)
-bool(false)
--- Iteration 17 --
-int(10)
-int(47)
--- Iteration 18 --
-int(12)
-bool(false)
--- Iteration 19 --
-int(11)
-bool(false)
--- Iteration 20 --
-int(13)
-bool(false)
--- Iteration 21 --
-int(14)
-bool(false)
--- Iteration 22 --
-int(16)
-bool(false)
--- Iteration 23 --
-int(17)
-bool(false)
--- Iteration 24 --
-int(20)
-bool(false)
--- Iteration 25 --
-int(22)
-bool(false)
--- Iteration 26 --
-int(23)
-bool(false)
--- Iteration 27 --
-int(25)
-bool(false)
--- Iteration 28 --
-bool(false)
-bool(false)
--- Iteration 29 --
-int(27)
-bool(false)
--- Iteration 30 --
-int(28)
-bool(false)
--- Iteration 31 --
-int(29)
-bool(false)
--- Iteration 32 --
-int(31)
-int(31)
--- Iteration 33 --
-int(30)
-bool(false)
--- Iteration 34 --
-int(33)
-int(33)
--- Iteration 35 --
-int(39)
-int(39)
--- Iteration 36 --
-int(15)
-int(48)
--- Iteration 37 --
-int(15)
-int(48)
--- Iteration 38 --
-int(51)
-int(51)
--- Iteration 39 --
-int(51)
-int(51)
--- Iteration 40 --
-bool(false)
-bool(false)
--- Iteration 41 --
-int(0)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing stripos() function: with double quoted strings ***
-- Iteration 1 --
int(2)
-- Iteration 3 --
bool(false)
--- Iteration 4 --
-bool(false)
-
--- Iteration 5 --
-bool(false)
-
--- Iteration 6 --
-bool(false)
-
--- Iteration 7 --
-bool(false)
-
--- Iteration 8 --
-bool(false)
-
--- Iteration 9 --
-bool(false)
-
--- Iteration 10 --
-bool(false)
-
--- Iteration 11 --
-bool(false)
-
--- Iteration 12 --
-bool(false)
-
--- Iteration 13 --
-bool(false)
-
--- Iteration 14 --
-bool(false)
-
--- Iteration 15 --
-bool(false)
-
--- Iteration 16 --
-bool(false)
-
--- Iteration 17 --
-bool(false)
-
--- Iteration 18 --
-bool(false)
-
--- Iteration 19 --
-
-Notice: Object of class sample could not be converted to int in %s on line %d
-bool(false)
-
--- Iteration 20 --
-bool(false)
-
--- Iteration 21 --
-bool(false)
-
--- Iteration 22 --
-bool(false)
-
--- Iteration 23 --
-bool(false)
-
--- Iteration 24 --
-%s
-
--- Iteration 25 --
-bool(false)
-
--- Iteration 26 --
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing stripos() function with unexpected values for needle ***
-
--- Iteration 1 --
-bool(false)
-
--- Iteration 2 --
-bool(false)
-
--- Iteration 3 --
-bool(false)
-
-- Iteration 4 --
Warning: Needle argument codepoint value out of range (0 - 0x10FFFF) in %s on line %d
*** Testing stripos() function with unexpected values for haystack and needle ***
-- Iteration 1 --
bool(false)
-bool(false)
--- Iteration 2 --
-bool(false)
-bool(false)
--- Iteration 3 --
-bool(false)
-bool(false)
--- Iteration 4 --
-bool(false)
-bool(false)
--- Iteration 5 --
-bool(false)
-bool(false)
--- Iteration 6 --
-bool(false)
-bool(false)
--- Iteration 7 --
-bool(false)
-bool(false)
--- Iteration 8 --
-bool(false)
-bool(false)
--- Iteration 9 --
-bool(false)
-bool(false)
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
--- Iteration 15 --
-bool(false)
-bool(false)
--- Iteration 16 --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 17 --
-bool(false)
-bool(false)
--- Iteration 18 --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 19 --
-
-Notice: Object of class sample could not be converted to int in %s on line %d
-bool(false)
-
-Notice: Object of class sample could not be converted to int in %s on line %d
-bool(false)
--- Iteration 20 --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 21 --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 22 --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 23 --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 24 --
-bool(false)
-bool(false)
--- Iteration 25 --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 26 --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing stripos() function with unexpected values for haystack and needle ***
--- Iteration 1 --
-bool(false)
int(1)
-- Iteration 2 --
bool(false)
}
echo "*** Done ***";
?>
---EXPECTF--
-*** Test stripos() function: binary safe ***
-int(5)
-int(5)
-int(0)
-bool(false)
-int(11)
-int(11)
-int(0)
-bool(false)
-int(5)
-int(5)
-int(0)
-bool(false)
-int(5)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Test stripos() function: binary safe ***
int(5)
int(5)
}
echo "*** Done ***";
?>
---EXPECTF--
-*** Test stripos() function: binary safe ***
-int(1)
-int(1)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(1)
-bool(false)
-int(0)
-bool(false)
-int(1)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Test stripos() function: binary safe ***
int(1)
int(1)
NULL
-- Iteration 16 --
-Warning: stripos() expects parameter 3 to be long, string given in %s on line %d
-NULL
--- Iteration 17 --
-
-Warning: stripos() expects parameter 3 to be long, string given in %s on line %d
-NULL
--- Iteration 18 --
-int(6)
--- Iteration 19 --
-int(6)
--- Iteration 20 --
-
-Warning: stripos() expects parameter 3 to be long, resource given in %s on line %d
-NULL
--- Iteration 21 --
-int(6)
--- Iteration 22 --
-int(6)
-*** Done ***
---UEXPECTF--
-*** Testing stripos() function with unexpected values for haystack and needle ***
--- Iteration 1 --
-int(6)
--- Iteration 2 --
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 3 --
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 4 --
-int(6)
--- Iteration 5 --
-int(6)
--- Iteration 6 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 7 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 8 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 11 --
-int(6)
--- Iteration 12 --
-int(6)
--- Iteration 13 --
-int(6)
--- Iteration 14 --
-int(6)
--- Iteration 15 --
-
-Warning: stripos() expects parameter 3 to be long, object given in %s on line %d
-NULL
--- Iteration 16 --
-
Warning: stripos() expects parameter 3 to be long, Unicode string given in %s on line %d
NULL
-- Iteration 17 --
NULL
-- Iteration 20 --
-Warning: stripos() expects parameter 3 to be long, string given in %s on line %d
-NULL
--- Iteration 21 --
-
-Warning: stripos() expects parameter 3 to be long, string given in %s on line %d
-NULL
--- Iteration 22 --
-bool(false)
--- Iteration 23 --
-bool(false)
--- Iteration 24 --
-
-Warning: stripos() expects parameter 3 to be long, resource given in %s on line %d
-NULL
--- Iteration 25 --
-bool(false)
--- Iteration 26 --
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing stripos() function with unexpected values for haystack, needle & offset ***
--- Iteration 1 --
-bool(false)
--- Iteration 2 --
-bool(false)
--- Iteration 3 --
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 4 --
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 5 --
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 6 --
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 7 --
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 8 --
-bool(false)
--- Iteration 9 --
-bool(false)
--- Iteration 10 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 15 --
-bool(false)
--- Iteration 16 --
-bool(false)
--- Iteration 17 --
-bool(false)
--- Iteration 18 --
-bool(false)
--- Iteration 19 --
-
-Warning: stripos() expects parameter 3 to be long, object given in %s on line %d
-NULL
--- Iteration 20 --
-
Warning: stripos() expects parameter 3 to be long, Unicode string given in %s on line %d
NULL
-- Iteration 21 --
}
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing stripos() function: with single quoted strings ***
--- Iteration 1 --
-int(2)
-int(2)
--- Iteration 2 --
-int(2)
-int(2)
--- Iteration 3 --
-int(0)
-int(38)
--- Iteration 4 --
-int(0)
-int(38)
--- Iteration 5 --
-int(6)
-int(6)
--- Iteration 6 --
-int(6)
-int(6)
--- Iteration 7 --
-bool(false)
-bool(false)
--- Iteration 8 --
-int(8)
-int(8)
--- Iteration 9 --
-int(8)
-int(8)
--- Iteration 10 --
-bool(false)
-bool(false)
--- Iteration 11 --
-int(10)
-int(10)
--- Iteration 12 --
-bool(false)
-bool(false)
--- Iteration 13 --
-bool(false)
-bool(false)
--- Iteration 14 --
-bool(false)
-bool(false)
--- Iteration 15 --
-bool(false)
-bool(false)
--- Iteration 16 --
-bool(false)
-bool(false)
--- Iteration 17 --
-int(14)
-int(51)
--- Iteration 18 --
-int(16)
-bool(false)
--- Iteration 19 --
-int(15)
-bool(false)
--- Iteration 20 --
-int(17)
-bool(false)
--- Iteration 21 --
-int(18)
-bool(false)
--- Iteration 22 --
-int(20)
-bool(false)
--- Iteration 23 --
-int(21)
-bool(false)
--- Iteration 24 --
-int(24)
-int(24)
--- Iteration 25 --
-int(26)
-int(26)
--- Iteration 26 --
-int(27)
-int(27)
--- Iteration 27 --
-int(28)
-int(28)
--- Iteration 28 --
-int(29)
-int(29)
--- Iteration 29 --
-bool(false)
-bool(false)
--- Iteration 30 --
-bool(false)
-bool(false)
--- Iteration 31 --
-int(31)
-int(31)
--- Iteration 32 --
-int(32)
-int(32)
--- Iteration 33 --
-int(33)
-int(33)
--- Iteration 34 --
-int(35)
-int(35)
--- Iteration 35 --
-int(34)
-int(34)
--- Iteration 36 --
-int(36)
-int(36)
--- Iteration 37 --
-int(37)
-int(37)
--- Iteration 38 --
-int(37)
-int(37)
--- Iteration 39 --
-int(43)
-int(43)
--- Iteration 40 --
-int(52)
-int(52)
--- Iteration 41 --
-int(19)
-bool(false)
--- Iteration 42 --
-int(58)
-int(58)
--- Iteration 43 --
-bool(false)
-bool(false)
--- Iteration 44 --
-int(26)
-bool(false)
--- Iteration 45 --
-int(0)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing stripos() function: with single quoted strings ***
-- Iteration 1 --
int(2)
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing stripos() function: with heredoc strings ***
--- With heredoc string containing multi lines --
-int(14)
-int(23)
-int(23)
-bool(false)
-int(7)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing stripos() function: with heredoc strings ***
-- With heredoc string containing multi lines --
int(14)
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing stripos() function: with heredoc strings ***
--- With heredoc string containing special chars --
-int(0)
-bool(false)
-int(38)
-int(39)
-int(55)
-int(55)
-int(57)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing stripos() function: with heredoc strings ***
-- With heredoc string containing special chars --
int(0)
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing stripos() function: with heredoc strings ***
--- With heredoc string containing escape characters --
-int(12)
-int(19)
-int(12)
-int(19)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing stripos() function: with heredoc strings ***
-- With heredoc string containing escape characters --
int(12)
var_dump( stripos($quote_char_str, "things", 20) );
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing stripos() function: with heredoc strings ***
--- With heredoc string containing quote & slash chars --
-int(88)
-int(34)
-int(34)
-int(34)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing stripos() function: with heredoc strings ***
-- With heredoc string containing quote & slash chars --
int(88)
bool(false)
bool(false)
*** Done ***
---UEXPECTF--
-*** Testing stripos() function: with heredoc strings ***
--- With empty heredoc string --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
-bool(false)
-bool(false)
-*** Done ***
}
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing stripos() function: variations with offset ***
-
--- Iteration 1 --
-int(0)
-int(2)
-int(2)
-int(4)
-int(4)
-int(6)
-int(6)
-int(8)
-int(8)
-int(10)
-int(10)
-int(12)
-int(12)
-int(14)
-int(14)
-int(16)
-int(16)
-bool(false)
-bool(false)
-bool(false)
-
--- Iteration 2 --
-int(0)
-int(2)
-int(2)
-int(4)
-int(4)
-int(6)
-int(6)
-int(8)
-int(8)
-int(10)
-int(10)
-int(12)
-int(12)
-int(14)
-int(14)
-int(16)
-int(16)
-bool(false)
-bool(false)
-bool(false)
-
--- Iteration 3 --
-int(0)
-int(2)
-int(2)
-int(4)
-int(4)
-int(6)
-int(6)
-int(8)
-int(8)
-int(10)
-int(10)
-int(12)
-int(12)
-int(14)
-int(14)
-int(16)
-int(16)
-bool(false)
-bool(false)
-bool(false)
-
--- Iteration 4 --
-int(0)
-int(2)
-int(2)
-int(4)
-int(4)
-int(6)
-int(6)
-int(8)
-int(8)
-int(10)
-int(10)
-int(12)
-int(12)
-int(14)
-int(14)
-int(16)
-int(16)
-bool(false)
-bool(false)
-bool(false)
-
--- Iteration 5 --
-int(1)
-int(1)
-int(3)
-int(3)
-int(5)
-int(5)
-int(7)
-int(7)
-int(9)
-int(9)
-int(11)
-int(11)
-int(13)
-int(13)
-int(15)
-int(15)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
--- Iteration 6 --
-int(1)
-int(1)
-int(3)
-int(3)
-int(5)
-int(5)
-int(7)
-int(7)
-int(9)
-int(9)
-int(11)
-int(11)
-int(13)
-int(13)
-int(15)
-int(15)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
--- Iteration 7 --
-int(1)
-int(1)
-int(3)
-int(3)
-int(5)
-int(5)
-int(7)
-int(7)
-int(9)
-int(9)
-int(11)
-int(11)
-int(13)
-int(13)
-int(15)
-int(15)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
--- Iteration 8 --
-int(1)
-int(1)
-int(3)
-int(3)
-int(5)
-int(5)
-int(7)
-int(7)
-int(9)
-int(9)
-int(11)
-int(11)
-int(13)
-int(13)
-int(15)
-int(15)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing stripos() function: variations with offset ***
-- Iteration 1 --
-- Testing stripslashes() function with more than expected no. of arguments --
-Warning: Wrong parameter count for stripslashes() in %s on line %d
-NULL
-string(18) "\"hello\"\"world\""
-Done
-
---UEXPECTF--
-*** Testing stripslashes() : error conditions ***
-
--- Testing stripslashes() function with Zero arguments --
-
-Warning: Wrong parameter count for stripslashes() in %s on line %d
-NULL
-
--- Testing stripslashes() function with more than expected no. of arguments --
-
Warning: Wrong parameter count for stripslashes() in %s on line %d
NULL
unicode(18) "\"hello\"\"world\""
Notice: Undefined variable: unset_var in %s on line %d
---- Testing stripslashes() by supplying different values for 'str' argument ---
--- Iteration 1 --
-string(1) "0"
--- Iteration 2 --
-string(1) "1"
--- Iteration 3 --
-string(5) "12345"
--- Iteration 4 --
-string(5) "-2345"
--- Iteration 5 --
-string(4) "10.5"
--- Iteration 6 --
-string(5) "-10.5"
--- Iteration 7 --
-string(12) "105000000000"
--- Iteration 8 --
-string(7) "1.06E-9"
--- Iteration 9 --
-string(3) "0.5"
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 15 --
-string(1) "1"
--- Iteration 16 --
-string(0) ""
--- Iteration 17 --
-string(1) "1"
--- Iteration 18 --
-string(0) ""
--- Iteration 19 --
-string(0) ""
--- Iteration 20 --
-string(0) ""
--- Iteration 21 --
-string(0) ""
--- Iteration 22 --
-string(0) ""
--- Iteration 23 --
-string(6) "obj'ct"
--- Iteration 24 --
-string(%d) "Resource id #%d"
--- Iteration 25 --
-string(0) ""
--- Iteration 26 --
-string(0) ""
-Done
-
---UEXPECTF--
-*** Testing stripslashes() : with non-string type argument ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
--- Testing stripslashes() by supplying different values for 'str' argument ---
-- Iteration 1 --
unicode(1) "0"
echo "Done\n";
?>
---EXPECTF--
-*** Testing stripslashes() : with strings containing newline and tab characters ***
-
--- Iteration 1 --
-string(1) "
-"
-
--- Iteration 2 --
-string(1) "n"
-
--- Iteration 3 --
-string(12) "Hello
-world"
-
--- Iteration 4 --
-string(12) "Hello nworld"
-
--- Iteration 5 --
-string(1) "n"
-
--- Iteration 6 --
-string(1) "n"
-
--- Iteration 7 --
-string(12) "Hello nworld"
-
--- Iteration 8 --
-string(12) "Hello nworld"
-
--- Iteration 9 --
-string(71) "This is line 1
-of 'heredoc' string
-This is line 2
-of "heredoc" string"
-
--- Iteration 10 --
-string(1) " "
-
--- Iteration 11 --
-string(1) "t"
-
--- Iteration 12 --
-string(12) "Hello world"
-
--- Iteration 13 --
-string(12) "Hello tworld"
-
--- Iteration 14 --
-string(1) "t"
-
--- Iteration 15 --
-string(1) "t"
-
--- Iteration 16 --
-string(12) "Hello tworld"
-
--- Iteration 17 --
-string(12) "Hello tworld"
-
--- Iteration 18 --
-string(71) "This is line 1 of 'heredoc' string
-This is line 2 of "heredoc" string"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing stripslashes() : with strings containing newline and tab characters ***
-- Iteration 1 --
-- Iteration 18 --
unicode(71) "This is line 1 of 'heredoc' string
This is line 2 of "heredoc" string"
-Done
\ No newline at end of file
+Done
echo "Done\n";
?>
---EXPECTF--
-*** Testing stripslashes() : with double dimensional arrays ***
-
--- Iteration 1 --
-array(2) {
- [0]=>
- string(0) ""
- [1]=>
- array(0) {
- }
-}
-
--- Iteration 2 --
-array(2) {
- [0]=>
- string(0) ""
- [1]=>
- array(1) {
- [0]=>
- string(0) ""
- }
-}
-
--- Iteration 3 --
-array(3) {
- [0]=>
- string(4) "f'oo"
- [1]=>
- string(4) "b'ar"
- [2]=>
- array(2) {
- [0]=>
- string(4) "fo'o"
- [1]=>
- string(4) "b'ar"
- }
-}
-
--- Iteration 4 --
-array(3) {
- [0]=>
- string(4) "f'oo"
- [1]=>
- string(4) "b'ar"
- [2]=>
- array(1) {
- [0]=>
- string(0) ""
- }
-}
-
--- Iteration 5 --
-array(3) {
- [0]=>
- string(4) "f'oo"
- [1]=>
- string(4) "b'ar"
- [2]=>
- array(3) {
- [0]=>
- string(4) "fo'o"
- [1]=>
- string(4) "b'ar"
- [2]=>
- array(1) {
- [0]=>
- string(0) ""
- }
- }
-}
-
--- Iteration 6 --
-array(3) {
- [0]=>
- string(4) "f'oo"
- [1]=>
- string(4) "b'ar"
- [2]=>
- array(3) {
- [0]=>
- string(4) "fo'o"
- [1]=>
- string(4) "b'ar"
- [2]=>
- array(2) {
- [0]=>
- string(4) "fo'o"
- [1]=>
- string(4) "b'ar"
- }
- }
-}
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing stripslashes() : with double dimensional arrays ***
-- Iteration 1 --
}
}
}
-Done
\ No newline at end of file
+Done
bool(false)
bool(false)
-Notice: Array to string conversion in %s on line %d
-bool(false)
-string(11) "tEsT sTrInG"
-string(6) "sTrInG"
-string(6) "sTrInG"
-string(8) "T sTrInG"
-string(1) "G"
-string(32) "7272696018bdeb2c9a3f8d01fc2a9273"
-bool(false)
-bool(false)
-bool(false)
-string(32) "6ec19f52f0766c463f3bb240f4396913"
-string(7) " sTrInG"
-string(4) "tEsT"
---UEXPECTF--
-Warning: stristr() expects at least 2 parameters, 0 given in %s on line %d
-NULL
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: stristr(): Empty delimiter in %s on line %d
-bool(false)
-bool(false)
-
Notice: Array to string conversion in %s on line %d
bool(false)
unicode(11) "tEsT sTrInG"
int\(-[1-9][0-9]*\)
int\([1-9][0-9]*\)
\*\*\* Done \*\*\*
---UEXPECTREGEX--
-\*\*\* Testing strncasecmp\(\) function: basic functionality \*\*\*
--- Testing strncasecmp\(\) with single quoted string --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Testing strncasecmp\(\) with double quoted string --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Testing strncasecmp\(\) with here-doc string --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
-\*\*\* Done \*\*\*
Warning: Length must be greater than or equal to 0 in %s on line %d
bool(false)
*** Done ***
---UEXPECTF--
-*** Testing strncasecmp() function: error conditions ***
-
--- Testing strncasecmp() function with Zero arguments --
-Warning: strncasecmp() expects exactly 3 parameters, 0 given in %s on line %d
-NULL
-
--- Testing strncasecmp() function with less than expected number of arguments --
-Warning: strncasecmp() expects exactly 3 parameters, 1 given in %s on line %d
-NULL
-
-Warning: strncasecmp() expects exactly 3 parameters, 2 given in %s on line %d
-NULL
-
--- Testing strncasecmp() function with more than expected number of arguments --
-Warning: strncasecmp() expects exactly 3 parameters, 4 given in %s on line %d
-NULL
-
--- Testing strncasecmp() function with invalid argument --
-Warning: Length must be greater than or equal to 0 in %s on line %d
-bool(false)
-*** Done ***
}
echo "*** Done ***\n";
?>
---EXPECTF--
-*** Test strncasecmp() function: with alphabets ***
--- Passing upper-case letters for 'str1' --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Passing lower-case letters for 'str1' --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Test strncasecmp() function: with alphabets ***
-- Passing upper-case letters for 'str1' --
int(0)
-- Iteration 31 --
int(-%d)
*** Done ***
---UEXPECTF--
-*** Testing strncasecmp() function: with unexpected values for 'str1' ***
--- Iteration 1 --
-int(-%d)
--- Iteration 2 --
-int(-%d)
--- Iteration 3 --
-int(-%d)
--- Iteration 4 --
-int(-%d)
--- Iteration 5 --
-int(-%d)
--- Iteration 6 --
-int(-%d)
--- Iteration 7 --
-int(-%d)
--- Iteration 8 --
-int(-%d)
--- Iteration 9 --
-int(-%d)
--- Iteration 10 --
-int(-%d)
--- Iteration 11 --
-int(-%d)
--- Iteration 12 --
-int(-%d)
--- Iteration 13 --
-int(-%d)
--- Iteration 14 --
-int(-%d)
--- Iteration 15 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 16 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 17 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 18 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 19 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 20 --
-int(-%d)
--- Iteration 21 --
-int(-%d)
--- Iteration 22 --
-int(-%d)
--- Iteration 23 --
-int(-%d)
--- Iteration 24 --
-int(-%d)
--- Iteration 25 --
-int(-%d)
--- Iteration 26 --
-int(-%d)
--- Iteration 27 --
-int(-%d)
--- Iteration 28 --
-int(-%d)
--- Iteration 29 --
-int(-%d)
--- Iteration 30 --
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
--- Iteration 31 --
-int(-%d)
-*** Done ***
-- Iteration 31 --
int(%d)
*** Done ***
---UEXPECTF--
-*** Testing strncasecmp() function: with unexpected values for 'str2' ***
--- Iteration 1 --
-int(%d)
--- Iteration 2 --
-int(%d)
--- Iteration 3 --
-int(%d)
--- Iteration 4 --
-int(%d)
--- Iteration 5 --
-int(%d)
--- Iteration 6 --
-int(%d)
--- Iteration 7 --
-int(%d)
--- Iteration 8 --
-int(%d)
--- Iteration 9 --
-int(%d)
--- Iteration 10 --
-int(%d)
--- Iteration 11 --
-int(%d)
--- Iteration 12 --
-int(%d)
--- Iteration 13 --
-int(%d)
--- Iteration 14 --
-int(%d)
--- Iteration 15 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 16 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 17 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 18 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 19 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 20 --
-int(%d)
--- Iteration 21 --
-int(%d)
--- Iteration 22 --
-int(%d)
--- Iteration 23 --
-int(%d)
--- Iteration 24 --
-int(%d)
--- Iteration 25 --
-int(%d)
--- Iteration 26 --
-int(%d)
--- Iteration 27 --
-int(%d)
--- Iteration 28 --
-int(%d)
--- Iteration 29 --
-int(%d)
--- Iteration 30 --
-
-Warning: strncasecmp() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
--- Iteration 31 --
-int(%d)
-*** Done ***
int\(-[1-9][0-9]*\)
int\(0\)
\*\*\* Done \*\*\*
---UEXPECTREGEX--
-\*\*\* Test strncasecmp\(\) function: with double quoted strings \*\*\*
--- Iteration 1 --
-int\(0\)
-int\(0\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Iteration 2 --
-int\(0\)
-int\(0\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Iteration 3 --
-int\(0\)
-int\(0\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Iteration 4 --
-int\([1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
--- Iteration 5 --
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-\*\*\* Done \*\*\*
}
echo "*** Done ***\n";
?>
---EXPECTF--
-*** Test strncasecmp() function: with different lengths ***
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Test strncasecmp() function: with different lengths ***
int(0)
int(0)
-- Iteration 31 --
int(0)
*** Done ***
---UEXPECTF--
-*** Testing strncasecmp() function: with unexpected values for 'str1' and 'str2' ***
--- Iteration 1 --
-int(0)
--- Iteration 2 --
-int(0)
--- Iteration 3 --
-int(0)
--- Iteration 4 --
-int(0)
--- Iteration 5 --
-int(0)
--- Iteration 6 --
-int(0)
--- Iteration 7 --
-int(0)
--- Iteration 8 --
-int(0)
--- Iteration 9 --
-int(0)
--- Iteration 10 --
-int(0)
--- Iteration 11 --
-int(0)
--- Iteration 12 --
-int(0)
--- Iteration 13 --
-int(0)
--- Iteration 14 --
-int(0)
--- Iteration 15 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 16 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 17 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 18 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 19 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 20 --
-int(0)
--- Iteration 21 --
-int(0)
--- Iteration 22 --
-int(0)
--- Iteration 23 --
-int(0)
--- Iteration 24 --
-int(0)
--- Iteration 25 --
-int(0)
--- Iteration 26 --
-int(0)
--- Iteration 27 --
-int(0)
--- Iteration 28 --
-int(0)
--- Iteration 29 --
-int(0)
--- Iteration 30 --
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
--- Iteration 31 --
-int(0)
-*** Done ***
int(0)
-- Iteration 19 --
-Warning: strncasecmp() expects parameter 3 to be long, string given in %s on line %d
-NULL
--- Iteration 20 --
-
-Warning: strncasecmp() expects parameter 3 to be long, string given in %s on line %d
-NULL
--- Iteration 21 --
-int(0)
--- Iteration 22 --
-int(0)
--- Iteration 23 --
-
-Warning: strncasecmp() expects parameter 3 to be long, resource given in %s on line %d
-NULL
--- Iteration 24 --
-
-Warning: strncasecmp() expects parameter 3 to be long, object given in %s on line %d
-NULL
-*** Done ***
---UEXPECTF--
-*** Test strncasecmp() function: unexpected values for 'len' ***
--- Iteration 1 --
-int(0)
--- Iteration 2 --
-int(0)
--- Iteration 3 --
-int(0)
--- Iteration 4 --
-int(0)
--- Iteration 5 --
-int(0)
--- Iteration 6 --
-int(0)
--- Iteration 7 --
-int(0)
--- Iteration 8 --
-
-Warning: strncasecmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: strncasecmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: strncasecmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: strncasecmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: strncasecmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 13 --
-int(0)
--- Iteration 14 --
-int(0)
--- Iteration 15 --
-int(0)
--- Iteration 16 --
-int(0)
--- Iteration 17 --
-int(0)
--- Iteration 18 --
-int(0)
--- Iteration 19 --
-
Warning: strncasecmp() expects parameter 3 to be long, Unicode string given in %s on line %d
NULL
-- Iteration 20 --
echo "\n*** Done ***\n";
?>
---EXPECTF--
-*** Test strncasecmp() function: with binary inputs ***
-
--- Checking with all 256 characters given, in binary format --
--- Iteration 1 --
-int(0)
-int(0)
--- Iteration 2 --
-int(0)
-int(0)
--- Iteration 3 --
-int(0)
-int(0)
--- Iteration 4 --
-int(0)
-int(0)
--- Iteration 5 --
-int(0)
-int(0)
--- Iteration 6 --
-int(0)
-int(0)
--- Iteration 7 --
-int(0)
-int(0)
--- Iteration 8 --
-int(0)
-int(0)
--- Iteration 9 --
-int(0)
-int(0)
--- Iteration 10 --
-int(0)
-int(0)
--- Iteration 11 --
-int(0)
-int(0)
--- Iteration 12 --
-int(0)
-int(0)
--- Iteration 13 --
-int(0)
-int(0)
--- Iteration 14 --
-int(0)
-int(0)
--- Iteration 15 --
-int(0)
-int(0)
--- Iteration 16 --
-int(0)
-int(0)
--- Iteration 17 --
-int(0)
-int(0)
--- Iteration 18 --
-int(0)
-int(0)
--- Iteration 19 --
-int(0)
-int(0)
--- Iteration 20 --
-int(0)
-int(0)
--- Iteration 21 --
-int(0)
-int(0)
--- Iteration 22 --
-int(0)
-int(0)
--- Iteration 23 --
-int(0)
-int(0)
--- Iteration 24 --
-int(0)
-int(0)
--- Iteration 25 --
-int(0)
-int(0)
--- Iteration 26 --
-int(0)
-int(0)
--- Iteration 27 --
-int(0)
-int(0)
--- Iteration 28 --
-int(0)
-int(0)
--- Iteration 29 --
-int(0)
-int(0)
--- Iteration 30 --
-int(0)
-int(0)
--- Iteration 31 --
-int(0)
-int(0)
--- Iteration 32 --
-int(0)
-int(0)
--- Iteration 33 --
-int(0)
-int(0)
--- Iteration 34 --
-int(0)
-int(0)
--- Iteration 35 --
-int(0)
-int(0)
--- Iteration 36 --
-int(0)
-int(0)
--- Iteration 37 --
-int(0)
-int(0)
--- Iteration 38 --
-int(0)
-int(0)
--- Iteration 39 --
-int(0)
-int(0)
--- Iteration 40 --
-int(0)
-int(0)
--- Iteration 41 --
-int(0)
-int(0)
--- Iteration 42 --
-int(0)
-int(0)
--- Iteration 43 --
-int(0)
-int(0)
--- Iteration 44 --
-int(0)
-int(0)
--- Iteration 45 --
-int(0)
-int(0)
--- Iteration 46 --
-int(0)
-int(0)
--- Iteration 47 --
-int(0)
-int(0)
--- Iteration 48 --
-int(0)
-int(0)
--- Iteration 49 --
-int(0)
-int(0)
--- Iteration 50 --
-int(0)
-int(0)
--- Iteration 51 --
-int(0)
-int(0)
--- Iteration 52 --
-int(0)
-int(0)
--- Iteration 53 --
-int(0)
-int(0)
--- Iteration 54 --
-int(0)
-int(0)
--- Iteration 55 --
-int(0)
-int(0)
--- Iteration 56 --
-int(0)
-int(0)
--- Iteration 57 --
-int(0)
-int(0)
--- Iteration 58 --
-int(0)
-int(0)
--- Iteration 59 --
-int(0)
-int(0)
--- Iteration 60 --
-int(0)
-int(0)
--- Iteration 61 --
-int(0)
-int(0)
--- Iteration 62 --
-int(0)
-int(0)
--- Iteration 63 --
-int(0)
-int(0)
--- Iteration 64 --
-int(0)
-int(0)
--- Iteration 65 --
-int(0)
-int(0)
--- Iteration 66 --
-int(0)
-int(0)
--- Iteration 67 --
-int(0)
-int(0)
--- Iteration 68 --
-int(0)
-int(0)
--- Iteration 69 --
-int(0)
-int(0)
--- Iteration 70 --
-int(0)
-int(0)
--- Iteration 71 --
-int(0)
-int(0)
--- Iteration 72 --
-int(0)
-int(0)
--- Iteration 73 --
-int(0)
-int(0)
--- Iteration 74 --
-int(0)
-int(0)
--- Iteration 75 --
-int(0)
-int(0)
--- Iteration 76 --
-int(0)
-int(0)
--- Iteration 77 --
-int(0)
-int(0)
--- Iteration 78 --
-int(0)
-int(0)
--- Iteration 79 --
-int(0)
-int(0)
--- Iteration 80 --
-int(0)
-int(0)
--- Iteration 81 --
-int(0)
-int(0)
--- Iteration 82 --
-int(0)
-int(0)
--- Iteration 83 --
-int(0)
-int(0)
--- Iteration 84 --
-int(0)
-int(0)
--- Iteration 85 --
-int(0)
-int(0)
--- Iteration 86 --
-int(0)
-int(0)
--- Iteration 87 --
-int(0)
-int(0)
--- Iteration 88 --
-int(0)
-int(0)
--- Iteration 89 --
-int(0)
-int(0)
--- Iteration 90 --
-int(0)
-int(0)
--- Iteration 91 --
-int(0)
-int(0)
--- Iteration 92 --
-int(0)
-int(0)
--- Iteration 93 --
-int(0)
-int(0)
--- Iteration 94 --
-int(0)
-int(0)
--- Iteration 95 --
-int(0)
-int(0)
--- Iteration 96 --
-int(0)
-int(0)
--- Iteration 97 --
-int(0)
-int(0)
--- Iteration 98 --
-int(0)
-int(0)
--- Iteration 99 --
-int(0)
-int(0)
--- Iteration 100 --
-int(0)
-int(0)
--- Iteration 101 --
-int(0)
-int(0)
--- Iteration 102 --
-int(0)
-int(0)
--- Iteration 103 --
-int(0)
-int(0)
--- Iteration 104 --
-int(0)
-int(0)
--- Iteration 105 --
-int(0)
-int(0)
--- Iteration 106 --
-int(0)
-int(0)
--- Iteration 107 --
-int(0)
-int(0)
--- Iteration 108 --
-int(0)
-int(0)
--- Iteration 109 --
-int(0)
-int(0)
--- Iteration 110 --
-int(0)
-int(0)
--- Iteration 111 --
-int(0)
-int(0)
--- Iteration 112 --
-int(0)
-int(0)
--- Iteration 113 --
-int(0)
-int(0)
--- Iteration 114 --
-int(0)
-int(0)
--- Iteration 115 --
-int(0)
-int(0)
--- Iteration 116 --
-int(0)
-int(0)
--- Iteration 117 --
-int(0)
-int(0)
--- Iteration 118 --
-int(0)
-int(0)
--- Iteration 119 --
-int(0)
-int(0)
--- Iteration 120 --
-int(0)
-int(0)
--- Iteration 121 --
-int(0)
-int(0)
--- Iteration 122 --
-int(0)
-int(0)
--- Iteration 123 --
-int(0)
-int(0)
--- Iteration 124 --
-int(0)
-int(0)
--- Iteration 125 --
-int(0)
-int(0)
--- Iteration 126 --
-int(0)
-int(0)
--- Iteration 127 --
-int(0)
-int(0)
--- Iteration 128 --
-int(0)
-int(0)
--- Iteration 129 --
-int(0)
-int(0)
--- Iteration 130 --
-int(0)
-int(0)
--- Iteration 131 --
-int(0)
-int(0)
--- Iteration 132 --
-int(0)
-int(0)
--- Iteration 133 --
-int(0)
-int(0)
--- Iteration 134 --
-int(0)
-int(0)
--- Iteration 135 --
-int(0)
-int(0)
--- Iteration 136 --
-int(0)
-int(0)
--- Iteration 137 --
-int(0)
-int(0)
--- Iteration 138 --
-int(0)
-int(0)
--- Iteration 139 --
-int(0)
-int(0)
--- Iteration 140 --
-int(0)
-int(0)
--- Iteration 141 --
-int(0)
-int(0)
--- Iteration 142 --
-int(0)
-int(0)
--- Iteration 143 --
-int(0)
-int(0)
--- Iteration 144 --
-int(0)
-int(0)
--- Iteration 145 --
-int(0)
-int(0)
--- Iteration 146 --
-int(0)
-int(0)
--- Iteration 147 --
-int(0)
-int(0)
--- Iteration 148 --
-int(0)
-int(0)
--- Iteration 149 --
-int(0)
-int(0)
--- Iteration 150 --
-int(0)
-int(0)
--- Iteration 151 --
-int(0)
-int(0)
--- Iteration 152 --
-int(0)
-int(0)
--- Iteration 153 --
-int(0)
-int(0)
--- Iteration 154 --
-int(0)
-int(0)
--- Iteration 155 --
-int(0)
-int(0)
--- Iteration 156 --
-int(0)
-int(0)
--- Iteration 157 --
-int(0)
-int(0)
--- Iteration 158 --
-int(0)
-int(0)
--- Iteration 159 --
-int(0)
-int(0)
--- Iteration 160 --
-int(0)
-int(0)
--- Iteration 161 --
-int(0)
-int(0)
--- Iteration 162 --
-int(0)
-int(0)
--- Iteration 163 --
-int(0)
-int(0)
--- Iteration 164 --
-int(0)
-int(0)
--- Iteration 165 --
-int(0)
-int(0)
--- Iteration 166 --
-int(0)
-int(0)
--- Iteration 167 --
-int(0)
-int(0)
--- Iteration 168 --
-int(0)
-int(0)
--- Iteration 169 --
-int(0)
-int(0)
--- Iteration 170 --
-int(0)
-int(0)
--- Iteration 171 --
-int(0)
-int(0)
--- Iteration 172 --
-int(0)
-int(0)
--- Iteration 173 --
-int(0)
-int(0)
--- Iteration 174 --
-int(0)
-int(0)
--- Iteration 175 --
-int(0)
-int(0)
--- Iteration 176 --
-int(0)
-int(0)
--- Iteration 177 --
-int(0)
-int(0)
--- Iteration 178 --
-int(0)
-int(0)
--- Iteration 179 --
-int(0)
-int(0)
--- Iteration 180 --
-int(0)
-int(0)
--- Iteration 181 --
-int(0)
-int(0)
--- Iteration 182 --
-int(0)
-int(0)
--- Iteration 183 --
-int(0)
-int(0)
--- Iteration 184 --
-int(0)
-int(0)
--- Iteration 185 --
-int(0)
-int(0)
--- Iteration 186 --
-int(0)
-int(0)
--- Iteration 187 --
-int(0)
-int(0)
--- Iteration 188 --
-int(0)
-int(0)
--- Iteration 189 --
-int(0)
-int(0)
--- Iteration 190 --
-int(0)
-int(0)
--- Iteration 191 --
-int(0)
-int(0)
--- Iteration 192 --
-int(0)
-int(0)
--- Iteration 193 --
-int(0)
-int(0)
--- Iteration 194 --
-int(0)
-int(0)
--- Iteration 195 --
-int(0)
-int(0)
--- Iteration 196 --
-int(0)
-int(0)
--- Iteration 197 --
-int(0)
-int(0)
--- Iteration 198 --
-int(0)
-int(0)
--- Iteration 199 --
-int(0)
-int(0)
--- Iteration 200 --
-int(0)
-int(0)
--- Iteration 201 --
-int(0)
-int(0)
--- Iteration 202 --
-int(0)
-int(0)
--- Iteration 203 --
-int(0)
-int(0)
--- Iteration 204 --
-int(0)
-int(0)
--- Iteration 205 --
-int(0)
-int(0)
--- Iteration 206 --
-int(0)
-int(0)
--- Iteration 207 --
-int(0)
-int(0)
--- Iteration 208 --
-int(0)
-int(0)
--- Iteration 209 --
-int(0)
-int(0)
--- Iteration 210 --
-int(0)
-int(0)
--- Iteration 211 --
-int(0)
-int(0)
--- Iteration 212 --
-int(0)
-int(0)
--- Iteration 213 --
-int(0)
-int(0)
--- Iteration 214 --
-int(0)
-int(0)
--- Iteration 215 --
-int(0)
-int(0)
--- Iteration 216 --
-int(0)
-int(0)
--- Iteration 217 --
-int(0)
-int(0)
--- Iteration 218 --
-int(0)
-int(0)
--- Iteration 219 --
-int(0)
-int(0)
--- Iteration 220 --
-int(0)
-int(0)
--- Iteration 221 --
-int(0)
-int(0)
--- Iteration 222 --
-int(0)
-int(0)
--- Iteration 223 --
-int(0)
-int(0)
--- Iteration 224 --
-int(0)
-int(0)
--- Iteration 225 --
-int(0)
-int(0)
--- Iteration 226 --
-int(0)
-int(0)
--- Iteration 227 --
-int(0)
-int(0)
--- Iteration 228 --
-int(0)
-int(0)
--- Iteration 229 --
-int(0)
-int(0)
--- Iteration 230 --
-int(0)
-int(0)
--- Iteration 231 --
-int(0)
-int(0)
--- Iteration 232 --
-int(0)
-int(0)
--- Iteration 233 --
-int(0)
-int(0)
--- Iteration 234 --
-int(0)
-int(0)
--- Iteration 235 --
-int(0)
-int(0)
--- Iteration 236 --
-int(0)
-int(0)
--- Iteration 237 --
-int(0)
-int(0)
--- Iteration 238 --
-int(0)
-int(0)
--- Iteration 239 --
-int(0)
-int(0)
--- Iteration 240 --
-int(0)
-int(0)
--- Iteration 241 --
-int(0)
-int(0)
--- Iteration 242 --
-int(0)
-int(0)
--- Iteration 243 --
-int(0)
-int(0)
--- Iteration 244 --
-int(0)
-int(0)
--- Iteration 245 --
-int(0)
-int(0)
--- Iteration 246 --
-int(0)
-int(0)
--- Iteration 247 --
-int(0)
-int(0)
--- Iteration 248 --
-int(0)
-int(0)
--- Iteration 249 --
-int(0)
-int(0)
--- Iteration 250 --
-int(0)
-int(0)
--- Iteration 251 --
-int(0)
-int(0)
--- Iteration 252 --
-int(0)
-int(0)
--- Iteration 253 --
-int(0)
-int(0)
--- Iteration 254 --
-int(0)
-int(0)
--- Iteration 255 --
-int(0)
-int(0)
--- Iteration 256 --
-int(0)
-int(0)
-
--- Checking with out of character's range, given in binary format --
-int(1)
-
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Test strncasecmp() function: with binary inputs ***
-- Checking with all 256 characters given, in binary format --
echo "*** Done ***\n";
?>
---EXPECTF--
-*** Test strncasecmp() function: with null terminated strings and binary inputs ***
-int(5)
-int(0)
-int(-119)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Test strncasecmp() function: with null terminated strings and binary inputs ***
int(1)
int(0)
int\([1-9][0-9]*\)
int\(0\)
\*\*\* Done \*\*\*
---UEXPECTREGEX--
-\*\*\* Test strncasecmp\(\) function: with single quoted strings \*\*\*
--- Iteration 1 --
-int\(0\)
-int\(0\)
-int\(0\)
-int\(-[1-9][0-9]*\)
--- Iteration 2 --
-int\(0\)
-int\(0\)
-int\(0\)
-int\(-[1-9][0-9]*\)
--- Iteration 3 --
-int\(0\)
-int\(0\)
-int\(0\)
-int\(-[1-9][0-9]*\)
--- Iteration 4 --
-int\([1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\(0\)
-\*\*\* Done \*\*\*
}
echo "*** Done ***\n";
?>
---EXPECTF--
-*** Test strncasecmp() function: with here-doc strings ***
-int(0)
-int(63)
-int(0)
-int(84)
-int(0)
-int(-1)
-int(0)
-int(0)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Test strncasecmp() function: with here-doc strings ***
int(0)
int(1)
int\(-[1-9][0-9]*\)
int\([1-9][0-9]*\)
\*\*\* Done \*\*\*
---UEXPECTREGEX--
-\*\*\* Testing strncmp\(\) function: basic functionality \*\*\*
--- Testing strncmp\(\) with single quoted string --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Testing strncmp\(\) with double quoted string --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Testing strncmp\(\) with here-doc string --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
-\*\*\* Done \*\*\*
Warning: Length must be greater than or equal to 0 in %s on line %d
bool(false)
*** Done ***
---UEXPECTF--
-*** Testing strncmp() function: error conditions ***
-
-Warning: strncmp() expects exactly 3 parameters, 0 given in %s on line %d
-NULL
-
-Warning: strncmp() expects exactly 3 parameters, 1 given in %s on line %d
-NULL
-
-Warning: strncmp() expects exactly 3 parameters, 2 given in %s on line %d
-NULL
-
-Warning: strncmp() expects exactly 3 parameters, 4 given in %s on line %d
-NULL
-
-Warning: Length must be greater than or equal to 0 in %s on line %d
-bool(false)
-*** Done ***
int\(0\)
int\([1-9][0-9]*\)
\*\*\* Done \*\*\*
---UEXPECTREGEX--
-\*\*\* Test strncmp\(\) function: with alphabets \*\*\*
--- Passing upper-case letters for 'str1' --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-
--- Passing lower-case letters for 'str1' --
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-\*\*\* Done \*\*\*
int\(-[1-9][0-9]*\)
int\(0\)
\*\*\* Done \*\*\*
---UEXPECTREGEX--
-\*\*\* Test strncmp\(\) function: with double quoted strings \*\*\*
--- Iteration [1-9][0-9]* --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Iteration 2 --
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Iteration 3 --
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
--- Iteration 4 --
-int\([1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
--- Iteration 5 --
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-\*\*\* Done \*\*\*
int\(0\)
int\(0\)
\*\*\* Done \*\*\*
---UEXPECTREGEX--
-\*\*\* Test strncmp\(\) function: with different lengths \*\*\*
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(0\)
-int\(0\)
-int\(0\)
-int\(0\)
-int\(0\)
-int\(0\)
-int\(0\)
-\*\*\* Done \*\*\*
-- Iteration 31 --
int(0)
*** Done ***
---UEXPECTF--
-*** Testing strncmp() function: by supplying all types for 'str1' and 'str2' ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
--- Iteration 1 --
-int(0)
--- Iteration 2 --
-int(0)
--- Iteration 3 --
-int(0)
--- Iteration 4 --
-int(0)
--- Iteration 5 --
-int(0)
--- Iteration 6 --
-int(0)
--- Iteration 7 --
-int(0)
--- Iteration 8 --
-int(0)
--- Iteration 9 --
-int(0)
--- Iteration 10 --
-int(0)
--- Iteration 11 --
-int(0)
--- Iteration 12 --
-int(0)
--- Iteration 13 --
-int(0)
--- Iteration 14 --
-int(0)
--- Iteration 15 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 16 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 17 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 18 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 19 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 20 --
-int(0)
--- Iteration 21 --
-int(0)
--- Iteration 22 --
-int(0)
--- Iteration 23 --
-int(0)
--- Iteration 24 --
-int(0)
--- Iteration 25 --
-int(0)
--- Iteration 26 --
-int(0)
--- Iteration 27 --
-int(0)
--- Iteration 28 --
-int(0)
--- Iteration 29 --
-int(0)
--- Iteration 30 --
-
-Warning: strncmp() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
--- Iteration 31 --
-int(0)
-*** Done ***
int(0)
-- Iteration 22 --
-Warning: strncmp() expects parameter 3 to be long, string given in %s on line %d
-NULL
--- Iteration 23 --
-
-Warning: strncmp() expects parameter 3 to be long, string given in %s on line %d
-NULL
--- Iteration 24 --
-int(0)
--- Iteration 25 --
-int(0)
--- Iteration 26 --
-
-Warning: strncmp() expects parameter 3 to be long, resource given in %s on line %d
-NULL
--- Iteration 27 --
-
-Warning: strncmp() expects parameter 3 to be long, object given in %s on line %d
-NULL
-*** Done ***
---UEXPECTF--
-*** Test strncmp() function: by supplying all types for 'len' ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
--- Iteration 1 --
-int(0)
--- Iteration 2 --
-int(0)
--- Iteration 3 --
-int(0)
--- Iteration 4 --
-int(0)
--- Iteration 5 --
-int(0)
--- Iteration 6 --
-int(0)
--- Iteration 7 --
-int(0)
--- Iteration 8 --
-int(0)
--- Iteration 9 --
-int(0)
--- Iteration 10 --
-int(0)
--- Iteration 11 --
-
-Warning: strncmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: strncmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: strncmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: strncmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 15 --
-
-Warning: strncmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 16 --
-int(0)
--- Iteration 17 --
-int(0)
--- Iteration 18 --
-int(0)
--- Iteration 19 --
-int(0)
--- Iteration 20 --
-int(0)
--- Iteration 21 --
-int(0)
--- Iteration 22 --
-
Warning: strncmp() expects parameter 3 to be long, Unicode string given in %s on line %d
NULL
-- Iteration 23 --
int(1)
*** Done ***
---UEXPECTF--
-*** Test strncmp() function: with binary inputs ***
-
--- Checking with all 256 characters given, in binary format --
--- Iteration 1 --
-int(0)
-int(0)
--- Iteration 2 --
-int(0)
-int(0)
--- Iteration 3 --
-int(0)
-int(0)
--- Iteration 4 --
-int(0)
-int(0)
--- Iteration 5 --
-int(0)
-int(0)
--- Iteration 6 --
-int(0)
-int(0)
--- Iteration 7 --
-int(0)
-int(0)
--- Iteration 8 --
-int(0)
-int(0)
--- Iteration 9 --
-int(0)
-int(0)
--- Iteration 10 --
-int(0)
-int(0)
--- Iteration 11 --
-int(0)
-int(0)
--- Iteration 12 --
-int(0)
-int(0)
--- Iteration 13 --
-int(0)
-int(0)
--- Iteration 14 --
-int(0)
-int(0)
--- Iteration 15 --
-int(0)
-int(0)
--- Iteration 16 --
-int(0)
-int(0)
--- Iteration 17 --
-int(0)
-int(0)
--- Iteration 18 --
-int(0)
-int(0)
--- Iteration 19 --
-int(0)
-int(0)
--- Iteration 20 --
-int(0)
-int(0)
--- Iteration 21 --
-int(0)
-int(0)
--- Iteration 22 --
-int(0)
-int(0)
--- Iteration 23 --
-int(0)
-int(0)
--- Iteration 24 --
-int(0)
-int(0)
--- Iteration 25 --
-int(0)
-int(0)
--- Iteration 26 --
-int(0)
-int(0)
--- Iteration 27 --
-int(0)
-int(0)
--- Iteration 28 --
-int(0)
-int(0)
--- Iteration 29 --
-int(0)
-int(0)
--- Iteration 30 --
-int(0)
-int(0)
--- Iteration 31 --
-int(0)
-int(0)
--- Iteration 32 --
-int(0)
-int(0)
--- Iteration 33 --
-int(0)
-int(0)
--- Iteration 34 --
-int(0)
-int(0)
--- Iteration 35 --
-int(0)
-int(0)
--- Iteration 36 --
-int(0)
-int(0)
--- Iteration 37 --
-int(0)
-int(0)
--- Iteration 38 --
-int(0)
-int(0)
--- Iteration 39 --
-int(0)
-int(0)
--- Iteration 40 --
-int(0)
-int(0)
--- Iteration 41 --
-int(0)
-int(0)
--- Iteration 42 --
-int(0)
-int(0)
--- Iteration 43 --
-int(0)
-int(0)
--- Iteration 44 --
-int(0)
-int(0)
--- Iteration 45 --
-int(0)
-int(0)
--- Iteration 46 --
-int(0)
-int(0)
--- Iteration 47 --
-int(0)
-int(0)
--- Iteration 48 --
-int(0)
-int(0)
--- Iteration 49 --
-int(0)
-int(0)
--- Iteration 50 --
-int(0)
-int(0)
--- Iteration 51 --
-int(0)
-int(0)
--- Iteration 52 --
-int(0)
-int(0)
--- Iteration 53 --
-int(0)
-int(0)
--- Iteration 54 --
-int(0)
-int(0)
--- Iteration 55 --
-int(0)
-int(0)
--- Iteration 56 --
-int(0)
-int(0)
--- Iteration 57 --
-int(0)
-int(0)
--- Iteration 58 --
-int(0)
-int(0)
--- Iteration 59 --
-int(0)
-int(0)
--- Iteration 60 --
-int(0)
-int(0)
--- Iteration 61 --
-int(0)
-int(0)
--- Iteration 62 --
-int(0)
-int(0)
--- Iteration 63 --
-int(0)
-int(0)
--- Iteration 64 --
-int(0)
-int(0)
--- Iteration 65 --
-int(0)
-int(0)
--- Iteration 66 --
-int(0)
-int(0)
--- Iteration 67 --
-int(0)
-int(0)
--- Iteration 68 --
-int(0)
-int(0)
--- Iteration 69 --
-int(0)
-int(0)
--- Iteration 70 --
-int(0)
-int(0)
--- Iteration 71 --
-int(0)
-int(0)
--- Iteration 72 --
-int(0)
-int(0)
--- Iteration 73 --
-int(0)
-int(0)
--- Iteration 74 --
-int(0)
-int(0)
--- Iteration 75 --
-int(0)
-int(0)
--- Iteration 76 --
-int(0)
-int(0)
--- Iteration 77 --
-int(0)
-int(0)
--- Iteration 78 --
-int(0)
-int(0)
--- Iteration 79 --
-int(0)
-int(0)
--- Iteration 80 --
-int(0)
-int(0)
--- Iteration 81 --
-int(0)
-int(0)
--- Iteration 82 --
-int(0)
-int(0)
--- Iteration 83 --
-int(0)
-int(0)
--- Iteration 84 --
-int(0)
-int(0)
--- Iteration 85 --
-int(0)
-int(0)
--- Iteration 86 --
-int(0)
-int(0)
--- Iteration 87 --
-int(0)
-int(0)
--- Iteration 88 --
-int(0)
-int(0)
--- Iteration 89 --
-int(0)
-int(0)
--- Iteration 90 --
-int(0)
-int(0)
--- Iteration 91 --
-int(0)
-int(0)
--- Iteration 92 --
-int(0)
-int(0)
--- Iteration 93 --
-int(0)
-int(0)
--- Iteration 94 --
-int(0)
-int(0)
--- Iteration 95 --
-int(0)
-int(0)
--- Iteration 96 --
-int(0)
-int(0)
--- Iteration 97 --
-int(0)
-int(0)
--- Iteration 98 --
-int(0)
-int(0)
--- Iteration 99 --
-int(0)
-int(0)
--- Iteration 100 --
-int(0)
-int(0)
--- Iteration 101 --
-int(0)
-int(0)
--- Iteration 102 --
-int(0)
-int(0)
--- Iteration 103 --
-int(0)
-int(0)
--- Iteration 104 --
-int(0)
-int(0)
--- Iteration 105 --
-int(0)
-int(0)
--- Iteration 106 --
-int(0)
-int(0)
--- Iteration 107 --
-int(0)
-int(0)
--- Iteration 108 --
-int(0)
-int(0)
--- Iteration 109 --
-int(0)
-int(0)
--- Iteration 110 --
-int(0)
-int(0)
--- Iteration 111 --
-int(0)
-int(0)
--- Iteration 112 --
-int(0)
-int(0)
--- Iteration 113 --
-int(0)
-int(0)
--- Iteration 114 --
-int(0)
-int(0)
--- Iteration 115 --
-int(0)
-int(0)
--- Iteration 116 --
-int(0)
-int(0)
--- Iteration 117 --
-int(0)
-int(0)
--- Iteration 118 --
-int(0)
-int(0)
--- Iteration 119 --
-int(0)
-int(0)
--- Iteration 120 --
-int(0)
-int(0)
--- Iteration 121 --
-int(0)
-int(0)
--- Iteration 122 --
-int(0)
-int(0)
--- Iteration 123 --
-int(0)
-int(0)
--- Iteration 124 --
-int(0)
-int(0)
--- Iteration 125 --
-int(0)
-int(0)
--- Iteration 126 --
-int(0)
-int(0)
--- Iteration 127 --
-int(0)
-int(0)
--- Iteration 128 --
-int(0)
-int(0)
--- Iteration 129 --
-int(0)
-int(0)
--- Iteration 130 --
-int(0)
-int(0)
--- Iteration 131 --
-int(0)
-int(0)
--- Iteration 132 --
-int(0)
-int(0)
--- Iteration 133 --
-int(0)
-int(0)
--- Iteration 134 --
-int(0)
-int(0)
--- Iteration 135 --
-int(0)
-int(0)
--- Iteration 136 --
-int(0)
-int(0)
--- Iteration 137 --
-int(0)
-int(0)
--- Iteration 138 --
-int(0)
-int(0)
--- Iteration 139 --
-int(0)
-int(0)
--- Iteration 140 --
-int(0)
-int(0)
--- Iteration 141 --
-int(0)
-int(0)
--- Iteration 142 --
-int(0)
-int(0)
--- Iteration 143 --
-int(0)
-int(0)
--- Iteration 144 --
-int(0)
-int(0)
--- Iteration 145 --
-int(0)
-int(0)
--- Iteration 146 --
-int(0)
-int(0)
--- Iteration 147 --
-int(0)
-int(0)
--- Iteration 148 --
-int(0)
-int(0)
--- Iteration 149 --
-int(0)
-int(0)
--- Iteration 150 --
-int(0)
-int(0)
--- Iteration 151 --
-int(0)
-int(0)
--- Iteration 152 --
-int(0)
-int(0)
--- Iteration 153 --
-int(0)
-int(0)
--- Iteration 154 --
-int(0)
-int(0)
--- Iteration 155 --
-int(0)
-int(0)
--- Iteration 156 --
-int(0)
-int(0)
--- Iteration 157 --
-int(0)
-int(0)
--- Iteration 158 --
-int(0)
-int(0)
--- Iteration 159 --
-int(0)
-int(0)
--- Iteration 160 --
-int(0)
-int(0)
--- Iteration 161 --
-int(0)
-int(0)
--- Iteration 162 --
-int(0)
-int(0)
--- Iteration 163 --
-int(0)
-int(0)
--- Iteration 164 --
-int(0)
-int(0)
--- Iteration 165 --
-int(0)
-int(0)
--- Iteration 166 --
-int(0)
-int(0)
--- Iteration 167 --
-int(0)
-int(0)
--- Iteration 168 --
-int(0)
-int(0)
--- Iteration 169 --
-int(0)
-int(0)
--- Iteration 170 --
-int(0)
-int(0)
--- Iteration 171 --
-int(0)
-int(0)
--- Iteration 172 --
-int(0)
-int(0)
--- Iteration 173 --
-int(0)
-int(0)
--- Iteration 174 --
-int(0)
-int(0)
--- Iteration 175 --
-int(0)
-int(0)
--- Iteration 176 --
-int(0)
-int(0)
--- Iteration 177 --
-int(0)
-int(0)
--- Iteration 178 --
-int(0)
-int(0)
--- Iteration 179 --
-int(0)
-int(0)
--- Iteration 180 --
-int(0)
-int(0)
--- Iteration 181 --
-int(0)
-int(0)
--- Iteration 182 --
-int(0)
-int(0)
--- Iteration 183 --
-int(0)
-int(0)
--- Iteration 184 --
-int(0)
-int(0)
--- Iteration 185 --
-int(0)
-int(0)
--- Iteration 186 --
-int(0)
-int(0)
--- Iteration 187 --
-int(0)
-int(0)
--- Iteration 188 --
-int(0)
-int(0)
--- Iteration 189 --
-int(0)
-int(0)
--- Iteration 190 --
-int(0)
-int(0)
--- Iteration 191 --
-int(0)
-int(0)
--- Iteration 192 --
-int(0)
-int(0)
--- Iteration 193 --
-int(0)
-int(0)
--- Iteration 194 --
-int(0)
-int(0)
--- Iteration 195 --
-int(0)
-int(0)
--- Iteration 196 --
-int(0)
-int(0)
--- Iteration 197 --
-int(0)
-int(0)
--- Iteration 198 --
-int(0)
-int(0)
--- Iteration 199 --
-int(0)
-int(0)
--- Iteration 200 --
-int(0)
-int(0)
--- Iteration 201 --
-int(0)
-int(0)
--- Iteration 202 --
-int(0)
-int(0)
--- Iteration 203 --
-int(0)
-int(0)
--- Iteration 204 --
-int(0)
-int(0)
--- Iteration 205 --
-int(0)
-int(0)
--- Iteration 206 --
-int(0)
-int(0)
--- Iteration 207 --
-int(0)
-int(0)
--- Iteration 208 --
-int(0)
-int(0)
--- Iteration 209 --
-int(0)
-int(0)
--- Iteration 210 --
-int(0)
-int(0)
--- Iteration 211 --
-int(0)
-int(0)
--- Iteration 212 --
-int(0)
-int(0)
--- Iteration 213 --
-int(0)
-int(0)
--- Iteration 214 --
-int(0)
-int(0)
--- Iteration 215 --
-int(0)
-int(0)
--- Iteration 216 --
-int(0)
-int(0)
--- Iteration 217 --
-int(0)
-int(0)
--- Iteration 218 --
-int(0)
-int(0)
--- Iteration 219 --
-int(0)
-int(0)
--- Iteration 220 --
-int(0)
-int(0)
--- Iteration 221 --
-int(0)
-int(0)
--- Iteration 222 --
-int(0)
-int(0)
--- Iteration 223 --
-int(0)
-int(0)
--- Iteration 224 --
-int(0)
-int(0)
--- Iteration 225 --
-int(0)
-int(0)
--- Iteration 226 --
-int(0)
-int(0)
--- Iteration 227 --
-int(0)
-int(0)
--- Iteration 228 --
-int(0)
-int(0)
--- Iteration 229 --
-int(0)
-int(0)
--- Iteration 230 --
-int(0)
-int(0)
--- Iteration 231 --
-int(0)
-int(0)
--- Iteration 232 --
-int(0)
-int(0)
--- Iteration 233 --
-int(0)
-int(0)
--- Iteration 234 --
-int(0)
-int(0)
--- Iteration 235 --
-int(0)
-int(0)
--- Iteration 236 --
-int(0)
-int(0)
--- Iteration 237 --
-int(0)
-int(0)
--- Iteration 238 --
-int(0)
-int(0)
--- Iteration 239 --
-int(0)
-int(0)
--- Iteration 240 --
-int(0)
-int(0)
--- Iteration 241 --
-int(0)
-int(0)
--- Iteration 242 --
-int(0)
-int(0)
--- Iteration 243 --
-int(0)
-int(0)
--- Iteration 244 --
-int(0)
-int(0)
--- Iteration 245 --
-int(0)
-int(0)
--- Iteration 246 --
-int(0)
-int(0)
--- Iteration 247 --
-int(0)
-int(0)
--- Iteration 248 --
-int(0)
-int(0)
--- Iteration 249 --
-int(0)
-int(0)
--- Iteration 250 --
-int(0)
-int(0)
--- Iteration 251 --
-int(0)
-int(0)
--- Iteration 252 --
-int(0)
-int(0)
--- Iteration 253 --
-int(0)
-int(0)
--- Iteration 254 --
-int(0)
-int(0)
--- Iteration 255 --
-int(0)
-int(0)
--- Iteration 256 --
-int(0)
-int(0)
-
--- Checking with out of character's range, given in binary format --
-int(1)
-
-*** Done ***
?>
--EXPECTF--
*** Test strncmp() function: Checking with the null terminated strings ***
-int(5)
-*** Done ***
---UEXPECTF--
-*** Test strncmp() function: Checking with the null terminated strings ***
int(1)
*** Done ***
int\(0\)
int\(-[1-9][0-9]*\)
-- Iteration 4 --
-int\(2\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\(0\)
-\*\*\* Done \*\*\*
---UEXPECTREGEX--
-\*\*\* Test strncmp\(\) function: with different input strings \*\*\*
--- Iteration [1-9][0-9]* --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
--- Iteration 2 --
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Iteration 3 --
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
--- Iteration 4 --
int\([1-9][0-9]*\)
int\(-[1-9][0-9]*\)
int\([1-9][0-9]*\)
}
echo "*** Done ***\n";
?>
---EXPECTF--
-*** Test strncmp() function: with different input strings ***
-int(0)
-int(0)
-int(0)
-int(0)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Test strncmp() function: with different input strings ***
int(0)
int(0)
echo "Done\n";
?>
---EXPECTF--
-bool(false)
-bool(false)
-bool(false)
-string(3) "abc"
-string(5) " test"
-string(5) "tring"
-Done
---UEXPECTF--
+--EXPECT--
bool(false)
bool(false)
bool(false)
var_dump( strrchr("Hello, World", "Zzzz") ); //non-existant needle in haystack
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strrchr() function: basic functionality ***
-string(12) "Hello, World"
-string(12) "Hello, World"
-string(12) "Hello, World"
-string(12) "Hello, World"
-bool(false)
-bool(false)
-string(5) "World"
-string(5) "World"
-string(7) ", World"
-string(7) ", World"
-string(12) "Hello, World"
-string(12) "Hello, World"
-string(4) "orld"
-string(4) "orld"
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strrchr() function: basic functionality ***
unicode(12) "Hello, World"
unicode(12) "Hello, World"
Warning: strrchr() expects exactly 2 parameters, 3 given in %s on line %d
NULL
*** Done ***
---UEXPECTF--
-*** Testing strrchr() function: error conditions ***
-
--- Testing strrchr() function with Zero arguments --
-Warning: strrchr() expects exactly 2 parameters, 0 given in %s on line %d
-NULL
-
--- Testing strrchr() function with less than expected no. of arguments --
-Warning: strrchr() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-
--- Testing strrchr() function with more than expected no. of arguments --
-Warning: strrchr() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-*** Done ***
-- Iteration 3 --
bool(false)
-- Iteration 4 --
-bool(false)
--- Iteration 5 --
-bool(false)
--- Iteration 6 --
-bool(false)
--- Iteration 7 --
-bool(false)
--- Iteration 8 --
-bool(false)
--- Iteration 9 --
-bool(false)
--- Iteration 10 --
-bool(false)
--- Iteration 11 --
-bool(false)
--- Iteration 12 --
-bool(false)
--- Iteration 13 --
-bool(false)
--- Iteration 14 --
-bool(false)
--- Iteration 15 --
-bool(false)
--- Iteration 16 --
-bool(false)
--- Iteration 17 --
-bool(false)
--- Iteration 18 --
-bool(false)
--- Iteration 19 --
-bool(false)
--- Iteration 20 --
-bool(false)
--- Iteration 21 --
-
-Notice: Object of class sample could not be converted to int in %s on line %d%d
-bool(false)
--- Iteration 22 --
-bool(false)
--- Iteration 23 --
-bool(false)
--- Iteration 24 --
-%s
--- Iteration 25 --
-bool(false)
--- Iteration 26 --
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrchr() function with unexpected inputs for needle ***
--- Iteration 1 --
-bool(false)
--- Iteration 2 --
-bool(false)
--- Iteration 3 --
-bool(false)
--- Iteration 4 --
Warning: Needle argument codepoint value out of range (0 - 0x10FFFF) in %s on line %d
bool(false)
-- Iteration 3 --
bool(false)
-- Iteration 4 --
-bool(false)
--- Iteration 5 --
-bool(false)
--- Iteration 6 --
-bool(false)
--- Iteration 7 --
-bool(false)
--- Iteration 8 --
-bool(false)
--- Iteration 9 --
-bool(false)
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 15 --
-bool(false)
--- Iteration 16 --
-bool(false)
--- Iteration 17 --
-bool(false)
--- Iteration 18 --
-bool(false)
--- Iteration 19 --
-
-Notice: Object of class sample could not be converted to int in %s on line %d%d
-bool(false)
--- Iteration 20 --
-bool(false)
--- Iteration 21 --
-bool(false)
--- Iteration 22 --
-bool(false)
--- Iteration 23 --
-bool(false)
--- Iteration 24 --
-%s
--- Iteration 25 --
-bool(false)
--- Iteration 26 --
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrchr() function: with unexpected inputs for haystack and needle ***
--- Iteration 1 --
-bool(false)
--- Iteration 2 --
-bool(false)
--- Iteration 3 --
-bool(false)
--- Iteration 4 --
Warning: Needle argument codepoint value out of range (0 - 0x10FFFF) in %s on line %d
bool(false)
}
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strrchr() function: with various single quoted strings ***
--- Iteration 1 --
-string(22) "lo123456he \x234 \101 "
-
--- Iteration 2 --
-bool(false)
-
--- Iteration 3 --
-string(63) "Hello,\t\n\0\n $&!#%\o,()*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 4 --
-string(14) "he \x234 \101 "
-
--- Iteration 5 --
-string(5) "\101 "
-
--- Iteration 6 --
-string(5) "\101 "
-
--- Iteration 7 --
-string(1) " "
-
--- Iteration 8 --
-string(5) "\101 "
-
--- Iteration 9 --
-string(5) "\101 "
-
--- Iteration 10 --
-bool(false)
-
--- Iteration 11 --
-string(5) "\101 "
-
--- Iteration 12 --
-bool(false)
-
--- Iteration 13 --
-bool(false)
-
--- Iteration 14 --
-bool(false)
-
--- Iteration 15 --
-bool(false)
-
--- Iteration 16 --
-bool(false)
-
--- Iteration 17 --
-string(1) " "
-
--- Iteration 18 --
-string(47) "$&!#%\o,()*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 19 --
-string(1) " "
-
--- Iteration 20 --
-string(46) "&!#%\o,()*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 21 --
-string(45) "!#%\o,()*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 22 --
-string(43) "%\o,()*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 23 --
-string(5) "\101 "
-
--- Iteration 24 --
-string(39) "()*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 25 --
-string(37) "*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 26 --
-string(36) "+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 27 --
-string(35) "-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 28 --
-string(34) "./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 29 --
-string(34) "./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 30 --
-string(32) ":;<=>?@hello123456he \x234 \101 "
-
--- Iteration 31 --
-string(31) ";<=>?@hello123456he \x234 \101 "
-
--- Iteration 32 --
-string(30) "<=>?@hello123456he \x234 \101 "
-
--- Iteration 33 --
-string(28) ">?@hello123456he \x234 \101 "
-
--- Iteration 34 --
-string(29) "=>?@hello123456he \x234 \101 "
-
--- Iteration 35 --
-string(27) "?@hello123456he \x234 \101 "
-
--- Iteration 36 --
-string(26) "@hello123456he \x234 \101 "
-
--- Iteration 37 --
-string(26) "@hello123456he \x234 \101 "
-
--- Iteration 38 --
-string(2) "1 "
-
--- Iteration 39 --
-string(5) "\101 "
-
--- Iteration 40 --
-string(44) "#%\o,()*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 41 --
-string(5) "\101 "
-
--- Iteration 42 --
-bool(false)
-
--- Iteration 43 --
-string(7) "4 \101 "
-
--- Iteration 44 --
-string(37) "*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 45 --
-string(63) "Hello,\t\n\0\n $&!#%\o,()*+-./:;<=>?@hello123456he \x234 \101 "
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strrchr() function: with various single quoted strings ***
-- Iteration 1 --
unicode(22) "lo123456he \x234 \101 "
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strrchr() function: with heredoc strings ***
-string(19) "ing heredoc syntax."
-bool(false)
-string(8) " syntax."
-string(63) "Example of string
-spanning multiple lines
-using heredoc syntax."
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strrchr() function: with heredoc strings ***
unicode(19) "ing heredoc syntax."
bool(false)
}
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strrchr() function: with heredoc strings ***
-string(24) "!$#$^^&*(special)
-chars."
-string(31) "_")!#@@!$#$^^&*(special)
-chars."
-string(16) "(special)
-chars."
-string(21) "$^^&*(special)
-chars."
-string(16) "(special)
-chars."
-string(19) "^&*(special)
-chars."
-string(76) "Example of heredoc string contains
-$#%^*&*_("_")!#@@!$#$^^&*(special)
-chars."
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strrchr() function: with heredoc strings ***
unicode(24) "!$#$^^&*(special)
chars."
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strrchr() function: with heredoc strings ***
-string(33) " st
-
-ch
- using
-\escape \seque
-ce"
-string(9) "\seque
-ce"
-string(25) "
- using
-\escape \seque
-ce"
-string(9) "\seque
-ce"
-string(3) "
-ce"
-string(33) " st
-
-ch
- using
-\escape \seque
-ce"
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strrchr() function: with heredoc strings ***
unicode(33) " st
}
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strrchr() function: with heredoc strings ***
-string(3) "te'"
-string(32) ""
-'things' 'in' 'single' 'quote'"
-bool(false)
-string(14) "ingle' 'quote'"
-string(6) "quote'"
-string(6) "quote'"
-string(32) ""
-'things' 'in' 'single' 'quote'"
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strrchr() function: with heredoc strings ***
unicode(3) "te'"
unicode(32) ""
}
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strrchr() function: with heredoc strings ***
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strrchr() function: with heredoc strings ***
bool(false)
bool(false)
}
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strrchr() function: with heredoc strings ***
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strrchr() function: with heredoc strings ***
bool(false)
bool(false)
--EXPECTF--
*** Testing strrchr() function: with unexpected inputs for haystack ***
-- Iteration 1 --
-string(1) "0"
--- Iteration 2 --
-string(1) "1"
--- Iteration 3 --
-string(4) "2345"
--- Iteration 4 --
-string(5) "-2345"
--- Iteration 5 --
-string(4) "10.5"
--- Iteration 6 --
-string(5) "-10.5"
--- Iteration 7 --
-string(12) "105000000000"
--- Iteration 8 --
-string(7) "1.06E-9"
--- Iteration 9 --
-string(2) ".5"
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d%d
-string(2) "ay"
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d%d
-string(2) "ay"
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d%d
-string(3) "ray"
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d%d
-string(1) "y"
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d%d
-string(2) "ay"
--- Iteration 15 --
-bool(false)
--- Iteration 16 --
-bool(false)
--- Iteration 17 --
-bool(false)
--- Iteration 18 --
-bool(false)
--- Iteration 19 --
-bool(false)
--- Iteration 20 --
-bool(false)
--- Iteration 21 --
-string(6) "object"
--- Iteration 22 --
-bool(false)
--- Iteration 23 --
-bool(false)
--- Iteration 24 --
-string(%d) "Resource id #5"
--- Iteration 25 --
-bool(false)
--- Iteration 26 --
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrchr() function: with unexpected inputs for haystack ***
--- Iteration 1 --
unicode(1) "0"
-- Iteration 2 --
unicode(1) "1"
var_dump(strrev(""));
?>
--EXPECT--
-string(32) "ec6df70f2569891eae50321a9179eb82"
-string(0) ""
-string(0) ""
---UEXPECT--
unicode(32) "ec6df70f2569891eae50321a9179eb82"
unicode(0) ""
unicode(0) ""
var_dump( strrev($heredoc) );
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strrev() : basic functionality ***
-string(12) "dlroW ,olleH"
-string(12) "dlroW ,olleH"
-string(1) "H"
-string(1) "H"
-string(6) "HHHHHH"
-string(6) "HhhhhH"
-string(13) "
-dlroW ,olleH"
-string(14) "n\dlroW ,olleH"
-string(12) "dlrow ,olleH"
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strrev() : basic functionality ***
unicode(12) "dlroW ,olleH"
unicode(12) "dlroW ,olleH"
Warning: strrev() expects exactly 1 parameter, 2 given in %s on line %d
NULL
*** Done ***
---UEXPECTF--
-*** Testing strrev() : error conditions ***
--- Testing strrev() function with Zero arguments --
-Warning: strrev() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-
--- Testing strrev() function with more than expected no. of arguments --
-Warning: strrev() expects exactly 1 parameter, 2 given in %s on line %d
-NULL
-*** Done ***
--EXPECTF--
*** Testing strrev() : unexpected inputs for 'str' ***
--- Iterator 1 --
-string(1) "0"
-
--- Iterator 2 --
-string(1) "1"
-
--- Iterator 3 --
-string(5) "54321"
-
--- Iterator 4 --
-string(5) "5432-"
-
--- Iterator 5 --
-string(4) "5.01"
-
--- Iterator 6 --
-string(5) "5.01-"
-
--- Iterator 7 --
-string(12) "000000000501"
-
--- Iterator 8 --
-string(7) "9-E60.1"
-
--- Iterator 9 --
-string(3) "5.0"
-
--- Iterator 10 --
-
-Warning: strrev() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iterator 11 --
-
-Warning: strrev() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iterator 12 --
-
-Warning: strrev() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iterator 13 --
-
-Warning: strrev() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iterator 14 --
-
-Warning: strrev() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iterator 15 --
-string(0) ""
-
--- Iterator 16 --
-string(0) ""
-
--- Iterator 17 --
-string(1) "1"
-
--- Iterator 18 --
-string(0) ""
-
--- Iterator 19 --
-string(1) "1"
-
--- Iterator 20 --
-string(0) ""
-
--- Iterator 21 --
-string(0) ""
-
--- Iterator 22 --
-string(0) ""
-
--- Iterator 23 --
-string(6) "tcejbo"
-
--- Iterator 24 --
-
-Warning: strrev() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
--- Iterator 25 --
-string(0) ""
-
--- Iterator 26 --
-string(0) ""
-*** Done ***
---UEXPECTF--
-*** Testing strrev() : unexpected inputs for 'str' ***
-
-- Iterator 1 --
unicode(1) "0"
bool(false)
bool(false)
int(1)
-
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
bool(false)
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strrpos() function: basic functionality ***
--- With default arguments --
-int(0)
-bool(false)
-int(7)
-bool(false)
-int(8)
-int(5)
-int(0)
-int(0)
-int(0)
-int(8)
-int(5)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strrpos() function: basic functionality ***
-- With default arguments --
int(0)
int(0)
bool(false)
int(0)
-bool(false)
-int(8)
-int(8)
-bool(false)
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrpos() function: basic functionality ***
--- With all arguments --
-int(0)
-bool(false)
-int(7)
-int(7)
-int(0)
-int(0)
-bool(false)
-int(0)
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
bool(false)
Warning: strrpos() expects at most 3 parameters, 4 given in %s on line %d
bool(false)
*** Done ***
---UEXPECTF--
-*** Testing strrpos() function: error conditions ***
--- With Zero arguments --
-Warning: strrpos() expects at least 2 parameters, 0 given in %s on line %d
-bool(false)
-
--- With less than expected number of arguments --
-Warning: strrpos() expects at least 2 parameters, 1 given in %s on line %d
-bool(false)
-
--- With more than expected number of arguments --
-Warning: strrpos() expects at most 3 parameters, 4 given in %s on line %d
-bool(false)
-*** Done ***
bool(false)
-- Iteration 35 --
int(0)
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrpos() function: with double quoted strings ***
--- Iteration 1 --
-int(28)
-int(28)
--- Iteration 2 --
-bool(false)
-bool(false)
--- Iteration 3 --
-bool(false)
-bool(false)
--- Iteration 4 --
-bool(false)
-bool(false)
--- Iteration 5 --
-int(6)
-int(6)
--- Iteration 6 --
-bool(false)
-bool(false)
--- Iteration 7 --
-bool(false)
-bool(false)
--- Iteration 8 --
-int(9)
-int(9)
--- Iteration 9 --
-bool(false)
-bool(false)
--- Iteration 10 --
-int(9)
-int(9)
--- Iteration 11 --
-int(8)
-bool(false)
--- Iteration 12 --
-int(8)
-bool(false)
--- Iteration 13 --
-int(8)
-bool(false)
--- Iteration 14 --
-int(8)
-bool(false)
--- Iteration 15 --
-int(8)
-bool(false)
--- Iteration 16 --
-bool(false)
-bool(false)
--- Iteration 17 --
-int(43)
-int(43)
--- Iteration 18 --
-int(12)
-bool(false)
--- Iteration 19 --
-int(11)
-bool(false)
--- Iteration 20 --
-int(13)
-bool(false)
--- Iteration 21 --
-int(14)
-bool(false)
--- Iteration 22 --
-int(17)
-bool(false)
--- Iteration 23 --
-int(20)
-bool(false)
--- Iteration 24 --
-int(22)
-bool(false)
--- Iteration 25 --
-int(21)
-bool(false)
--- Iteration 26 --
-int(23)
-bool(false)
--- Iteration 27 --
-int(24)
-bool(false)
--- Iteration 28 --
-bool(false)
-bool(false)
--- Iteration 29 --
-int(30)
-int(30)
--- Iteration 30 --
-int(39)
-int(39)
--- Iteration 31 --
-int(39)
-int(39)
--- Iteration 32 --
-int(42)
-int(42)
--- Iteration 33 --
-int(42)
-int(42)
--- Iteration 34 --
-bool(false)
-bool(false)
--- Iteration 35 --
-int(0)
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
bool(false)
-- Iteration 3 --
bool(false)
-- Iteration 4 --
-bool(false)
--- Iteration 5 --
-bool(false)
--- Iteration 6 --
-bool(false)
--- Iteration 7 --
-bool(false)
--- Iteration 8 --
-bool(false)
--- Iteration 9 --
-bool(false)
--- Iteration 10 --
-bool(false)
--- Iteration 11 --
-bool(false)
--- Iteration 12 --
-bool(false)
--- Iteration 13 --
-bool(false)
--- Iteration 14 --
-bool(false)
--- Iteration 15 --
-bool(false)
--- Iteration 16 --
-bool(false)
--- Iteration 17 --
-bool(false)
--- Iteration 18 --
-bool(false)
--- Iteration 19 --
-
-Notice: Object of class sample could not be converted to int in %s on line %d%d
-bool(false)
--- Iteration 20 --
-bool(false)
--- Iteration 21 --
-bool(false)
--- Iteration 22 --
-bool(false)
--- Iteration 23 --
-bool(false)
--- Iteration 24 --
-%s
--- Iteration 25 --
-bool(false)
--- Iteration 26 --
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrpos() function with unexpected values for needle ***
--- Iteration 1 --
-bool(false)
--- Iteration 2 --
-bool(false)
--- Iteration 3 --
-bool(false)
--- Iteration 4 --
Warning: Needle argument codepoint value out of range (0 - 0x10FFFF) in %s on line %d
bool(false)
*** Testing strrpos() function with unexpected values for haystack and needle ***
-- Iteration 1 --
bool(false)
-bool(false)
--- Iteration 2 --
-bool(false)
-bool(false)
--- Iteration 3 --
-bool(false)
-bool(false)
--- Iteration 4 --
-bool(false)
-bool(false)
--- Iteration 5 --
-bool(false)
-bool(false)
--- Iteration 6 --
-bool(false)
-bool(false)
--- Iteration 7 --
-bool(false)
-bool(false)
--- Iteration 8 --
-bool(false)
-bool(false)
--- Iteration 9 --
-bool(false)
-bool(false)
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 15 --
-bool(false)
-bool(false)
--- Iteration 16 --
-bool(false)
-bool(false)
--- Iteration 17 --
-bool(false)
-bool(false)
--- Iteration 18 --
-bool(false)
-bool(false)
--- Iteration 19 --
-
-Notice: Object of class sample could not be converted to int in %s on line %d%d
-bool(false)
-
-Notice: Object of class sample could not be converted to int in %s on line %d%d
-bool(false)
--- Iteration 20 --
-bool(false)
-bool(false)
--- Iteration 21 --
-bool(false)
-bool(false)
--- Iteration 22 --
-bool(false)
-bool(false)
--- Iteration 23 --
-bool(false)
-bool(false)
--- Iteration 24 --
-bool(false)
-bool(false)
--- Iteration 25 --
-bool(false)
-bool(false)
--- Iteration 26 --
-bool(false)
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrpos() function with unexpected values for haystack and needle ***
--- Iteration 1 --
-bool(false)
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
bool(false)
int(11)
int(11)
int(2)
-bool(false)
-int(5)
-int(5)
-int(0)
-bool(false)
-int(5)
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Test strrpos() function: binary safe ***
-int(5)
-int(5)
-int(0)
-bool(false)
-int(11)
-int(11)
-int(2)
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
bool(false)
int(12)
int(12)
bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-bool(false)
-int(1)
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Test strrpos() function: binary safe ***
-int(1)
-int(1)
-int(0)
-bool(false)
-int(12)
-int(12)
-bool(false)
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
bool(false)
bool(false)
-- Iteration 3 --
-Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d%d
-bool(false)
--- Iteration 4 --
-int(6)
--- Iteration 5 --
-int(6)
--- Iteration 6 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 7 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 8 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 9 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 10 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 11 --
-int(6)
--- Iteration 12 --
-int(6)
--- Iteration 13 --
-int(6)
--- Iteration 14 --
-int(6)
--- Iteration 15 --
-
-Warning: strrpos() expects parameter 3 to be long, object given in %s on line %d%d
-bool(false)
--- Iteration 16 --
-
-Warning: strrpos() expects parameter 3 to be long, string given in %s on line %d%d
-bool(false)
--- Iteration 17 --
-
-Warning: strrpos() expects parameter 3 to be long, string given in %s on line %d%d
-bool(false)
--- Iteration 18 --
-int(6)
--- Iteration 19 --
-int(6)
--- Iteration 20 --
-
-Warning: strrpos() expects parameter 3 to be long, resource given in %s on line %d%d
-bool(false)
--- Iteration 21 --
-int(6)
--- Iteration 22 --
-int(6)
-*** Done ***
---UEXPECTF--
-*** Testing strrpos() function: with unexpected values for offset ***
--- Iteration 1 --
-int(6)
--- Iteration 2 --
-
-Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
-bool(false)
--- Iteration 3 --
-
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
bool(false)
-- Iteration 4 --
-- Iteration 1 --
bool(false)
-- Iteration 2 --
-bool(false)
--- Iteration 3 --
-
-Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d%d
-bool(false)
--- Iteration 4 --
-
-Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d%d
-bool(false)
--- Iteration 5 --
-
-Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d%d
-bool(false)
--- Iteration 6 --
-
-Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d%d
-bool(false)
--- Iteration 7 --
-
-Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d%d
-bool(false)
--- Iteration 8 --
-bool(false)
--- Iteration 9 --
-bool(false)
--- Iteration 10 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 11 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 12 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 13 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 14 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 15 --
-bool(false)
--- Iteration 16 --
-bool(false)
--- Iteration 17 --
-bool(false)
--- Iteration 18 --
-bool(false)
--- Iteration 19 --
-
-Warning: strrpos() expects parameter 3 to be long, object given in %s on line %d%d
-bool(false)
--- Iteration 20 --
-
-Warning: strrpos() expects parameter 3 to be long, string given in %s on line %d%d
-bool(false)
--- Iteration 21 --
-
-Warning: strrpos() expects parameter 3 to be long, string given in %s on line %d%d
-bool(false)
--- Iteration 22 --
-bool(false)
--- Iteration 23 --
-bool(false)
--- Iteration 24 --
-
-Warning: strrpos() expects parameter 3 to be long, resource given in %s on line %d%d
-bool(false)
--- Iteration 25 --
-bool(false)
--- Iteration 26 --
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrpos() function: with unexpected values for haystack, needle & offset ***
--- Iteration 1 --
-bool(false)
--- Iteration 2 --
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
bool(false)
bool(false)
-- Iteration 36 --
int(0)
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrpos() function: with single quoted strings ***
--- Iteration 1 --
-int(32)
-int(32)
--- Iteration 2 --
-bool(false)
-bool(false)
--- Iteration 3 --
-bool(false)
-bool(false)
--- Iteration 4 --
-bool(false)
-bool(false)
--- Iteration 5 --
-int(6)
-int(6)
--- Iteration 6 --
-bool(false)
-bool(false)
--- Iteration 7 --
-bool(false)
-bool(false)
--- Iteration 8 --
-int(12)
-int(12)
--- Iteration 9 --
-bool(false)
-bool(false)
--- Iteration 10 --
-bool(false)
-bool(false)
--- Iteration 11 --
-int(10)
-int(10)
--- Iteration 12 --
-bool(false)
-bool(false)
--- Iteration 13 --
-bool(false)
-bool(false)
--- Iteration 14 --
-bool(false)
-bool(false)
--- Iteration 15 --
-bool(false)
-bool(false)
--- Iteration 16 --
-bool(false)
-bool(false)
--- Iteration 17 --
-int(53)
-int(53)
--- Iteration 18 --
-int(16)
-bool(false)
--- Iteration 19 --
-int(15)
-bool(false)
--- Iteration 20 --
-int(17)
-bool(false)
--- Iteration 21 --
-int(18)
-bool(false)
--- Iteration 22 --
-int(21)
-int(21)
--- Iteration 23 --
-int(24)
-int(24)
--- Iteration 24 --
-int(26)
-int(26)
--- Iteration 25 --
-int(25)
-int(25)
--- Iteration 26 --
-int(27)
-int(27)
--- Iteration 27 --
-int(28)
-int(28)
--- Iteration 28 --
-bool(false)
-bool(false)
--- Iteration 29 --
-int(34)
-int(34)
--- Iteration 30 --
-int(43)
-int(43)
--- Iteration 31 --
-int(19)
-bool(false)
--- Iteration 32 --
-int(49)
-int(49)
--- Iteration 33 --
-bool(false)
-bool(false)
--- Iteration 34 --
-bool(false)
-bool(false)
--- Iteration 35 --
-int(23)
-bool(false)
--- Iteration 36 --
-int(0)
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
bool(false)
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strrpos() function: with heredoc strings ***
--- With heredoc string containing multi lines --
-int(44)
-int(44)
-int(44)
-bool(false)
-int(55)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strrpos() function: with heredoc strings ***
-- With heredoc string containing multi lines --
int(44)
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strrpos() function: with heredoc strings ***
--- With heredoc string containing special chars --
-int(0)
-bool(false)
-int(41)
-int(39)
-int(55)
-int(55)
-int(57)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strrpos() function: with heredoc strings ***
-- With heredoc string containing special chars --
int(0)
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strrpos() function: with heredoc strings ***
--- With heredoc string containing escape characters --
-int(13)
-int(19)
-int(13)
-int(19)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strrpos() function: with heredoc strings ***
-- With heredoc string containing escape characters --
int(13)
var_dump( strrpos($quote_char_str, "things", 20) );
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strrpos() function: with heredoc strings ***
--- With heredoc string containing quote & slash chars --
-int(88)
-int(59)
-int(59)
-int(59)
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strrpos() function: with heredoc strings ***
-- With heredoc string containing quote & slash chars --
int(88)
echo "*** Done ***";
?>
---EXPECTF--
+--EXPECT--
*** Testing strrpos() function: with heredoc strings ***
-- With empty heredoc string --
bool(false)
-- Iteration 12 --
bool(false)
-- Iteration 13 --
-bool(false)
--- Iteration 14 --
-bool(false)
--- Iteration 15 --
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrpos() function: strings repetitive chars ***
--- Iteration 1 --
-int(4)
--- Iteration 2 --
-int(4)
--- Iteration 3 --
-int(4)
--- Iteration 4 --
-int(4)
--- Iteration 5 --
-int(4)
--- Iteration 6 --
-int(4)
--- Iteration 7 --
-bool(false)
--- Iteration 8 --
-bool(false)
--- Iteration 9 --
-bool(false)
--- Iteration 10 --
-bool(false)
--- Iteration 11 --
-bool(false)
--- Iteration 12 --
-bool(false)
--- Iteration 13 --
Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
bool(false)
-- Iteration 26 --
bool(false)
*** Done ***
---UEXPECTF--
-*** Testing strrpos() function with unexpected values for haystack ***
-
--- Iteration 1 --
-bool(false)
-
--- Iteration 2 --
-bool(false)
-
--- Iteration 3 --
-bool(false)
-
--- Iteration 4 --
-bool(false)
-
--- Iteration 5 --
-bool(false)
-
--- Iteration 6 --
-bool(false)
-
--- Iteration 7 --
-bool(false)
-
--- Iteration 8 --
-bool(false)
-
--- Iteration 9 --
-bool(false)
-
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
--- Iteration 15 --
-bool(false)
-
--- Iteration 16 --
-bool(false)
-
--- Iteration 17 --
-bool(false)
-
--- Iteration 18 --
-bool(false)
-
--- Iteration 19 --
-bool(false)
-
--- Iteration 20 --
-bool(false)
-
--- Iteration 21 --
-bool(false)
-
--- Iteration 22 --
-bool(false)
-
--- Iteration 23 --
-bool(false)
-
--- Iteration 24 --
-bool(false)
-
--- Iteration 25 --
-bool(false)
-
--- Iteration 26 --
-bool(false)
-*** Done ***
var_dump(strspn($a,$b,2,3));
?>
--EXPECT--
-string(25) "22222222aaaa bbb1111 cccc"
-string(4) "1234"
-int(8)
-int(6)
-int(3)
---UEXPECT--
unicode(25) "22222222aaaa bbb1111 cccc"
unicode(4) "1234"
int(8)
echo "Done"
?>
---EXPECTF--
-*** Testing strspn() : basic functionality ***
-int(11)
-int(11)
-int(2)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strspn() : basic functionality ***
int(11)
int(11)
Warning: strspn() expects at least 2 parameters, 1 given in %s on line %d
NULL
Done
-
---UEXPECTF--
-*** Testing strspn() : error conditions ***
-
--- Testing strspn() function with Zero arguments --
-
-Warning: strspn() expects at least 2 parameters, 0 given in %s on line %d
-NULL
-
--- Testing strspn() function with more than expected no. of arguments --
-
-Warning: strspn() expects at most 4 parameters, 5 given in %s on line %d
-NULL
-
--- Testing strspn() function with less than expected no. of arguments --
-
-Warning: strspn() expects at least 2 parameters, 1 given in %s on line %d
-NULL
-Done
Warning: strspn() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
NULL
Done
---UEXPECTF--
-*** Testing strspn() : with unexpected values for str argument ***
-
--- Iteration with str value as "0"
-int(1)
-int(0)
-int(0)
-
--- Iteration with str value as "1"
-int(1)
-int(0)
-int(0)
-
--- Iteration with str value as "12345"
-int(5)
-int(4)
-int(4)
-
--- Iteration with str value as "-2345"
-int(0)
-int(4)
-int(4)
-
--- Iteration with str value as "10.5"
-int(2)
-int(1)
-int(1)
-
--- Iteration with str value as "-10.5"
-int(0)
-int(2)
-int(2)
-
--- Iteration with str value as "101234567000"
-int(12)
-int(11)
-int(10)
-
--- Iteration with str value as "1.07654321E-9"
-int(1)
-int(0)
-int(0)
-
--- Iteration with str value as "0.5"
-int(1)
-int(0)
-int(0)
-
--- Iteration with str value as "Array"
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as "Array"
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as "Array"
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as "Array"
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as "Array"
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as "1"
-int(1)
-int(0)
-int(0)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as "1"
-int(1)
-int(0)
-int(0)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as "object"
-int(2)
-int(1)
-int(1)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as "Resource id #%d"
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
echo "Done"
?>
---EXPECTF--
-*** Testing strspn() : with different mask strings and default start and len arguments ***
-
--- Iteration 1 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 2 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 3 --
-int(0)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-
--- Iteration 4 --
-int(0)
-int(0)
-int(1)
-int(2)
-int(0)
-int(1)
-int(1)
-int(1)
-int(0)
-int(1)
-
--- Iteration 5 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(4)
-int(0)
-int(4)
-int(4)
-int(0)
-int(4)
-
--- Iteration 6 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(4)
-int(0)
-int(4)
-int(4)
-int(0)
-int(4)
-
--- Iteration 7 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 8 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 9 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(4)
-int(0)
-int(4)
-int(4)
-int(0)
-int(4)
-
--- Iteration 10 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(4)
-int(0)
-int(4)
-int(4)
-int(0)
-int(4)
-
--- Iteration 11 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 12 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 13 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 14 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(4)
-int(0)
-int(4)
-int(4)
-int(0)
-int(4)
-
--- Iteration 15 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(4)
-int(0)
-int(4)
-int(4)
-int(0)
-int(4)
-
--- Iteration 16 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(4)
-int(0)
-int(4)
-int(4)
-int(0)
-int(4)
-
--- Iteration 17 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(4)
-int(0)
-int(4)
-int(4)
-int(0)
-int(4)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strspn() : with different mask strings and default start and len arguments ***
-- Iteration 1 --
echo "Done"
?>
---EXPECTF--
-*** Testing strspn() : with different start and default len values ***
-
--- Iteration 1 --
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 2 --
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 3 --
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-
--- Iteration 4 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(1)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(1)
-
--- Iteration 5 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(1)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(1)
-int(0)
-bool(false)
-int(4)
-
--- Iteration 6 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(1)
-int(2)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-
--- Iteration 7 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 8 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 9 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(1)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(1)
-int(0)
-bool(false)
-int(4)
-
--- Iteration 10 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-
--- Iteration 11 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 12 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 13 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 14 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-
--- Iteration 15 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-
--- Iteration 16 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-
--- Iteration 17 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strspn() : with different start and default len values ***
-- Iteration 1 --
echo "Done"
?>
---EXPECTF--
-*** Testing strspn() : with different start and len values ***
-
--- Iteration 1 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 2 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 3 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-
--- Iteration 4 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-
--- Iteration 5 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-
--- Iteration 6 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 7 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-
--- Iteration 8 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 9 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 10 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-
--- Iteration 11 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strspn() : with different start and len values ***
-- Iteration 1 --
Warning: strspn() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
NULL
Done
---UEXPECTF--
-*** Testing strspn() : with diferent unexpected values of mask argument ***
-
--- Iteration with mask value as "0" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "1" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "12345" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "-2345" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "10.5" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "-10.5" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "101234567000" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "1.07654321E-9" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "0.5" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "Array" --
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "Array" --
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "Array" --
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "Array" --
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "Array" --
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "1" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "1" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "object" --
-int(0)
-int(1)
-int(1)
-
--- Iteration with mask value as "" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "Resource id #%d" --
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
-- Iteration with start value as "" --
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
--- Iteration with start value as "" --
-
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
--- Iteration with start value as "string" --
-
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
--- Iteration with start value as "string" --
-
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
--- Iteration with start value as "object" --
-
-Warning: strspn() expects parameter 3 to be long, object given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, object given in %s on line %d
-NULL
-
--- Iteration with start value as "" --
-int(2)
-int(2)
-
--- Iteration with start value as "" --
-int(2)
-int(2)
-
--- Iteration with start value as "Resource id #%d" --
-
-Warning: strspn() expects parameter 3 to be long, resource given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing strspn() : with unexpected values of start argument ***
-
--- Iteration with start value as "10.5" --
-int(0)
-int(0)
-
--- Iteration with start value as "-10.5" --
-int(2)
-int(2)
-
--- Iteration with start value as "1012345670" --
-bool(false)
-bool(false)
-
--- Iteration with start value as "1.07654321E-7" --
-int(2)
-int(2)
-
--- Iteration with start value as "0.5" --
-int(2)
-int(2)
-
--- Iteration with start value as "Array" --
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "Array" --
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "Array" --
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "Array" --
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "Array" --
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "" --
-int(2)
-int(2)
-
--- Iteration with start value as "" --
-int(2)
-int(2)
-
--- Iteration with start value as "1" --
-int(1)
-int(1)
-
--- Iteration with start value as "" --
-int(2)
-int(2)
-
--- Iteration with start value as "1" --
-int(1)
-int(1)
-
--- Iteration with start value as "" --
-int(2)
-int(2)
-
--- Iteration with start value as "" --
-
Warning: strspn() expects parameter 3 to be long, Unicode string given in %s on line %d
NULL
-- Iteration with len value as "" --
-Warning: strspn() expects parameter 4 to be long, string given in %s on line %d
-NULL
-
--- Iteration with len value as "" --
-
-Warning: strspn() expects parameter 4 to be long, string given in %s on line %d
-NULL
-
--- Iteration with len value as "string" --
-
-Warning: strspn() expects parameter 4 to be long, string given in %s on line %d
-NULL
-
--- Iteration with len value as "string" --
-
-Warning: strspn() expects parameter 4 to be long, string given in %s on line %d
-NULL
-
--- Iteration with len value as "object" --
-
-Warning: strspn() expects parameter 4 to be long, object given in %s on line %d
-NULL
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "Resource id #%d" --
-
-Warning: strspn() expects parameter 4 to be long, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing strspn() : with unexpected values of len argument ***
-
--- Iteration with len value as "10.5" --
-int(2)
-
--- Iteration with len value as "-10.5" --
-int(0)
-
--- Iteration with len value as "1012345670" --
-int(2)
-
--- Iteration with len value as "1.07654321E-7" --
-int(0)
-
--- Iteration with len value as "0.5" --
-int(0)
-
--- Iteration with len value as "Array" --
-
-Warning: strspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "Array" --
-
-Warning: strspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "Array" --
-
-Warning: strspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "Array" --
-
-Warning: strspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "Array" --
-
-Warning: strspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "1" --
-int(1)
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "1" --
-int(1)
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "" --
-
Warning: strspn() expects parameter 4 to be long, Unicode string given in %s on line %d
NULL
echo "Done"
?>
---EXPECTF--
-*** Testing strspn() : with different mask strings ***
-
--- Iteration 1 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 2 --
-int(0)
-int(0)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 3 --
-int(0)
-int(0)
-int(8)
-int(11)
-int(0)
-int(0)
-int(0)
-int(1)
-int(0)
-int(2)
-
--- Iteration 4 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(4)
-int(0)
-int(4)
-
--- Iteration 5 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(4)
-int(0)
-int(4)
-
--- Iteration 6 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(4)
-int(0)
-int(4)
-
--- Iteration 7 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(4)
-int(0)
-int(4)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strspn() : with different mask strings ***
-- Iteration 1 --
echo "Done"
?>
---EXPECTF--
-*** Testing strspn() : with different start values ***
-
--- Iteration 1 --
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 2 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-
--- Iteration 3 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(8)
-int(7)
-int(6)
-int(0)
-int(0)
-bool(false)
-int(8)
-int(11)
-int(10)
-int(9)
-int(0)
-int(1)
-bool(false)
-int(11)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-
--- Iteration 4 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(1)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-
--- Iteration 5 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-
--- Iteration 6 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-
--- Iteration 7 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strspn() : with different start values ***
-- Iteration 1 --
echo "Done"
?>
---EXPECTF--
-*** Testing strspn() : with different start and len values ***
-
--- Iteration 1 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 2 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 3 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(8)
-int(8)
-int(0)
-int(0)
-int(1)
-int(2)
-int(7)
-int(7)
-int(0)
-int(0)
-int(1)
-int(2)
-int(6)
-int(6)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(8)
-int(8)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-
--- Iteration 4 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-
--- Iteration 5 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-
--- Iteration 6 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-
--- Iteration 7 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strspn() : with different start and len values ***
-- Iteration 1 --
echo "Done\n";
?>
---EXPECTF--
-*** Testing strtok() : basic functionality ***
-
-The Input string is:
-"This testcase test strtok() function."
-
-The token string is:
-" ()."
-
---- Token 1 ---
-string(4) "This"
-
---- Token 2 ---
-string(8) "testcase"
-
---- Token 3 ---
-string(4) "test"
-
---- Token 4 ---
-string(6) "strtok"
-
---- Token 5 ---
-string(8) "function"
-
---- Token 6 ---
-bool(false)
-
---- Token 7 ---
-bool(false)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strtok() : basic functionality ***
The Input string is:
--- Token 7 ---
bool(false)
-Done
\ No newline at end of file
+Done
-- Testing strtok() function with more than expected no. of arguments --
-Warning: strtok() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-string(13) "sample string"
-
--- Testing strtok() with less than expected no. of arguments --
-bool(false)
-string(10) "string val"
-Done
-
---UEXPECTF--
-*** Testing strtok() : error conditions ***
-
--- Testing strtok() function with Zero arguments --
-
-Warning: strtok() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-
--- Testing strtok() function with more than expected no. of arguments --
-
Warning: strtok() expects at most 2 parameters, 3 given in %s on line %d
NULL
unicode(13) "sample string"
Notice: Undefined variable: unset_var in %s on line %d
---- Testing strtok() by supplying different values for 'str' argument ---
--- Iteration 1 --
-string(1) "0"
--- Iteration 2 --
-string(1) "1"
--- Iteration 3 --
-string(5) "12345"
--- Iteration 4 --
-string(4) "2345"
--- Iteration 5 --
-string(4) "10.5"
--- Iteration 6 --
-string(4) "10.5"
--- Iteration 7 --
-string(12) "101234567000"
--- Iteration 8 --
-string(11) "1.07654321E"
--- Iteration 9 --
-string(3) "0.5"
--- Iteration 10 --
-
-Warning: strtok() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: strtok() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: strtok() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: strtok() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: strtok() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(1) "1"
--- Iteration 16 --
-bool(false)
--- Iteration 17 --
-string(1) "1"
--- Iteration 18 --
-bool(false)
--- Iteration 19 --
-string(3) "obj"
--- Iteration 20 --
-bool(false)
--- Iteration 21 --
-bool(false)
--- Iteration 22 --
-bool(false)
--- Iteration 23 --
-bool(false)
--- Iteration 24 --
-bool(false)
--- Iteration 25 --
-bool(false)
--- Iteration 26 --
-
-Warning: strtok() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing strtok() : with first argument as non-string ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
--- Testing strtok() by supplying different values for 'str' argument ---
-- Iteration 1 --
unicode(1) "0"
Notice: Undefined variable: unset_var in %s on line %d
---- Testing strtok() by supplying different values for 'token' argument ---
--- Iteration 1 --
-string(37) "this testcase test strtok() function "
--- Iteration 2 --
-string(37) "this testcase test strtok() function "
--- Iteration 3 --
-string(37) "this testcase test strtok() function "
--- Iteration 4 --
-string(37) "this testcase test strtok() function "
--- Iteration 5 --
-string(37) "this testcase test strtok() function "
--- Iteration 6 --
-string(37) "this testcase test strtok() function "
--- Iteration 7 --
-string(37) "this testcase test strtok() function "
--- Iteration 8 --
-string(37) "this testcase test strtok() function "
--- Iteration 9 --
-string(37) "this testcase test strtok() function "
--- Iteration 10 --
-
-Warning: strtok() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: strtok() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: strtok() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: strtok() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: strtok() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(37) "this testcase test strtok() function "
--- Iteration 16 --
-string(37) "this testcase test strtok() function "
--- Iteration 17 --
-string(37) "this testcase test strtok() function "
--- Iteration 18 --
-string(37) "this testcase test strtok() function "
--- Iteration 19 --
-string(4) "his "
--- Iteration 20 --
-string(37) "this testcase test strtok() function "
--- Iteration 21 --
-string(37) "this testcase test strtok() function "
--- Iteration 22 --
-string(37) "this testcase test strtok() function "
--- Iteration 23 --
-string(37) "this testcase test strtok() function "
--- Iteration 24 --
-string(37) "this testcase test strtok() function "
--- Iteration 25 --
-string(37) "this testcase test strtok() function "
--- Iteration 26 --
-
-Warning: strtok() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
-
---UEXPECTF--
-*** Testing strtok() : with different token strings ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
--- Testing strtok() by supplying different values for 'token' argument ---
-- Iteration 1 --
unicode(37) "this testcase test strtok() function "
echo "Done\n";
?>
---EXPECTF--
-*** Testing strtok() : with heredoc strings ***
-
---- Iteration 1 ---
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 2 ---
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 3 ---
-string(11) "first line "
-string(7) "f hered"
-string(8) "c string"
-string(3) "sec"
-string(8) "nd line "
-string(7) "f hered"
-string(8) "c string"
-string(11) "third line "
-string(7) "f hered"
-string(7) "cstring"
-bool(false)
-
---- Iteration 4 ---
-string(4) "hell"
-string(1) "w"
-string(3) "rld"
-string(4) "hell"
-string(1) "w"
-string(3) "rld"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 5 ---
-string(4) "hell"
-string(4) "123w"
-string(4) "rld4"
-string(1) "6"
-string(8) "1234hell"
-string(4) "1234"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 6 ---
-string(4) "hell"
-string(1) "w"
-string(3) "rld"
-string(4) "hell"
-string(4) "hell"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strtok() : with heredoc strings ***
--- Iteration 1 ---
echo "Done\n";
?>
---EXPECTF--
-*** Testing strtok() : with embedded nulls in the strings ***
-
---- Iteration 1 ---
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 2 ---
-string(2) "\0"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 3 ---
-string(5) "hello"
-string(5) "world"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 4 ---
-string(3) "hel"
-string(2) "lo"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 5 ---
-string(5) "hello"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 6 ---
-string(11) "hello world"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 7 ---
-string(4) "\0he"
-string(5) "llo\0"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 8 ---
-string(9) "hello\0\0"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strtok() : with embedded nulls in the strings ***
--- Iteration 1 ---
bool(false)
bool(false)
bool(false)
-Done
\ No newline at end of file
+Done
echo "Done\n";
?>
---EXPECTF--
-*** Testing strtok() : with miscellaneous inputs ***
-
---- Iteration 1 ---
-string(11) "HELLO WORLD"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 2 ---
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 3 ---
-string(5) "HELLO"
-string(5) "WORLD"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 4 ---
-string(5) "hello"
-string(3) "wor"
-string(2) "ld"
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 5 ---
-string(3) "hel"
-string(2) "lo"
-string(5) "world"
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 6 ---
-string(3) "one"
-string(1) "$"
-string(3) "two"
-string(1) "!"
-string(5) "three"
-string(1) "#"
-
---- Iteration 7 ---
-string(11) "hello/r/wor"
-string(3) "rld"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 8 ---
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 9 ---
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 10 ---
-string(5) "hello"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 11 ---
-string(5) "hello"
-string(5) "world"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strtok() : with miscellaneous inputs ***
--- Iteration 1 ---
echo "Done\n";
?>
---EXPECTF--
-*** Testing strtok() : with invalid escape sequences in token ***
-
---- Iteration 1 ---
-string(5) "hello"
-string(6) " world"
-bool(false)
-bool(false)
-
-string(7) "khellok"
-string(6) "worldk"
-bool(false)
-bool(false)
-
-string(5) "hello"
-string(6) " world"
-bool(false)
-bool(false)
-
-string(5) "hello"
-string(6) " world"
-bool(false)
-bool(false)
-
-string(1) " "
-string(1) "r"
-bool(false)
-bool(false)
-
-
---- Iteration 2 ---
-string(1) "\"
-string(6) "hello\"
-string(7) " world\"
-bool(false)
-
-string(9) "\khello\k"
-string(7) "world\k"
-bool(false)
-bool(false)
-
-string(1) "\"
-string(6) "hello\"
-string(7) " world\"
-bool(false)
-
-string(5) "hello"
-string(6) " world"
-bool(false)
-bool(false)
-
-string(1) " "
-string(1) "r"
-bool(false)
-bool(false)
-
-
---- Iteration 3 ---
-string(1) "/"
-string(6) "hello\"
-string(7) " world/"
-bool(false)
-
-string(8) "khello\k"
-string(5) "world"
-string(1) "k"
-bool(false)
-
-string(6) "hello\"
-string(6) " world"
-bool(false)
-bool(false)
-
-string(1) "/"
-string(5) "hello"
-string(7) " world/"
-bool(false)
-
-string(1) "/"
-string(1) " "
-string(1) "r"
-string(1) "/"
-
-
---- Iteration 4 ---
-string(6) "/hello"
-string(7) "/ world"
-bool(false)
-bool(false)
-
-string(6) "hellok"
-string(5) "world"
-bool(false)
-bool(false)
-
-string(5) "hello"
-string(6) " world"
-bool(false)
-bool(false)
-
-string(6) "/hello"
-string(7) "/ world"
-bool(false)
-bool(false)
-
-string(1) "/"
-string(2) "/ "
-string(1) "r"
-bool(false)
-
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strtok() : with invalid escape sequences in token ***
--- Iteration 1 ---
unicode(1) "r"
bool(false)
-Done
\ No newline at end of file
+Done
echo "Done\n";
?>
---EXPECTF--
-*** Testing strtok() : with modification of input string in between tokenising ***
-
-*** Testing strtok() when string being tokenised is prefixed with another string in between the process ***
-string(4) "this"
-
--- Token 1 is --
-string(2) "is"
-
--- Input str is "extra string this is a sample string" --
-
--- Token 2 is --
-string(1) "a"
-
--- Input str is "extra string this is a sample string" --
-
--- Token 3 is --
-string(6) "sample"
-
--- Input str is "extra string this is a sample string" --
-
--- Token 4 is --
-string(6) "string"
-
--- Input str is "extra string this is a sample string" --
-
--- Token 5 is --
-bool(false)
-
--- Input str is "extra string this is a sample string" --
-
--- Token 6 is --
-bool(false)
-
--- Input str is "extra string this is a sample string" --
-
-*** Testing strtok() when string being tokenised is suffixed with another string in between the process ***
-string(5) "extra"
-
--- Token 1 is --
-string(6) "string"
-
--- Token 2 is --
-string(4) "this"
-
--- Token 3 is --
-string(2) "is"
-
--- Token 4 is --
-string(1) "a"
-
--- Token 5 is --
-string(6) "sample"
-
--- Token 6 is --
-string(6) "string"
-
--- Token 7 is --
-bool(false)
-
--- Token 8 is --
-bool(false)
-
--- Token 9 is --
-bool(false)
-
--- Token 10 is --
-bool(false)
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing strtok() : with modification of input string in between tokenising ***
*** Testing strtok() when string being tokenised is prefixed with another string in between the process ***
-- Token 10 is --
bool(false)
-Done
\ No newline at end of file
+Done
echo strtotitle( $string ), "\n";
}
?>
---EXPECT--
-ßen
-ßen
-Året
-Året
-Året ßen
-Året ßen
---UEXPECTF--
+--EXPECTF--
Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
SSen
Ssen
setlocale(LC_CTYPE, "de_DE", "de", "german", "ge", "de_DE.ISO8859-1", "ISO8859-1");
echo strtoupper($chars)."\n";
?>
---EXPECT--
-ÄÖÜ
---UEXPECTF--
+--EXPECTF--
Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
ÄÖÜ
var_dump(strtr("# hi all, I said hello world! #", $trans));
?>
--EXPECT--
-string(32) "# hello All, I sAid hi planet! #"
---UEXPECT--
unicode(32) "# hello All, I sAid hi planet! #"
--TEST--
strtr() function (with unicode chars and combining sequences)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--FILE--
<?php
declare(encoding="utf8");
var_dump(strtr("# \8d ¤¢®à¥ ¤à®¢ , ¯®¤ ¨¬¨ âà ¢ . #", $trans));
?>
--EXPECT--
-string(35) "# \8d\80 ¤¢®à¥ âà ¢ , âà ¢¥ ¤à®¢ . #"
---UEXPECT--
unicode(35) "# \8d\80 ¤¢®à¥ âà ¢ , âà ¢¥ ¤à®¢ . #"
var_dump( strtr($heredoc_str, $trans1_arr) );
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strtr() : basic functionality ***
-string(10) "TesT sTrTr"
-string(10) "TesT sTrTr"
-string(10) "TesT sTrTr"
-string(10) "TEST STrTr"
-string(10) "TEST STrTr"
-string(10) "TEST STrTr"
-string(10) "TEST STrTr"
-string(10) "TEST STrTr"
-string(10) "TEST STrTr"
-string(10) "TEST STrTr"
-string(10) "TEST STrTr"
-string(10) "TEST STrTr"
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strtr() : basic functionality ***
unicode(10) "TesT sTrTr"
unicode(10) "TesT sTrTr"
Warning: Wrong parameter count for strtr() in %s on line %d
NULL
Done
---UEXPECTF--
-*** Testing strtr() : error conditions ***
-
--- Testing strtr() function with Zero arguments --
-Warning: Wrong parameter count for strtr() in %s on line %d
-NULL
-
--- Testing strtr() function with less than expected no. of arguments --
-Warning: Wrong parameter count for strtr() in %s on line %d
-NULL
-
--- Testing strtr() function with more than expected no. of arguments --
-Warning: Wrong parameter count for strtr() in %s on line %d
-NULL
-Done
}
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strtr() : numeric & regular double quoted strings ***
--- Iteration 1 --
-string(3) "abc"
-string(3) "a23"
--- Iteration 2 --
-string(3) "123"
-string(3) "1bc"
--- Iteration 3 --
-string(6) "a1b2c3"
-string(6) "a1b2c3"
--- Iteration 4 --
-string(3) "abc"
-string(3) "a23"
--- Iteration 5 --
-string(3) "123"
-string(3) "1bc"
--- Iteration 6 --
-string(6) "a1b2c3"
-string(6) "a1b2c3"
--- Iteration 7 --
-string(14) "abc
-123
-a1b2c3"
-string(14) "a23
-1bc
-a1b2c3"
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strtr() : numeric & regular double quoted strings ***
-- Iteration 1 --
unicode(3) "abc"
}
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strtr() : string containing special chars for 'str' arg ***
--- Iteration 1 --
-string(1) "s"
-string(1) "$"
--- Iteration 2 --
-string(3) "pec"
-string(3) "#%*"
--- Iteration 3 --
-string(10) "text i als"
-string(10) "text & @()"
--- Iteration 4 --
-string(1) "s"
-string(1) "$"
--- Iteration 5 --
-string(3) "pec"
-string(3) "#%*"
--- Iteration 6 --
-string(10) "text i als"
-string(10) "text & @()"
--- Iteration 7 --
-string(17) "s
-peci
-text i als"
-string(17) "$
-#%*&
-text & @()"
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strtr() : string containing special chars for 'str' arg ***
-- Iteration 1 --
unicode(1) "s"
}
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strtr() : string containing escape sequences for 'str' arg ***
--- Iteration 1 --
-string(9) "SesSTsttE"
-string(9) " es \stt
-"
--- Iteration 2 --
-string(12) "TtestTTstrtr"
-string(12) "\test\\strtr"
--- Iteration 3 --
-string(12) "TtestETstrtr"
-string(11) "ttestTstrtr"
--- Iteration 4 --
-string(9) "$variable"
-string(9) "$variable"
--- Iteration 5 --
-string(7) ""quotes"
-string(7) ""quotes"
--- Iteration 6 --
-string(12) "TtesTtTsttTr"
-string(12) "\tes\t\stt\r"
--- Iteration 7 --
-string(12) "TtestTTstrtr"
-string(12) "\test\\strtr"
--- Iteration 8 --
-string(15) "TntestTrTnstrtr"
-string(15) "\ntest\r\nstrtr"
--- Iteration 9 --
-string(10) "T$variable"
-string(10) "\$variable"
--- Iteration 10 --
-string(8) "T"quotes"
-string(8) "\"quotes"
--- Iteration 11 --
-string(54) "SesSTsttETTtestTTstrtrTTtestETstrtrT$variableTT"quotes"
-string(52) " es \sttT\test\\strtrtttestTstrtrt$variablet\"quotes"
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strtr() : string containing escape sequences for 'str' arg ***
-- Iteration 1 --
unicode(9) "SesSTsttE"
}
echo "*** Done ***";
?>
---EXPECTF--
-*** Testing strtr() : empty string & null for 'str' arg ***
--- Iteration 1 --
-string(0) ""
-string(0) ""
--- Iteration 2 --
-string(0) ""
-string(0) ""
--- Iteration 3 --
-string(0) ""
-string(0) ""
--- Iteration 4 --
-string(0) ""
-string(0) ""
--- Iteration 5 --
-string(0) ""
-string(0) ""
--- Iteration 6 --
-string(0) ""
-string(0) ""
--- Iteration 7 --
-string(0) ""
-string(0) ""
-*** Done ***
---UEXPECTF--
+--EXPECT--
*** Testing strtr() : empty string & null for 'str' arg ***
-- Iteration 1 --
unicode(0) ""
--EXPECTF--
*** Testing strtr() function: with unexpected inputs for 'str' ***
-- Iteration 1 --
-string(1) "a"
--- Iteration 2 --
-string(1) "t"
--- Iteration 3 --
-string(2) "-m"
--- Iteration 4 --
-string(4) "ta.5"
--- Iteration 5 --
-string(5) "-ma.5"
--- Iteration 6 --
-string(12) "ta5aaaaaaaaa"
--- Iteration 7 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Arr0y"
--- Iteration 8 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Arr0y"
--- Iteration 9 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Arr0y"
--- Iteration 10 --
-string(1) "t"
--- Iteration 11 --
-string(0) ""
--- Iteration 12 --
-string(1) "t"
--- Iteration 13 --
-string(0) ""
--- Iteration 14 --
-string(0) ""
--- Iteration 15 --
-string(0) ""
--- Iteration 16 --
-string(13) "s02ple objec1"
--- Iteration 17 --
-string(%d) "Resource id #5"
--- Iteration 18 --
-string(0) ""
--- Iteration 19 --
-string(0) ""
-*** Done ***
---UEXPECTF--
-*** Testing strtr() function: with unexpected inputs for 'str' ***
--- Iteration 1 --
unicode(1) "a"
-- Iteration 2 --
unicode(1) "t"
--EXPECTF--
*** Testing strtr() function: with unexpected inputs for 'from' ***
-- Iteration 1 --
-string(6) "a12atm"
--- Iteration 2 --
-string(6) "0a2atm"
--- Iteration 3 --
-string(6) "01tatm"
--- Iteration 4 --
-string(6) "ta2atm"
--- Iteration 5 --
-string(6) "m1tatm"
--- Iteration 6 --
-string(6) "2a2atm"
--- Iteration 7 --
-
-Notice: Array to string conversion in %s on line %d
-string(6) "0120tm"
--- Iteration 8 --
-
-Notice: Array to string conversion in %s on line %d
-string(6) "0120tm"
--- Iteration 9 --
-
-Notice: Array to string conversion in %s on line %d
-string(6) "0120tm"
--- Iteration 10 --
-string(6) "0a2atm"
--- Iteration 11 --
-string(6) "012atm"
--- Iteration 12 --
-string(6) "0a2atm"
--- Iteration 13 --
-string(6) "012atm"
--- Iteration 14 --
-string(6) "012atm"
--- Iteration 15 --
-string(6) "012atm"
--- Iteration 16 --
-string(6) "012ttm"
--- Iteration 17 --
-string(6) "012atm"
--- Iteration 18 --
-string(6) "012atm"
--- Iteration 19 --
-string(6) "012atm"
-*** Done ***
---UEXPECTF--
-*** Testing strtr() function: with unexpected inputs for 'from' ***
--- Iteration 1 --
unicode(6) "a12atm"
-- Iteration 2 --
unicode(6) "0a2atm"
--EXPECTF--
*** Testing strtr() function: with unexpected inputs for 'to' ***
--- Iteration 1 --
-string(6) "0120tm"
-
--- Iteration 2 --
-string(6) "0121tm"
-
--- Iteration 3 --
-string(6) "012-2m"
-
--- Iteration 4 --
-string(6) "51210."
-
--- Iteration 5 --
-string(6) ".52-20"
-
--- Iteration 6 --
-string(6) "000105"
-
--- Iteration 7 --
-
-Notice: Array to string conversion in %s on line %d
-string(6) "ay2Arr"
-
--- Iteration 8 --
-
-Notice: Array to string conversion in %s on line %d
-string(6) "ay2Arr"
-
--- Iteration 9 --
-
-Notice: Array to string conversion in %s on line %d
-string(6) "ay2Arr"
-
--- Iteration 10 --
-string(6) "0121tm"
-
--- Iteration 11 --
-string(6) "012atm"
-
--- Iteration 12 --
-string(6) "0121tm"
-
--- Iteration 13 --
-string(6) "012atm"
-
--- Iteration 14 --
-string(6) "012atm"
-
--- Iteration 15 --
-string(6) "012atm"
-
--- Iteration 16 --
-string(6) "plesam"
-
--- Iteration 17 --
-string(6) "ourRes"
-
--- Iteration 18 --
-string(6) "012atm"
-
--- Iteration 19 --
-string(6) "012atm"
-*** Done ***
---UEXPECTF--
-*** Testing strtr() function: with unexpected inputs for 'to' ***
-
-- Iteration 1 --
unicode(6) "0120tm"
Warning: strtr(): The second argument is not an array in %s on line %d
bool(false)
--- Iteration 7 --
-string(6) "012atm"
-
--- Iteration 8 --
-string(6) "012atm"
-
--- Iteration 9 --
-string(6) "122atm"
-
--- Iteration 10 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 11 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 12 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 13 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 14 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 15 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 16 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 17 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 18 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 19 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strtr() function: with unexpected inputs for 'replace_pairs' ***
-
--- Iteration 1 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 2 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 3 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 4 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 5 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 6 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
-- Iteration 7 --
unicode(6) "012atm"
--EXPECTF--
*** Testing strtr() function: with unexpected inputs for all arguments ***
--- Iteration 1 --
-string(1) "0"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 2 --
-string(1) "1"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 3 --
-string(2) "-2"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 4 --
-string(4) "10.5"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 5 --
-string(5) "-20.5"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 6 --
-string(12) "105000000000"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 7 --
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 8 --
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 9 --
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 12 --
-string(1) "1"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 13 --
-string(0) ""
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 14 --
-string(1) "1"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 15 --
-string(0) ""
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 16 --
-string(0) ""
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 17 --
-string(0) ""
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 18 --
-string(9) "My String"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 19 --
-string(%d) "Resource id #5"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 20 --
-string(0) ""
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 21 --
-string(0) ""
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strtr() function: with unexpected inputs for all arguments ***
-
-- Iteration 1 --
unicode(1) "0"
var_dump(strval(array('foo')));
?>
--EXPECTF--
-string(3) "bar"
-string(3) "BAR"
-string(6) "foobar"
-string(1) "1"
-string(3) "1.1"
-string(1) "1"
-string(0) ""
-
-Notice: Array to string conversion in %sstrval.php on line 11
-string(5) "Array"
---UEXPECTF--
unicode(3) "bar"
unicode(3) "BAR"
unicode(6) "foobar"
Warning: substr_compare(): The length must be greater than zero in %s on line %d
bool(false)
-Warning: substr_compare() expects parameter 4 to be long, string given in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-int(0)
-int(0)
-int(0)
-int(1)
-int(-1)
-
-Warning: substr_compare(): The start position cannot exceed initial string length in %s on line %d
-bool(false)
-int(0)
-
-Warning: substr_compare() expects parameter 5 to be boolean, object given in %s on line %d
-bool(false)
-Test
-
-Warning: substr_compare(): The length must be greater than zero in %s on line %d
-bool(false)
-
Warning: substr_compare() expects parameter 4 to be long, Unicode string given in %s on line %d
bool(false)
Done
echo "Done\n";
?>
---EXPECTF--
-***Testing basic operations ***
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(100)
-int(200)
-int(160)
-int(10)
-Done
---UEXPECTF--
+--EXPECT--
***Testing basic operations ***
bool(false)
bool(false)
-- 3rd or 4th arg as NULL --
-Warning: substr_count() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: substr_count() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: substr_count() expects parameter 3 to be long, string given in %s on line %d
-NULL
-int(0)
-int(2)
-
--- overlapped substrings --
-int(2)
-int(2)
-
--- complex strings containing other than 7-bit chars --
-int(2)
-int(2)
-int(1)
-
--- heredoc string --
-int(14)
-int(16)
-
--- heredoc null string --
-int(0)
-int(0)
-int(0)
-Done
---UEXPECTF--
-*** Testing possible variations ***
--- 3rd or 4th arg as string --
-int(1)
-int(1)
-
-Notice: A non well formed numeric value encountered in %s on line %d
-int(2)
-
-Notice: A non well formed numeric value encountered in %s on line %d
-
-Notice: A non well formed numeric value encountered in %s on line %d
-int(2)
-
--- 3rd or 4th arg as NULL --
-
Warning: substr_count() expects parameter 3 to be long, Unicode string given in %s on line %d
NULL
echo "Done\n";
?>
---EXPECTF--
-*** Testing possible variations ***
-
--- complex strings containing other than 7-bit chars --
-int(2)
-int(2)
-int(1)
-
--- heredoc string --
-int(14)
-int(16)
-
--- heredoc null string --
-int(0)
-int(0)
-int(0)
-Done
---UEXPECTF--
+--EXPECT--
*** Testing possible variations ***
-- complex strings containing other than 7-bit chars --
?>
--EXPECT--
substr_replace('try this', 'bala ', 2)
-string(7) "trbala "
-
-substr_replace('try this', 'bala ', 2, 3)
-string(10) "trbala his"
-
-substr_replace('try this', 'bala ', 2, 0)
-string(13) "trbala y this"
-
-substr_replace('try this', 'bala ', 2, -2)
-string(9) "trbala is"
-
-
-
-substr_replace('try this', array ( 0 => 'bala ',), 4
-string(9) "try bala "
-
-substr_replace('try this', array ( 0 => 'bala ',), 4
-string(10) "try bala s"
-
-
-
-
-substr_replace(array ( 0 => 'ala portokala',), array ( 0 => 'bala ',), array ( 0 => 4,)
-array(1) {
- [0]=>
- string(9) "ala bala "
-}
-
-substr_replace(array ( 0 => 'ala portokala',), array ( 0 => 'bala ',), array ( 0 => 4,), array ( 0 => 3,))
-array(1) {
- [0]=>
- string(15) "ala bala tokala"
-}
-
-substr_replace(array ( 0 => 'ala portokala',), array ( 0 => 'bala ',), array ( 0 => 4,), array ( 0 => 0,))
-array(1) {
- [0]=>
- string(18) "ala bala portokala"
-}
-
-substr_replace(array ( 0 => 'ala portokala',), array ( 0 => 'bala ',), array ( 0 => 4,), array ( 0 => -2,))
-array(1) {
- [0]=>
- string(11) "ala bala la"
-}
-
-
-
-substr_replace(array ( 0 => 'ala portokala',), 'bala ',4)
-array(1) {
- [0]=>
- string(9) "ala bala "
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), array ( 0 => 'bala ',),4, 3)
-array(2) {
- [0]=>
- string(15) "ala bala tokala"
- [1]=>
- string(5) "try s"
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), 'bala ',4, 3)
-array(2) {
- [0]=>
- string(15) "ala bala tokala"
- [1]=>
- string(10) "try bala s"
-}
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), array ( 0 => 'bala ',),4, 0)
-array(2) {
- [0]=>
- string(18) "ala bala portokala"
- [1]=>
- string(8) "try this"
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), 'bala ',4, 0)
-array(2) {
- [0]=>
- string(18) "ala bala portokala"
- [1]=>
- string(13) "try bala this"
-}
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), array ( 0 => 'bala ',),4, -2)
-array(2) {
- [0]=>
- string(11) "ala bala la"
- [1]=>
- string(6) "try is"
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), 'bala ',4, -2)
-array(2) {
- [0]=>
- string(11) "ala bala la"
- [1]=>
- string(11) "try bala is"
-}
-
-
-
-
-
-
-substr_replace(array ( 0 => 'ala portokala',), 'bala ',array ( 0 => 4,))
-array(1) {
- [0]=>
- string(9) "ala bala "
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), array ( 0 => 'bala ',),array ( 0 => 4,), 3)
-array(2) {
- [0]=>
- string(15) "ala bala tokala"
- [1]=>
- string(5) " this"
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), 'bala ',array ( 0 => 4,), 3)
-array(2) {
- [0]=>
- string(15) "ala bala tokala"
- [1]=>
- string(10) "bala this"
-}
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), array ( 0 => 'bala ',),array ( 0 => 4,), 0)
-array(2) {
- [0]=>
- string(18) "ala bala portokala"
- [1]=>
- string(8) "try this"
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), 'bala ',array ( 0 => 4,), 0)
-array(2) {
- [0]=>
- string(18) "ala bala portokala"
- [1]=>
- string(13) "bala try this"
-}
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), array ( 0 => 'bala ',),array ( 0 => 4,), -2)
-array(2) {
- [0]=>
- string(11) "ala bala la"
- [1]=>
- string(2) "is"
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), 'bala ',array ( 0 => 4,), -2)
-array(2) {
- [0]=>
- string(11) "ala bala la"
- [1]=>
- string(7) "bala is"
-}
-
-
-
-
-
-
-
-substr_replace(array ( 0 => 'ala portokala',), 'bala ',array ( 0 => 4, 1 => 2,))
-array(1) {
- [0]=>
- string(9) "ala bala "
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), array ( 0 => 'bala ',),array ( 0 => 4, 1 => 2,), 3)
-array(2) {
- [0]=>
- string(15) "ala bala tokala"
- [1]=>
- string(5) "trhis"
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), 'bala ',array ( 0 => 4, 1 => 2,), 3)
-array(2) {
- [0]=>
- string(15) "ala bala tokala"
- [1]=>
- string(10) "trbala his"
-}
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), array ( 0 => 'bala ',),array ( 0 => 4, 1 => 2,), 0)
-array(2) {
- [0]=>
- string(18) "ala bala portokala"
- [1]=>
- string(8) "try this"
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), 'bala ',array ( 0 => 4, 1 => 2,), 0)
-array(2) {
- [0]=>
- string(18) "ala bala portokala"
- [1]=>
- string(13) "trbala y this"
-}
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), array ( 0 => 'bala ',),array ( 0 => 4, 1 => 2,), -2)
-array(2) {
- [0]=>
- string(11) "ala bala la"
- [1]=>
- string(4) "tris"
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), 'bala ',array ( 0 => 4, 1 => 2,), -2)
-array(2) {
- [0]=>
- string(11) "ala bala la"
- [1]=>
- string(9) "trbala is"
-}
-
-
-
-
-
-
-
-substr_replace(array ( 0 => 'ala portokala',), 'bala ',array ( 0 => 4, 1 => 2,))
-array(1) {
- [0]=>
- string(9) "ala bala "
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), array ( 0 => 'bala ',),array ( 0 => 4, 1 => 2,), array ( 0 => 3,))
-array(2) {
- [0]=>
- string(15) "ala bala tokala"
- [1]=>
- string(2) "tr"
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), 'bala ',array ( 0 => 4, 1 => 2,), array ( 0 => 3,))
-array(2) {
- [0]=>
- string(15) "ala bala tokala"
- [1]=>
- string(7) "trbala "
-}
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), array ( 0 => 'bala ',),array ( 0 => 4, 1 => 2,), array ( 0 => 0,))
-array(2) {
- [0]=>
- string(18) "ala bala portokala"
- [1]=>
- string(2) "tr"
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), 'bala ',array ( 0 => 4, 1 => 2,), array ( 0 => 0,))
-array(2) {
- [0]=>
- string(18) "ala bala portokala"
- [1]=>
- string(7) "trbala "
-}
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), array ( 0 => 'bala ',),array ( 0 => 4, 1 => 2,), array ( 0 => -2,))
-array(2) {
- [0]=>
- string(11) "ala bala la"
- [1]=>
- string(2) "tr"
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), 'bala ',array ( 0 => 4, 1 => 2,), array ( 0 => -2,))
-array(2) {
- [0]=>
- string(11) "ala bala la"
- [1]=>
- string(7) "trbala "
-}
-
-
-
-
-
-
-
-substr_replace(array ( 0 => 'ala portokala',), 'bala ',array ( 0 => 4, 1 => 2,))
-array(1) {
- [0]=>
- string(9) "ala bala "
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), array ( 0 => 'bala ',),array ( 0 => 4, 1 => 2,), array ( 0 => 3, 1 => 2,))
-array(2) {
- [0]=>
- string(15) "ala bala tokala"
- [1]=>
- string(6) "trthis"
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), 'bala ',array ( 0 => 4, 1 => 2,), array ( 0 => 3, 1 => 2,))
-array(2) {
- [0]=>
- string(15) "ala bala tokala"
- [1]=>
- string(11) "trbala this"
-}
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), array ( 0 => 'bala ',),array ( 0 => 4, 1 => 2,), array ( 0 => 0, 1 => 0,))
-array(2) {
- [0]=>
- string(18) "ala bala portokala"
- [1]=>
- string(8) "try this"
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), 'bala ',array ( 0 => 4, 1 => 2,), array ( 0 => 0, 1 => 0,))
-array(2) {
- [0]=>
- string(18) "ala bala portokala"
- [1]=>
- string(13) "trbala y this"
-}
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), array ( 0 => 'bala ',),array ( 0 => 4, 1 => 2,), array ( 0 => -2, 1 => -3,))
-array(2) {
- [0]=>
- string(11) "ala bala la"
- [1]=>
- string(5) "trhis"
-}
-
-
-substr_replace(array ( 0 => 'ala portokala', 1 => 'try this',), 'bala ',array ( 0 => 4, 1 => 2,), array ( 0 => -2, 1 => -3,))
-array(2) {
- [0]=>
- string(11) "ala bala la"
- [1]=>
- string(10) "trbala his"
-}
---UEXPECT--
-substr_replace('try this', 'bala ', 2)
unicode(7) "trbala "
substr_replace('try this', 'bala ', 2, 3)
--EXPECT--
Peren
Appelen
-ßen
---UEXPECT--
-Peren
-Appelen
SSen
echo "Done\n";
?>
---EXPECTF--
-*** Testing ucwords() : basic functionality ***
--- Iteration 1 --
-string(15) "Testing Ucwords"
--- Iteration 2 --
-string(15) "Testing Ucwords"
--- Iteration 3 --
-string(16) "Testing\tucwords"
--- Iteration 4 --
-string(15) "Testing Ucwords"
--- Iteration 5 --
-string(15) "Testing
-Ucwords"
--- Iteration 6 --
-string(16) "Testing\nucwords"
--- Iteration 7 --
-string(15) "Testing\vUcwords"
--- Iteration 8 --
-string(16) "Testing\vucwords"
--- Iteration 9 --
-string(7) "Testing"
--- Iteration 10 --
-string(7) "Testing"
--- Iteration 11 --
-string(8) " Testing"
--- Iteration 12 --
-string(8) " Testing"
--- Iteration 13 --
-string(16) "Testing Ucwords"
--- Iteration 14 --
-string(16) "Testing Ucwords"
--- Iteration 15 --
-string(16) "Testing\rucwords"
--- Iteration 16 --
-string(15) "Testing
-Ucwords"
--- Iteration 17 --
-string(16) "Testing\fucwords"
--- Iteration 18 --
-string(15) "Testing\fUcwords"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing ucwords() : basic functionality ***
-- Iteration 1 --
unicode(15) "Testing Ucwords"
-- Testing ucwords() function with more than expected no. of arguments --
-Warning: ucwords() expects exactly 1 parameter, 2 given in %s on line %d
-NULL
-string(10) "string_val"
-Done
---UEXPECTF--
-*** Testing ucwords() : error conditions ***
-
--- Testing ucwords() function with Zero arguments --
-
-Warning: ucwords() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-
--- Testing ucwords() function with more than expected no. of arguments --
-
Warning: ucwords() expects exactly 1 parameter, 2 given in %s on line %d
NULL
unicode(10) "string_val"
--EXPECTF--
*** Testing ucwords() : usage variations ***
---- Testing ucwords() by supplying different values for 'str' argument ---
--- Iteration 1 --
-string(1) "0"
--- Iteration 2 --
-string(1) "1"
--- Iteration 3 --
-string(5) "12345"
--- Iteration 4 --
-string(5) "-2345"
--- Iteration 5 --
-string(2) "16"
--- Iteration 6 --
-string(2) "32"
--- Iteration 7 --
-string(3) "170"
--- Iteration 8 --
-string(4) "-245"
--- Iteration 9 --
-string(2) "83"
--- Iteration 10 --
-string(4) "-226"
--- Iteration 11 --
-string(4) "10.5"
--- Iteration 12 --
-string(5) "-10.5"
--- Iteration 13 --
-string(12) "101234567000"
--- Iteration 14 --
-string(13) "1.07654321E-9"
--- Iteration 15 --
-string(3) "0.5"
--- Iteration 16 --
-
-Warning: ucwords() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 17 --
-
-Warning: ucwords() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 18 --
-
-Warning: ucwords() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 19 --
-
-Warning: ucwords() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 20 --
-
-Warning: ucwords() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 21 --
-string(1) "1"
--- Iteration 22 --
-string(0) ""
--- Iteration 23 --
-string(1) "1"
--- Iteration 24 --
-string(0) ""
--- Iteration 25 --
-string(8) "MyString"
--- Iteration 26 --
-string(0) ""
--- Iteration 27 --
-string(0) ""
--- Iteration 28 --
-string(0) ""
--- Iteration 29 --
-string(0) ""
--- Iteration 30 --
-string(5) "0x123"
--- Iteration 31 --
-string(5) "0x123"
--- Iteration 32 --
-string(6) "0xFF12"
--- Iteration 33 --
-string(7) "-0xFF12"
--- Iteration 34 --
-string(0) ""
--- Iteration 35 --
-string(0) ""
--- Iteration 36 --
-
-Warning: ucwords() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing ucwords() : usage variations ***
-
--- Testing ucwords() by supplying different values for 'str' argument ---
-- Iteration 1 --
unicode(1) "0"
echo "Done\n";
?>
---EXPECTF--
-*** Testing ucwords() : usage variations ***
--- Iteration 1 --
-string(0) ""
--- Iteration 2 --
-string(0) ""
--- Iteration 3 --
-string(52) "Testing Ucword() With
-Multiline String Using
-Heredoc"
--- Iteration 4 --
-string(93) "Testing
-Ucword(str) With
-Multiline String Using
-Heredoc
-String.with\vDifferent\fWhite\vSpaces"
--- Iteration 5 --
-string(53) "12sting 123string 4567
-String 123string
-12 Test
-5test"
--- Iteration 6 --
-string(108) "It's Bright,but I Cann't See It.
-"things In Double Quote"
-'things In Single Quote'
-This\line Is /with\slashs"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing ucwords() : usage variations ***
-- Iteration 1 --
unicode(0) ""
echo "Done\n";
?>
---EXPECTF--
-*** Testing ucwords() : usage variations ***
--- Iteration 1 --
-string(18) "Testing Ucwords"
--- Iteration 2 --
-string(30) "T E S T I N G U C W O R D S "
--- Iteration 3 --
-string(25) "Testing Function(ucwords)"
--- Iteration 4 --
-string(38) "(testing ( Function (ucwords) )a )test"
--- Iteration 5 --
-string(3) "(t)"
--- Iteration 6 --
-string(7) " ( T )t"
--- Iteration 7 --
-string(24) ""testing",ucwords,"test""
--- Iteration 8 --
-string(14) ""t""t",test, T"
--- Iteration 9 --
-string(11) "'t 't',test"
--- Iteration 10 --
-string(27) "\ttesting\ttesting\tucwords"
--- Iteration 11 --
-string(32) "Testing\rucwords Testing Ucwords"
--- Iteration 12 --
-string(37) "Testing\fucwords \f Testing \nucwords"
--- Iteration 13 --
-string(39) "\ntesting\nucwords\n Testing \n Ucwords"
--- Iteration 14 --
-string(20) "Using\vvertical\vtab"
--- Iteration 15 --
-string(42) "T@@#$% %test ^test &test *test +test -test"
--- Iteration 16 --
-string(40) "!test ~test `test` =test= @test@test.com"
--- Iteration 17 --
-string(40) "/test/r\test\ Ucwords\t\y\yu\3 \yy\ /uu/"
--- Iteration 18 --
-string(16) "!@#$%^&*()_+=-`~"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing ucwords() : usage variations ***
-- Iteration 1 --
unicode(18) "Testing Ucwords"
echo "Done\n";
?>
---EXPECTF--
-*** Testing ucwords() : usage variations ***
--- Iteration 1 --
-string(18) "Testing Ucwords"
--- Iteration 2 --
-string(30) "T E S T I N G U C W O R D S "
--- Iteration 3 --
-string(25) "Testing Function(ucwords)"
--- Iteration 4 --
-string(38) "(testing ( Function (ucwords) )a )test"
--- Iteration 5 --
-string(3) "(t)"
--- Iteration 6 --
-string(7) " ( T )t"
--- Iteration 7 --
-string(24) ""testing",ucwords,"test""
--- Iteration 8 --
-string(14) ""t""t",test, T"
--- Iteration 9 --
-string(14) "\'t \'t\',test"
--- Iteration 10 --
-string(10) "Jack's Pen"
--- Iteration 11 --
-string(14) "P't'y 't It's "
--- Iteration 12 --
-string(24) " Testing Testing Ucwords"
--- Iteration 13 --
-string(26) "\ttesting\ttesting Ucwords"
--- Iteration 14 --
-string(31) "Testing
-Ucwords Testing Ucwords"
--- Iteration 15 --
-string(32) "Testing\rucwords Testing Ucwords"
--- Iteration 16 --
-string(34) "Testing\fUcwords \f Testing
-Ucwords"
--- Iteration 17 --
-string(36) "Testing\fucwords \f Testing
-Ucwords"
--- Iteration 18 --
-string(35) "
-Testing
-Ucwords
- Testing
- Ucwords"
--- Iteration 19 --
-string(39) "\ntesting\nucwords\n Testing \n Ucwords"
--- Iteration 20 --
-string(18) "Using\vVertical\vTab"
--- Iteration 21 --
-string(20) "Using\vvertical\vtab"
--- Iteration 22 --
-string(42) "T@@#$% %test ^test &test *test +test -test"
--- Iteration 23 --
-string(40) "!test ~test `test` =test= @test@test.com"
--- Iteration 24 --
-string(36) "/test/r Est\ Ucwords \y\y\ 3 \yy\ /uu/"
--- Iteration 25 --
-string(16) "!@#$%^&*()_+=-`~"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing ucwords() : usage variations ***
-- Iteration 1 --
unicode(18) "Testing Ucwords"
--EXPECTF--
Warning: unpack(): Invalid format type - in %sunpack.php on line %d
bool(false)
-Done
\ No newline at end of file
+Done
}
?>
--EXPECT--
-array(1) {
- ["path"]=>
- string(0) ""
-}
-array(1) {
- ["path"]=>
- string(12) "64.246.30.37"
-}
-array(2) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(12) "64.246.30.37"
-}
-array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(12) "64.246.30.37"
- ["path"]=>
- string(1) "/"
-}
-array(1) {
- ["path"]=>
- string(13) "64.246.30.37/"
-}
-array(3) {
- ["host"]=>
- string(12) "64.246.30.37"
- ["port"]=>
- int(80)
- ["path"]=>
- string(1) "/"
-}
-array(1) {
- ["path"]=>
- string(7) "php.net"
-}
-array(1) {
- ["path"]=>
- string(8) "php.net/"
-}
-array(2) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(7) "php.net"
-}
-array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(7) "php.net"
- ["path"]=>
- string(1) "/"
-}
-array(1) {
- ["path"]=>
- string(11) "www.php.net"
-}
-array(1) {
- ["path"]=>
- string(12) "www.php.net/"
-}
-array(2) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
-}
-array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["path"]=>
- string(1) "/"
-}
-array(2) {
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
-}
-array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(1) "/"
-}
-array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["path"]=>
- string(10) "/index.php"
-}
-array(1) {
- ["path"]=>
- string(12) "www.php.net/"
-}
-array(3) {
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(1) "/"
-}
-array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["path"]=>
- string(1) "/"
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(1) "/"
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(10) "/index.php"
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(18) "/foo/bar/index.php"
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
-}
-array(5) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
- ["query"]=>
- string(37) "lots=1&of=2¶meters=3&too=4&here=5"
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(45) "/this/is/a/very/deep/directory/structure/and/"
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(28) "/this/../a/../deep/directory"
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(29) "/this/../a/../deep/directory/"
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(42) "/this/is/a/very/deep/directory/../file.php"
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(10) "/index.php"
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(10) "/index.php"
-}
-array(5) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(1) "/"
- ["fragment"]=>
- string(3) "foo"
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(1) "/"
-}
-array(5) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(1) "/"
- ["query"]=>
- string(6) "test=1"
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["path"]=>
- string(1) "/"
- ["query"]=>
- string(7) "test=1&"
-}
-array(5) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(1) "/"
- ["query"]=>
- string(1) "&"
-}
-array(5) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(7) "test=1&"
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(1) "&"
-}
-array(5) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(4) "foo&"
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(4) "&foo"
-}
-array(5) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
-}
-array(5) {
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
-array(7) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["user"]=>
- string(6) "secret"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
-array(6) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["user"]=>
- string(6) "secret"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
-array(7) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["pass"]=>
- string(7) "hideout"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
-array(7) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["user"]=>
- string(6) "secret"
- ["pass"]=>
- string(7) "hideout"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
-array(7) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["user"]=>
- string(14) "secret@hideout"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
-array(8) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["user"]=>
- string(6) "secret"
- ["pass"]=>
- string(7) "hid:out"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
-array(2) {
- ["scheme"]=>
- string(4) "nntp"
- ["host"]=>
- string(12) "news.php.net"
-}
-array(3) {
- ["scheme"]=>
- string(3) "ftp"
- ["host"]=>
- string(11) "ftp.gnu.org"
- ["path"]=>
- string(22) "/gnu/glic/glibc.tar.gz"
-}
-array(2) {
- ["scheme"]=>
- string(4) "zlib"
- ["path"]=>
- string(14) "http://foo@bar"
-}
-array(2) {
- ["scheme"]=>
- string(4) "zlib"
- ["path"]=>
- string(12) "filename.txt"
-}
-array(2) {
- ["scheme"]=>
- string(4) "zlib"
- ["path"]=>
- string(25) "/path/to/my/file/file.txt"
-}
-array(3) {
- ["scheme"]=>
- string(3) "foo"
- ["host"]=>
- string(3) "bar"
- ["user"]=>
- string(3) "foo"
-}
-array(2) {
- ["scheme"]=>
- string(6) "mailto"
- ["path"]=>
- string(15) "me@mydomain.com"
-}
-array(2) {
- ["path"]=>
- string(8) "/foo.php"
- ["query"]=>
- string(7) "a=b&c=d"
-}
-array(2) {
- ["path"]=>
- string(7) "foo.php"
- ["query"]=>
- string(7) "a=b&c=d"
-}
-array(6) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(15) "www.example.com"
- ["port"]=>
- int(8080)
- ["user"]=>
- string(4) "user"
- ["pass"]=>
- string(6) "passwd"
- ["query"]=>
- string(12) "bar=1&boom=0"
-}
-array(2) {
- ["scheme"]=>
- string(4) "file"
- ["path"]=>
- string(13) "/path/to/file"
-}
-array(3) {
- ["scheme"]=>
- string(4) "file"
- ["host"]=>
- string(4) "path"
- ["path"]=>
- string(8) "/to/file"
-}
-array(2) {
- ["scheme"]=>
- string(4) "file"
- ["path"]=>
- string(13) "/path/to/file"
-}
-array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(7) "1.2.3.4"
- ["path"]=>
- string(8) "/abc.asp"
- ["query"]=>
- string(7) "a=1&b=2"
-}
-array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(7) "foo.com"
- ["fragment"]=>
- string(3) "bar"
-}
-array(1) {
- ["scheme"]=>
- string(6) "scheme"
-}
-array(4) {
- ["scheme"]=>
- string(7) "foo+bar"
- ["host"]=>
- string(4) "bang"
- ["user"]=>
- string(3) "baz"
- ["path"]=>
- string(4) "/bla"
-}
-array(2) {
- ["scheme"]=>
- string(2) "gg"
- ["path"]=>
- string(7) "9130731"
-}
-array(7) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(4) "host"
- ["user"]=>
- string(4) "user"
- ["pass"]=>
- string(5) "@pass"
- ["path"]=>
- string(5) "/path"
- ["query"]=>
- string(14) "argument?value"
- ["fragment"]=>
- string(3) "etc"
-}
-string(4) "http"
-string(11) "www.php.net"
-int(80)
-string(6) "secret"
-string(7) "hideout"
-string(10) "/index.php"
-string(31) "test=1&test2=char&test3=mixesCI"
-string(16) "some_page_ref123"
---UEXPECT--
array(1) {
[u"path"]=>
unicode(0) ""
echo "Done\n";
?>
---EXPECTF--
-Warning: convert_uuencode() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-bool(false)
-
-Warning: convert_uudecode() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-bool(false)
-bool(false)
-bool(false)
-string(60) "J?B%`(R0E7B8J*"E??7M03TE5651215=145-$1D=(2DM,.CQ-3D)60UA:
-`
-"
-string(1) "%s"
-string(42) "~!@#$%^&*()_}{POIUYTREWQQSDFGHJKL:<MNBVCXZ"
-string(36) "6;F]T('9E<GD@<V]P:&ES=&EC871E9```
-`
-"
-string(22) "not very sophisticated"
-
-Warning: convert_uudecode(): The given parameter is not a valid uuencoded string in %s on line %d
-bool(false)
-Done
---UEXPECTF--
+--EXPECTF--
Warning: convert_uuencode() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
bool(false)
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using string format ***
-string(3) "one"
-string(7) "one two"
-string(13) "one two three"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : basic functionality - using string format ***
unicode(3) "one"
unicode(7) "one two"
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using integer format ***
-string(3) "111"
-string(7) "111 222"
-string(11) "111 222 333"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : basic functionality - using integer format ***
unicode(3) "111"
unicode(7) "111 222"
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using float format ***
-string(9) "11.110000"
-string(9) "11.110000"
-string(19) "11.110000 22.220000"
-string(19) "11.110000 22.220000"
-string(29) "11.110000 22.220000 33.330000"
-string(29) "11.110000 22.220000 33.330000"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : basic functionality - using float format ***
unicode(9) "11.110000"
unicode(9) "11.110000"
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using bool format ***
-string(1) "1"
-string(3) "1 0"
-string(5) "1 0 1"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : basic functionality - using bool format ***
unicode(1) "1"
unicode(3) "1 0"
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using char format ***
-string(1) "A"
-string(3) "A B"
-string(5) "A B C"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : basic functionality - using char format ***
unicode(1) "A"
unicode(3) "A B"
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using exponential format ***
-string(11) "1.000000e+3"
-string(23) "1.000000e+3 2.000000e+3"
-string(35) "1.000000e+3 2.000000e+3 3.000000e+3"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : basic functionality - using exponential format ***
unicode(11) "1.000000e+3"
unicode(23) "1.000000e+3 2.000000e+3"
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using unsigned format ***
-string(10) "4294966185"
-string(21) "4294966185 4293732729"
-string(32) "4294966185 4293732729 4292621864"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : basic functionality - using unsigned format ***
unicode(10) "4294966185"
unicode(21) "4294966185 4293732729"
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using unsigned format ***
-string(20) "18446744073709550505"
-string(41) "18446744073709550505 18446744073708317049"
-string(62) "18446744073709550505 18446744073708317049 18446744073707206184"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : basic functionality - using unsigned format ***
unicode(20) "18446744073709550505"
unicode(41) "18446744073709550505 18446744073708317049"
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using octal format ***
-string(2) "21"
-string(6) "21 347"
-string(10) "21 347 567"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : basic functionality - using octal format ***
unicode(2) "21"
unicode(6) "21 347"
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using hexadecimal format ***
-string(1) "b"
-string(1) "B"
-string(4) "b 84"
-string(4) "B 84"
-string(7) "b 84 b1"
-string(7) "B 84 B1"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : basic functionality - using hexadecimal format ***
unicode(1) "b"
unicode(1) "B"
Warning: Wrong parameter count for vsprintf() in %s on line %d
bool(false)
Done
-
---UEXPECTF--
-*** Testing vsprintf() : error conditions ***
-
--- Testing vsprintf() function with Zero arguments --
-
-Warning: Wrong parameter count for vsprintf() in %s on line %d
-bool(false)
-
--- Testing vsprintf() function with less than expected no. of arguments --
-
-Warning: Wrong parameter count for vsprintf() in %s on line %d
-bool(false)
-
--- testing vsprintf() function with more than expected no. of arguments --
-
-Warning: Wrong parameter count for vsprintf() in %s on line %d
-bool(false)
-Done
echo "Done";
?>
--EXPECTF--
-*** Testing vsprintf() : with unexpected values for format argument ***
-
- -- Iteration 1 --
-string(1) "0"
-
- -- Iteration 2 --
-string(1) "1"
-
- -- Iteration 3 --
-string(5) "12345"
-
- -- Iteration 4 --
-string(5) "-2345"
-
- -- Iteration 5 --
-string(4) "10.5"
-
- -- Iteration 6 --
-string(5) "-10.5"
-
- -- Iteration 7 --
-string(12) "101234567000"
-
- -- Iteration 8 --
-string(13) "1.07654321E-9"
-
- -- Iteration 9 --
-string(3) "0.5"
-
- -- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
- -- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
- -- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
- -- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
- -- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
- -- Iteration 15 --
-string(0) ""
-
- -- Iteration 16 --
-string(0) ""
-
- -- Iteration 17 --
-string(1) "1"
-
- -- Iteration 18 --
-string(0) ""
-
- -- Iteration 19 --
-string(1) "1"
-
- -- Iteration 20 --
-string(0) ""
-
- -- Iteration 21 --
-string(0) ""
-
- -- Iteration 22 --
-string(0) ""
-
- -- Iteration 23 --
-string(6) "object"
-
- -- Iteration 24 --
-string(0) ""
-
- -- Iteration 25 --
-string(0) ""
-
- -- Iteration 26 --
-string(%d) "Resource id #%d"
-Done
---UEXPECTF--
*** Testing vsprintf() : with unexpected values for format argument ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : octal formats with octal values ***
-
--- Iteration 1 --
-string(1) "0"
-
--- Iteration 2 --
-string(14) "37777777777 1 "
-
--- Iteration 3 --
-string(38) "20000000000 o, 17777777777 20000000001"
-
--- Iteration 4 --
-string(38) " 37776543211 0000"
-
--- Iteration 5 --
-string(32) "111 2222 37777444445 37733333334"
-
--- Iteration 6 --
-string(17) "11073 7653 123 12"
-
--- Iteration 7 --
-string(6) "% %o o"
-
--- Iteration 8 --
-string(7) "1 2 3 4"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : octal formats with octal values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : octal formats with octal values ***
-
--- Iteration 1 --
-string(1) "0"
-
--- Iteration 2 --
-string(25) "1777777777777777777777 1 "
-
--- Iteration 3 --
-string(60) "1777777777760000000000 o, 17777777777 1777777777760000000001"
-
--- Iteration 4 --
-string(49) " 1777777777777776543211 0000"
-
--- Iteration 5 --
-string(54) "111 2222 1777777777777777444445 1777777777777733333334"
-
--- Iteration 6 --
-string(17) "11073 7653 123 12"
-
--- Iteration 7 --
-string(6) "% %o o"
-
--- Iteration 8 --
-string(7) "1 2 3 4"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : octal formats with octal values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : octal formats and non-octal values ***
-
--- Iteration 1 --
-string(116) "2 0 12
- 361100 o 37777775456 2322
-
- 30071 14 37777777764 37777416700
- 12 361100 2 0"
-
--- Iteration 2 --
-string(146) "2 37777777776 2
- 361100 o 37720715133 57062645
-
- 57060664 4475347 37721631371 37720717336
- 2 361100 2 37777777776"
-
--- Iteration 3 --
-string(88) "0 0 0
- 173 o 37777777605 173
-
- 2322 0 $0 _0
- 0 173 0 0"
-
--- Iteration 4 --
-string(75) "1 1 1
- 1 o 1 1
-
- #1 1 $1 _1
- 1 1 1 1"
-
--- Iteration 5 --
-string(75) "1 1 0
- 1 o 0 1
-
- #0 1 $1 _0
- 0 1 1 1"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : octal formats and non-octal values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : octal formats and non-octal values ***
-
--- Iteration 1 --
-string(149) "2 0 12
- 361100 o 1777777777777777775456 2322
-
- 30071 14 1777777777777777777764 1777777777777777416700
- 12 361100 2 0"
-
--- Iteration 2 --
-string(201) "2 1777777777777777777776 2
- 361100 o 1777777777777720715133 57062645
-
- 57060664 4475347 1777777777777721631371 1777777777777720717336
- 2 361100 2 1777777777777777777776"
-
--- Iteration 3 --
-string(99) "0 0 0
- 173 o 1777777777777777777605 173
-
- 2322 0 $0 _0
- 0 173 0 0"
-
--- Iteration 4 --
-string(75) "1 1 1
- 1 o 1 1
-
- #1 1 $1 _1
- 1 1 1 1"
-
--- Iteration 5 --
-string(75) "1 1 0
- 1 o 0 1
-
- #0 1 $1 _0
- 0 1 1 1"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : octal formats and non-octal values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : hexa formats with hexa values ***
-
--- Iteration 1 --
-string(1) "0"
-
--- Iteration 2 --
-string(13) "ffffffff 1 22"
-
--- Iteration 3 --
-string(28) "7fffffff x, 7000000 80000000"
-
--- Iteration 4 --
-string(35) " ffed2979 0000"
-
--- Iteration 5 --
-string(22) "#1 2222 1b6db bbbbbbbc"
-
--- Iteration 6 --
-string(12) "123b fab 0 a"
-
--- Iteration 7 --
-string(5) "%34 x"
-
--- Iteration 8 --
-string(7) "1 2 3 4"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : hexa formats with hexa values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : hexa formats with hexa values ***
-
--- Iteration 1 --
-string(1) "0"
-
--- Iteration 2 --
-string(21) "ffffffffffffffff 1 22"
-
--- Iteration 3 --
-string(36) "7fffffff x, 7000000 ffffffff80000000"
-
--- Iteration 4 --
-string(43) " ffffffffffed2979 0000"
-
--- Iteration 5 --
-string(30) "#1 2222 1b6db ffffffffbbbbbbbc"
-
--- Iteration 6 --
-string(12) "123b fab 0 a"
-
--- Iteration 7 --
-string(5) "%34 x"
-
--- Iteration 8 --
-string(7) "1 2 3 4"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : hexa formats with hexa values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : hexa formats and non-hexa values ***
-
--- Iteration 1 --
-string(101) "2 0 a
- 1e240 x fffffb2e 4d2
-
- 3039 c fffffff4 fffe1dc0
- a 1e240 2 0"
-
--- Iteration 2 --
-string(124) "2 fffffffe 2
- 1e240 x ff439a5b bc65a5
-
- bc61b4 127ae7 ff4732f9 ff439ede
- 2 1e240 2 fffffffe"
-
--- Iteration 3 --
-string(82) "0 0 0
- 7b x ffffff85 7b
-
- 4d2 0 $0 _0
- 0 7b 0 0"
-
--- Iteration 4 --
-string(75) "1 1 1
- 1 x 1 1
-
- #1 1 $1 _1
- 1 1 1 1"
-
--- Iteration 5 --
-string(75) "1 1 0
- 1 x 0 1
-
- #0 1 $1 _0
- 0 1 1 1"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : hexa formats and non-hexa values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : hexa formats and non-hexa values ***
-
--- Iteration 1 --
-string(125) "2 0 a
- 1e240 x fffffffffffffb2e 4d2
-
- 3039 c fffffffffffffff4 fffffffffffe1dc0
- a 1e240 2 0"
-
--- Iteration 2 --
-string(164) "2 fffffffffffffffe 2
- 1e240 x ffffffffff439a5b bc65a5
-
- bc61b4 127ae7 ffffffffff4732f9 ffffffffff439ede
- 2 1e240 2 fffffffffffffffe"
-
--- Iteration 3 --
-string(90) "0 0 0
- 7b x ffffffffffffff85 7b
-
- 4d2 0 $0 _0
- 0 7b 0 0"
-
--- Iteration 4 --
-string(75) "1 1 1
- 1 x 1 1
-
- #1 1 $1 _1
- 1 1 1 1"
-
--- Iteration 5 --
-string(75) "1 1 0
- 1 x 0 1
-
- #0 1 $1 _0
- 0 1 1 1"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : hexa formats and non-hexa values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : unsigned formats and unsigned values ***
-
--- Iteration 1 --
-string(16) "1234567 342391 0"
-
--- Iteration 2 --
-string(23) "2147483647 u 1234 12345"
-
--- Iteration 3 --
-string(25) " 1234000 2147483647 120"
-
--- Iteration 4 --
-string(10) "#1 0 $0 10"
-
--- Iteration 5 --
-string(7) "1 2 3 4"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : unsigned formats and unsigned values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : unsigned formats and unsigned values ***
-
--- Iteration 1 --
-string(16) "1234567 342391 0"
-
--- Iteration 2 --
-string(24) "12345678900 u 1234 12345"
-
--- Iteration 3 --
-string(34) " 1234000 9223372036854775807 120"
-
--- Iteration 4 --
-string(10) "#1 0 $0 10"
-
--- Iteration 5 --
-string(7) "1 2 3 4"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : unsigned formats and unsigned values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : unsigned formats and signed & other types of values ***
-
--- Iteration 1 --
-string(115) "2 0 10
- 123456 u 1234 2147483647
- 2147483647 2147483647 12345
- 12 4294967284 4294843840 _3
- 10 123456 2 0"
-
--- Iteration 2 --
-string(88) "0 0 0
- 123 u 4294967173 123
- 0 0 0
- 1234 0 $0 _0
- 0 123 0 0"
-
--- Iteration 3 --
-string(76) "1 1 1
- 1 u 1 1
- 1 1 1
- #1 1 $1 _1
- 1 1 1 1"
-
--- Iteration 4 --
-string(76) "1 1 0
- 1 u 0 1
- 1 1 0
- #0 1 $1 _0
- 0 1 1 1"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : unsigned formats and signed & other types of values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : unsigned formats and signed & other types of values ***
-
--- Iteration 1 --
-string(143) "2 0 10
- 123456 u 1234 20000000000
- 2000000000000 22000000000000 12345
- 12 18446744073709551604 18446744073709428160 _3
- 10 123456 2 0"
-
--- Iteration 2 --
-string(98) "0 0 0
- 123 u 18446744073709551493 123
- 0 0 0
- 1234 0 $0 _0
- 0 123 0 0"
-
--- Iteration 3 --
-string(76) "1 1 1
- 1 u 1 1
- 1 1 1
- #1 1 $1 _1
- 1 1 1 1"
-
--- Iteration 4 --
-string(76) "1 1 0
- 1 u 0 1
- 1 1 0
- #0 1 $1 _0
- 0 1 1 1"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : unsigned formats and signed & other types of values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : scientific formats and scientific values ***
-
--- Iteration 1 --
-string(36) "0.000000e+0 +1.000000e+0 1.000000e+3"
-
--- Iteration 2 --
-string(38) "2.200000e+2 e 1.000000e+1 1.000000e+10"
-
--- Iteration 3 --
-string(32) "-2.2000e+13 1.0000e+21 1.2000e+2"
-
--- Iteration 4 --
-string(74) "#########1.000000e+1 1.000000e+2 $$$$$$$$-1.000000e+3 _________1.000000e+2"
-
--- Iteration 5 --
-string(47) "1.000000e+3 2.000000e+3 3.000000e+3 4.000000e+3"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : scientific formats and scientific values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : scientific formats and non-scientific values ***
-
--- Iteration 1 --
-string(232) "2.200000e+0 +2.000000e-1 1.020000e+1
- 1.234562e+5 e -1.234679e+3 1.234679e+3
- 2.0000e+1 2.1220e+2 -4.110000e+11 2.2120e+3
- 1.234578e+4 1.200000e+1 -1.200000e+1 -1.234562e+5
- 1.020000e+1 1.234562e+5 2.200000e+0 2.000000e-1"
-
--- Iteration 2 --
-string(228) "0.000000e+0 +0.000000e+0 0.000000e+0
- 1.230000e+2 e -1.230000e+2 1.230000e+2
- 0.0000e+0 0.0000e+0 1.234560e+5 0.0000e+0
- 1.234000e+3 0.000000e+0 0.000000e+0 0.000000e+0
- 0.000000e+0 1.230000e+2 0.000000e+0 0.000000e+0"
-
--- Iteration 3 --
-string(227) "1.000000e+0 +1.000000e+0 1.000000e+0
- 1.000000e+0 e 1.000000e+0 1.000000e+0
- 1.0000e+0 1.0000e+0 1.000000e+0 1.0000e+0
- 1.000000e+0 1.000000e+0 1.000000e+0 1.000000e+0
- 1.000000e+0 1.000000e+0 1.000000e+0 1.000000e+0"
-
--- Iteration 4 --
-string(227) "1.000000e+0 +1.000000e+0 0.000000e+0
- 1.000000e+0 e 0.000000e+0 1.000000e+0
- 1.0000e+0 0.0000e+0 1.000000e+0 0.0000e+0
- 0.000000e+0 1.000000e+0 1.000000e+0 0.000000e+0
- 0.000000e+0 1.000000e+0 1.000000e+0 1.000000e+0"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : scientific formats and non-scientific values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : with white spaces in format strings ***
-
--- Iteration 1 --
-string(13) "111 222 333"
-
--- Iteration 2 --
-string(29) "1.100000 0.200000 -0.600000"
-
--- Iteration 3 --
-string(29) "1.120000 -1.130000 0.230000"
-
--- Iteration 4 --
-string(9) "1 10 11"
-
--- Iteration 5 --
-string(7) "A B C"
-
--- Iteration 6 --
-string(38) "2.000000e+1 2.000000e-1 -2.000000e+1"
-
--- Iteration 7 --
-string(18) "4294967285 22 33"
-
--- Iteration 8 --
-string(19) "12 37777777755 23"
-
--- Iteration 9 --
-string(16) "11 ffffffde 33"
-
--- Iteration 10 --
-string(16) "11 FFFFFFDE 33"
-
--- Iteration 11 --
-string(38) "2.000000E+1 2.000000E-1 -2.000000E+1"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : with white spaces in format strings ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : with white spaces in format strings ***
-
--- Iteration 1 --
-string(13) "111 222 333"
-
--- Iteration 2 --
-string(29) "1.100000 0.200000 -0.600000"
-
--- Iteration 3 --
-string(29) "1.120000 -1.130000 0.230000"
-
--- Iteration 4 --
-string(9) "1 10 11"
-
--- Iteration 5 --
-string(7) "A B C"
-
--- Iteration 6 --
-string(38) "2.000000e+1 2.000000e-1 -2.000000e+1"
-
--- Iteration 7 --
-string(28) "18446744073709551605 22 33"
-
--- Iteration 8 --
-string(30) "12 1777777777777777777755 23"
-
--- Iteration 9 --
-string(24) "11 ffffffffffffffde 33"
-
--- Iteration 10 --
-string(24) "11 FFFFFFFFFFFFFFDE 33"
-
--- Iteration 11 --
-string(38) "2.000000E+1 2.000000E-1 -2.000000E+1"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : with white spaces in format strings ***
-- Iteration 1 --
--EXPECTF--
*** Testing vsprintf() : with unexpected values for args argument ***
--- Iteration 1 --
-string(1) "0"
-
--- Iteration 2 --
-string(1) "1"
-
--- Iteration 3 --
-string(5) "12345"
-
--- Iteration 4 --
-string(5) "-2345"
-
--- Iteration 5 --
-string(4) "10.5"
-
--- Iteration 6 --
-string(5) "-10.5"
-
--- Iteration 7 --
-string(12) "101234567000"
-
--- Iteration 8 --
-string(13) "1.07654321E-9"
-
--- Iteration 9 --
-string(3) "0.5"
-
--- Iteration 10 --
-
-Warning: vsprintf(): Too few arguments in %s on line %d
-bool(false)
-
--- Iteration 11 --
-
-Warning: vsprintf(): Too few arguments in %s on line %d
-bool(false)
-
--- Iteration 12 --
-string(1) "1"
-
--- Iteration 13 --
-string(0) ""
-
--- Iteration 14 --
-string(1) "1"
-
--- Iteration 15 --
-string(0) ""
-
--- Iteration 16 --
-string(0) ""
-
--- Iteration 17 --
-string(0) ""
-
--- Iteration 18 --
-string(6) "string"
-
--- Iteration 19 --
-string(6) "string"
-
--- Iteration 20 --
-
-Warning: vsprintf(): Too few arguments in %s on line %d
-bool(false)
-
--- Iteration 21 --
-
-Warning: vsprintf(): Too few arguments in %s on line %d
-bool(false)
-
--- Iteration 22 --
-
-Warning: vsprintf(): Too few arguments in %s on line %d
-bool(false)
-
--- Iteration 23 --
-string(%d) "Resource id #%d"
-Done
---UEXPECTF--
-*** Testing vsprintf() : with unexpected values for args argument ***
-
-- Iteration 1 --
unicode(1) "0"
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : int formats with int values ***
-
--- Iteration 1 --
-string(1) "0"
-
--- Iteration 2 --
-string(5) "-1 1 "
-
--- Iteration 3 --
-string(36) "2147483647 d, 2147483640 -2147483640"
-
--- Iteration 4 --
-string(38) " 123456 12345678 -1234567 1234567"
-
--- Iteration 5 --
-string(24) "111 2222 333333 44444444"
-
--- Iteration 6 --
-string(15) "4667 4011 83 10"
-
--- Iteration 7 --
-string(8) "%-5678 d"
-
--- Iteration 8 --
-string(7) "1 2 3 4"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : int formats with int values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : int formats and non-integer values ***
-
--- Iteration 1 --
-string(111) "2 +0 10
- 123456 d -1234 1234
- 2147483647 200000 4000 22000000
- 12345 12 -12 -123456
- 10 123456 2 0"
-
--- Iteration 2 --
-string(92) "0 +0 0
- 123 d -123 123
- 0 0 123456 0000
- 1234 0 $0 _0
- 0 123 0 0"
-
--- Iteration 3 --
-string(81) "1 +1 1
- 1 d 1 1
- 1 1 1 0001
- #1 1 $1 _1
- 1 1 1 1"
-
--- Iteration 4 --
-string(81) "1 +1 0
- 1 d 0 1
- 1 0 1 0000
- #0 1 $1 _0
- 0 1 1 1"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : int formats and non-integer values ***
-- Iteration 1 --
#0 1 $1 _0
0 1 1 1"
Done
-
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : int formats and non-integer values ***
-
--- Iteration 1 --
-string(112) "2 +0 10
- 123456 d -1234 1234
- 20000000000 200000 4000 22000000
- 12345 12 -12 -123456
- 10 123456 2 0"
-
--- Iteration 2 --
-string(92) "0 +0 0
- 123 d -123 123
- 0 0 123456 0000
- 1234 0 $0 _0
- 0 123 0 0"
-
--- Iteration 3 --
-string(81) "1 +1 1
- 1 d 1 1
- 1 1 1 0001
- #1 1 $1 _1
- 1 1 1 1"
-
--- Iteration 4 --
-string(81) "1 +1 0
- 1 d 0 1
- 1 0 1 0000
- #0 1 $1 _0
- 0 1 1 1"
-Done
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : int formats and non-integer values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : int formats with float values ***
-
--- Iteration 1 --
-string(8) "0.000000"
-
--- Iteration 2 --
-string(28) "-0.100000 0.100000 10.000001"
-
--- Iteration 3 --
-string(57) "2147483649.000000 f, 2147483640.000000 -2147483640.000000"
-
--- Iteration 4 --
-string(45) "200000.0000 0.0000 -200000.000000 -0.0000"
-
--- Iteration 5 --
-string(98) "20000.000000 -1999999999999999879418332743206357172224.000000 0.000000 20000000000000000000.000000"
-
--- Iteration 6 --
-string(43) "4667.000000 4011.000000 83.000000 10.000000"
-
--- Iteration 7 --
-string(15) "%-5678.567800 f"
-
--- Iteration 8 --
-string(35) "1.110000 2.220000 3.330000 4.440000"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : int formats with float values ***
-- Iteration 1 --
echo "Done";
?>
---EXPECTF--
-*** Testing vsprintf() : float formats and non-float values ***
-
--- Iteration 1 --
-string(244) "2.000000 -2.000000 2.000000
- 123456.000000 f -12346789.000000 12346789.000000
- 123200.0000 20000.0000 -40000.000000 22212.0000
- 12345780.000000 1211111.000000 -12111111.000000 -12345634.000000
- 2.000000 123456.000000 2.000000 -2.000000"
-
--- Iteration 2 --
-string(196) "0.000000 +0.000000 0.000000
- 123.000000 f -123.000000 123.000000
- 0.0000 0.0000 123456.000000 0.0000
- 1234.000000 0.000000 0.000000 0.000000
- 0.000000 123.000000 0.000000 0.000000"
-
--- Iteration 3 --
-string(179) "1.000000 +1.000000 1.000000
- 1.000000 f 1.000000 1.000000
- 1.0000 1.0000 1.000000 1.0000
- 1.000000 1.000000 1.000000 1.000000
- 1.000000 1.000000 1.000000 1.000000"
-
--- Iteration 4 --
-string(179) "1.000000 +1.000000 0.000000
- 1.000000 f 0.000000 1.000000
- 1.0000 0.0000 1.000000 0.0000
- 0.000000 1.000000 1.000000 0.000000
- 0.000000 1.000000 1.000000 1.000000"
-Done
-
---UEXPECTF--
+--EXPECT--
*** Testing vsprintf() : float formats and non-float values ***
-- Iteration 1 --
--EXPECTF--
*** Testing vsprintf() : string formats and non-string values ***
--- Iteration 1 --
-string(177) "2.2 0.2 10.2
- 123456.234 s -1234.6789 1234.6789
- 2000 2000 -400000000000 2200
- 12345.78 12.000000011111 -12.00000111111 -123456.234
- 10.2 123456.234 2.2 0.2"
-
--- Iteration 2 --
-string(132) "2 -2 2
- 123456 s -12346789 12346789
- 1232 2000 -40000 2221
- 12345780 1211111 -12111111 -12345634
- 2 123456 2 -2"
-
--- Iteration 3 --
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-string(131) "Array Array Array
- Array s Array Array
- Arra Arra Array Arra
- Array Array Array Array
- Array Array Array Array"
-
--- Iteration 4 --
-string(81) "1 1
- 1 s 1
- 1 0001 0000
- #0 1 $1 _0
- 1 1 1"
-Done
-
---UEXPECTF--
-*** Testing vsprintf() : string formats and non-string values ***
-
-- Iteration 1 --
unicode(177) "2.2 0.2 10.2
123456.234 s -1234.6789 1234.6789
var_dump( wordwrap($str, $width, $break, $cut) );
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
*** Testing wordwrap() : basic functionality ***
string(96) "The quick brown foooooooooox jummmmmmmmmmmmped over the lazzzzzzzzzzzy
doooooooooooooooooooooog."
string(3) "0.5"
-- Iteration 10 --
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
--- Iteration 15 --
-string(1) "1"
-string(1) "1"
-string(1) "1"
-string(1) "1"
-string(1) "1"
--- Iteration 16 --
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
--- Iteration 17 --
-string(1) "1"
-string(1) "1"
-string(1) "1"
-string(1) "1"
-string(1) "1"
--- Iteration 18 --
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
--- Iteration 19 --
-
-Warning: wordwrap() expects parameter 1 to be string, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, object given in %s on line %d
-NULL
--- Iteration 20 --
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
--- Iteration 21 --
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
--- Iteration 22 --
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
--- Iteration 23 --
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
--- Iteration 24 --
-
-Warning: wordwrap() expects parameter 1 to be string, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, resource given in %s on line %d
-NULL
--- Iteration 25 --
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
--- Iteration 26 --
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-Done
---UEXPECTF--
-*** Testing wordwrap() : usage variations ***
-
---- Testing wordwrap() by supplying different values for 'str' argument ---
--- Iteration 1 --
-string(1) "0"
-string(1) "0"
-string(1) "0"
-string(1) "0"
-string(1) "0"
--- Iteration 2 --
-string(1) "1"
-string(1) "1"
-string(1) "1"
-string(1) "1"
-string(1) "1"
--- Iteration 3 --
-string(5) "12345"
-string(5) "12345"
-string(5) "12345"
-string(5) "12345"
-string(13) "123<br />\n45"
--- Iteration 4 --
-string(5) "-2345"
-string(5) "-2345"
-string(5) "-2345"
-string(5) "-2345"
-string(13) "-23<br />\n45"
--- Iteration 5 --
-string(4) "10.5"
-string(4) "10.5"
-string(4) "10.5"
-string(4) "10.5"
-string(12) "10.<br />\n5"
--- Iteration 6 --
-string(5) "-10.5"
-string(5) "-10.5"
-string(5) "-10.5"
-string(5) "-10.5"
-string(13) "-10<br />\n.5"
--- Iteration 7 --
-string(12) "101234567000"
-string(12) "101234567000"
-string(12) "101234567000"
-string(12) "101234567000"
-string(36) "101<br />\n234<br />\n567<br />\n000"
--- Iteration 8 --
-string(13) "1.07654321E-9"
-string(13) "1.07654321E-9"
-string(13) "1.07654321E-9"
-string(13) "1.07654321E-9"
-string(45) "1.0<br />\n765<br />\n432<br />\n1E-<br />\n9"
--- Iteration 9 --
-string(3) "0.5"
-string(3) "0.5"
-string(3) "0.5"
-string(3) "0.5"
-string(3) "0.5"
--- Iteration 10 --
-
Warning: wordwrap() expects parameter 1 to be binary string, array given in %s on line %d
NULL
bool(false)
-- Iteration 13 --
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 15 --
-
-Warning: wordwrap() expects parameter 2 to be long, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, object given in %s on line %d
-NULL
--- Iteration 16 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-
-Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
-bool(false)
--- Iteration 17 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-
-Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
-bool(false)
--- Iteration 18 --
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 19 --
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 20 --
-
-Warning: wordwrap() expects parameter 2 to be long, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, resource given in %s on line %d
-NULL
--- Iteration 21 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-
-Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
-bool(false)
--- Iteration 22 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-
-Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing wordwrap() : usage variations ***
-
---- Testing wordwrap() by supplying different values for 'width' argument ---
--- Iteration 1 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-
-Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
-bool(false)
--- Iteration 2 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(223) "<br />\nt<br />\ne<br />\ns<br />\nt<br />\ni<br />\nn<br />\ng<br />\n<br />\nw<br />\no<br />\nr<br />\nd<br />\nw<br />\nr<br />\na<br />\np<br />\n<br />\nf<br />\nu<br />\nn<br />\nc<br />\nt<br />\ni<br />\no<br />\nn"
--- Iteration 3 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(223) "<br />\nt<br />\ne<br />\ns<br />\nt<br />\ni<br />\nn<br />\ng<br />\n<br />\nw<br />\no<br />\nr<br />\nd<br />\nw<br />\nr<br />\na<br />\np<br />\n<br />\nf<br />\nu<br />\nn<br />\nc<br />\nt<br />\ni<br />\no<br />\nn"
--- Iteration 4 --
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 7 --
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 8 --
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 9 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(199) "t<br />\ne<br />\ns<br />\nt<br />\ni<br />\nn<br />\ng<br />\nw<br />\no<br />\nr<br />\nd<br />\nw<br />\nr<br />\na<br />\np<br />\nf<br />\nu<br />\nn<br />\nc<br />\nt<br />\ni<br />\no<br />\nn"
--- Iteration 10 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-
-Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
-bool(false)
--- Iteration 11 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(199) "t<br />\ne<br />\ns<br />\nt<br />\ni<br />\nn<br />\ng<br />\nw<br />\no<br />\nr<br />\nd<br />\nw<br />\nr<br />\na<br />\np<br />\nf<br />\nu<br />\nn<br />\nc<br />\nt<br />\ni<br />\no<br />\nn"
--- Iteration 12 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-
-Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
-bool(false)
--- Iteration 13 --
-
Warning: wordwrap() expects parameter 2 to be long, Unicode string given in %s on line %d
NULL
string(29) "testing0.5wordwrap0.5function"
-- Iteration 10 --
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be 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 string, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be 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 string, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be 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
---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) "testing101234567000wordwrap101234567000function"
-string(47) "testing101234567000wordwrap101234567000function"
-string(47) "testing101234567000wordwrap101234567000function"
--- Iteration 8 --
-string(49) "testing1.07654321E-9wordwrap1.07654321E-9function"
-string(49) "testing1.07654321E-9wordwrap1.07654321E-9function"
-string(49) "testing1.07654321E-9wordwrap1.07654321E-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
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
*** Testing wordwrap() : usage variations ***
-- Testing wordwrap() with default break value and single space as value --
?>
===DONE===
--EXPECTF--
-array(9) {
- ["tm_sec"]=>
- int(0)
- ["tm_min"]=>
- int(0)
- ["tm_hour"]=>
- int(0)
- ["tm_mday"]=>
- int(20)
- ["tm_mon"]=>
- int(7)
- ["tm_year"]=>
- int(106)
- ["tm_wday"]=>
- int(0)
- ["tm_yday"]=>
- int(%d)
- ["unparsed"]=>
- string(0) ""
-}
-===DONE===
---UEXPECTF--
array(9) {
[u"tm_sec"]=>
int(0)
echo "Done";
?>
---EXPECTF--
-Decode an input string containing the whole base64 alphabet:
-string(96) "00108310518720928b30d38f41149351559761969b71d79f8218a39259a7a29aabb2dbafc31cb3d35db7e39ebbf3dfbf"
-string(96) "00108310518720928b30d38f41149351559761969b71d79f8218a39259a7a29aabb2dbafc31cb3d35db7e39ebbf3dfbf"
-string(96) "00108310518720928b30d38f41149351559761969b71d79f8218a39259a7a29aabb2dbafc31cb3d35db7e39ebbf3dfbf"
-Done
---UEXPECTF--
+--EXPECT--
Decode an input string containing the whole base64 alphabet:
unicode(96) "00108310518720928b30d38f41149351559761969b71d79f8218a39259a7a29aabb2dbafc31cb3d35db7e39ebbf3dfbf"
unicode(96) "00108310518720928b30d38f41149351559761969b71d79f8218a39259a7a29aabb2dbafc31cb3d35db7e39ebbf3dfbf"
unicode(96) "00108310518720928b30d38f41149351559761969b71d79f8218a39259a7a29aabb2dbafc31cb3d35db7e39ebbf3dfbf"
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
+--EXPECT--
Decode 'hello world!':
string(12) "hello world!"
string(12) "hello world!"
string(12) "hello world!"
string(12) "hello world!"
bool(false)
-Done
\ No newline at end of file
+Done
bool(false)
Error: 8 - Array to string conversion, %s(72)
-Arg value Array
-Error: 2 - base64_decode() expects parameter 1 to be string, array given, %s(73)
-NULL
-Error: 8 - Array to string conversion, %s(72)
-
-Arg value Array
-Error: 2 - base64_decode() expects parameter 1 to be string, array given, %s(73)
-NULL
-Error: 8 - Array to string conversion, %s(72)
-
-Arg value Array
-Error: 2 - base64_decode() expects parameter 1 to be string, array given, %s(73)
-NULL
-Error: 8 - Array to string conversion, %s(72)
-
-Arg value Array
-Error: 2 - base64_decode() expects parameter 1 to be string, array given, %s(73)
-NULL
-Error: 8 - Array to string conversion, %s(72)
-
-Arg value Array
-Error: 2 - base64_decode() expects parameter 1 to be string, array given, %s(73)
-NULL
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-
-Arg value 1
-string(0) ""
-
-Arg value
-string(0) ""
-
-Arg value 1
-string(0) ""
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-Error: 4096 - Object of class stdClass could not be converted to string, %s(72)
-
-Arg value
-Error: 2 - base64_decode() expects parameter 1 to be string, object given, %s(73)
-NULL
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-Done
---UEXPECTF--
-*** Testing base64_decode() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(63)
-Error: 8 - Undefined variable: unset_var, %s(66)
-
-Arg value 0
-string(0) ""
-
-Arg value 1
-string(0) ""
-
-Arg value 12345
-string(3) "×mø"
-
-Arg value -2345
-bool(false)
-
-Arg value 10.5
-bool(false)
-
-Arg value -10.5
-bool(false)
-
-Arg value 101234567000
-string(9) "×Mvß\8ezïM4"
-
-Arg value 1.07654321E-9
-bool(false)
-
-Arg value 0.5
-bool(false)
-Error: 8 - Array to string conversion, %s(72)
-
Arg value Array
Error: 2 - base64_decode() expects parameter 1 to be binary string, array given, %s(73)
NULL
Arg value
string(12) "hello world!"
Done
---UEXPECTF--
-*** Testing base64_decode() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(67)
-Error: 8 - Undefined variable: unset_var, %s(70)
-
-Arg value 0
-string(12) "hello world!"
-
-Arg value 1
-bool(false)
-
-Arg value 12345
-bool(false)
-
-Arg value -2345
-bool(false)
-
-Arg value 10.5
-bool(false)
-
-Arg value -10.5
-bool(false)
-
-Arg value 101234567000
-bool(false)
-
-Arg value 1.07654321E-9
-bool(false)
-
-Arg value 0.5
-bool(false)
-Error: 8 - Array to string conversion, %s(76)
-
-Arg value Array
-Error: 2 - base64_decode() expects parameter 2 to be boolean, array given, %s(77)
-NULL
-Error: 8 - Array to string conversion, %s(76)
-
-Arg value Array
-Error: 2 - base64_decode() expects parameter 2 to be boolean, array given, %s(77)
-NULL
-Error: 8 - Array to string conversion, %s(76)
-
-Arg value Array
-Error: 2 - base64_decode() expects parameter 2 to be boolean, array given, %s(77)
-NULL
-Error: 8 - Array to string conversion, %s(76)
-
-Arg value Array
-Error: 2 - base64_decode() expects parameter 2 to be boolean, array given, %s(77)
-NULL
-Error: 8 - Array to string conversion, %s(76)
-
-Arg value Array
-Error: 2 - base64_decode() expects parameter 2 to be boolean, array given, %s(77)
-NULL
-
-Arg value
-string(12) "hello world!"
-
-Arg value
-string(12) "hello world!"
-
-Arg value 1
-bool(false)
-
-Arg value
-string(12) "hello world!"
-
-Arg value 1
-bool(false)
-
-Arg value
-string(12) "hello world!"
-
-Arg value
-string(12) "hello world!"
-
-Arg value
-string(12) "hello world!"
-
-Arg value string
-bool(false)
-
-Arg value string
-bool(false)
-Error: 4096 - Object of class stdClass could not be converted to string, %s(76)
-
-Arg value
-Error: 2 - base64_decode() expects parameter 2 to be boolean, object given, %s(77)
-NULL
-
-Arg value
-string(12) "hello world!"
-
-Arg value
-string(12) "hello world!"
-Done
\ No newline at end of file
Warning: base64_encode() expects exactly 1 parameter, 2 given in %s on line 18
NULL
-Done
\ No newline at end of file
+Done
string(4) "MC41"
Error: 8 - Array to string conversion, %s(72)
-Arg value Array
-Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
-NULL
-Error: 8 - Array to string conversion, %s(72)
-
-Arg value Array
-Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
-NULL
-Error: 8 - Array to string conversion, %s(72)
-
-Arg value Array
-Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
-NULL
-Error: 8 - Array to string conversion, %s(72)
-
-Arg value Array
-Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
-NULL
-Error: 8 - Array to string conversion, %s(72)
-
-Arg value Array
-Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
-NULL
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-
-Arg value 1
-string(4) "MQ=="
-
-Arg value
-string(0) ""
-
-Arg value 1
-string(4) "MQ=="
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-Error: 4096 - Object of class stdClass could not be converted to string, %s(72)
-
-Arg value
-Error: 2 - base64_encode() expects parameter 1 to be string, object given, %s(73)
-NULL
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-Done
---UEXPECTF--
-*** Testing base64_encode() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(63)
-Error: 8 - Undefined variable: unset_var, %s(66)
-
-Arg value 0
-string(4) "MA=="
-
-Arg value 1
-string(4) "MQ=="
-
-Arg value 12345
-string(8) "MTIzNDU="
-
-Arg value -2345
-string(8) "LTIzNDU="
-
-Arg value 10.5
-string(8) "MTAuNQ=="
-
-Arg value -10.5
-string(8) "LTEwLjU="
-
-Arg value 101234567000
-string(16) "MTAxMjM0NTY3MDAw"
-
-Arg value 1.07654321E-9
-string(20) "MS4wNzY1NDMyMUUtOQ=="
-
-Arg value 0.5
-string(4) "MC41"
-Error: 8 - Array to string conversion, %s(72)
-
Arg value Array
Error: 2 - base64_encode() expects parameter 1 to be binary string, array given, %s(73)
NULL
?>
--EXPECTF--
---> 64.246.30.37: array(1) {
- ["path"]=>
- string(12) "64.246.30.37"
-}
-
---> http://64.246.30.37: array(2) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(12) "64.246.30.37"
-}
-
---> http://64.246.30.37/: array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(12) "64.246.30.37"
- ["path"]=>
- string(1) "/"
-}
-
---> 64.246.30.37/: array(1) {
- ["path"]=>
- string(13) "64.246.30.37/"
-}
-
---> 64.246.30.37:80/: array(3) {
- ["host"]=>
- string(12) "64.246.30.37"
- ["port"]=>
- int(80)
- ["path"]=>
- string(1) "/"
-}
-
---> php.net: array(1) {
- ["path"]=>
- string(7) "php.net"
-}
-
---> php.net/: array(1) {
- ["path"]=>
- string(8) "php.net/"
-}
-
---> http://php.net: array(2) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(7) "php.net"
-}
-
---> http://php.net/: array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(7) "php.net"
- ["path"]=>
- string(1) "/"
-}
-
---> www.php.net: array(1) {
- ["path"]=>
- string(11) "www.php.net"
-}
-
---> www.php.net/: array(1) {
- ["path"]=>
- string(12) "www.php.net/"
-}
-
---> http://www.php.net: array(2) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
-}
-
---> http://www.php.net/: array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["path"]=>
- string(1) "/"
-}
-
---> www.php.net:80: array(2) {
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
-}
-
---> http://www.php.net:80: array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
-}
-
---> http://www.php.net:80/: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(1) "/"
-}
-
---> http://www.php.net/index.php: array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["path"]=>
- string(10) "/index.php"
-}
-
---> www.php.net/?: array(1) {
- ["path"]=>
- string(12) "www.php.net/"
-}
-
---> www.php.net:80/?: array(3) {
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(1) "/"
-}
-
---> http://www.php.net/?: array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["path"]=>
- string(1) "/"
-}
-
---> http://www.php.net:80/?: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(1) "/"
-}
-
---> http://www.php.net:80/index.php: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(10) "/index.php"
-}
-
---> http://www.php.net:80/foo/bar/index.php: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(18) "/foo/bar/index.php"
-}
-
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
-}
-
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2¶meters=3&too=4&here=5: array(5) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
- ["query"]=>
- string(37) "lots=1&of=2¶meters=3&too=4&here=5"
-}
-
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(45) "/this/is/a/very/deep/directory/structure/and/"
-}
-
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
-}
-
---> http://www.php.net:80/this/../a/../deep/directory: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(28) "/this/../a/../deep/directory"
-}
-
---> http://www.php.net:80/this/../a/../deep/directory/: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(29) "/this/../a/../deep/directory/"
-}
-
---> http://www.php.net:80/this/is/a/very/deep/directory/../file.php: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(42) "/this/is/a/very/deep/directory/../file.php"
-}
-
---> http://www.php.net:80/index.php: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(10) "/index.php"
-}
-
---> http://www.php.net:80/index.php?: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(10) "/index.php"
-}
-
---> http://www.php.net:80/#foo: array(5) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(1) "/"
- ["fragment"]=>
- string(3) "foo"
-}
-
---> http://www.php.net:80/?#: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(1) "/"
-}
-
---> http://www.php.net:80/?test=1: array(5) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(1) "/"
- ["query"]=>
- string(6) "test=1"
-}
-
---> http://www.php.net/?test=1&: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["path"]=>
- string(1) "/"
- ["query"]=>
- string(7) "test=1&"
-}
-
---> http://www.php.net:80/?&: array(5) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(1) "/"
- ["query"]=>
- string(1) "&"
-}
-
---> http://www.php.net:80/index.php?test=1&: array(5) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(7) "test=1&"
-}
-
---> http://www.php.net/index.php?&: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(1) "&"
-}
-
---> http://www.php.net:80/index.php?foo&: array(5) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(4) "foo&"
-}
-
---> http://www.php.net/index.php?&foo: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(4) "&foo"
-}
-
---> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI: array(5) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
-}
-
---> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123: array(5) {
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
-
---> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123: array(7) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["user"]=>
- string(6) "secret"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
-
---> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123: array(6) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["user"]=>
- string(6) "secret"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
-
---> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123: array(7) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["pass"]=>
- string(7) "hideout"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
-
---> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123: array(7) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["user"]=>
- string(6) "secret"
- ["pass"]=>
- string(7) "hideout"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
-
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123: array(7) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["user"]=>
- string(14) "secret@hideout"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
-
---> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123: array(8) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["user"]=>
- string(6) "secret"
- ["pass"]=>
- string(7) "hid:out"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
-
---> nntp://news.php.net: array(2) {
- ["scheme"]=>
- string(4) "nntp"
- ["host"]=>
- string(12) "news.php.net"
-}
-
---> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz: array(3) {
- ["scheme"]=>
- string(3) "ftp"
- ["host"]=>
- string(11) "ftp.gnu.org"
- ["path"]=>
- string(22) "/gnu/glic/glibc.tar.gz"
-}
-
---> zlib:http://foo@bar: array(2) {
- ["scheme"]=>
- string(4) "zlib"
- ["path"]=>
- string(14) "http://foo@bar"
-}
-
---> zlib:filename.txt: array(2) {
- ["scheme"]=>
- string(4) "zlib"
- ["path"]=>
- string(12) "filename.txt"
-}
-
---> zlib:/path/to/my/file/file.txt: array(2) {
- ["scheme"]=>
- string(4) "zlib"
- ["path"]=>
- string(25) "/path/to/my/file/file.txt"
-}
-
---> foo://foo@bar: array(3) {
- ["scheme"]=>
- string(3) "foo"
- ["host"]=>
- string(3) "bar"
- ["user"]=>
- string(3) "foo"
-}
-
---> mailto:me@mydomain.com: array(2) {
- ["scheme"]=>
- string(6) "mailto"
- ["path"]=>
- string(15) "me@mydomain.com"
-}
-
---> /foo.php?a=b&c=d: array(2) {
- ["path"]=>
- string(8) "/foo.php"
- ["query"]=>
- string(7) "a=b&c=d"
-}
-
---> foo.php?a=b&c=d: array(2) {
- ["path"]=>
- string(7) "foo.php"
- ["query"]=>
- string(7) "a=b&c=d"
-}
-
---> http://user:passwd@www.example.com:8080?bar=1&boom=0: array(6) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(15) "www.example.com"
- ["port"]=>
- int(8080)
- ["user"]=>
- string(4) "user"
- ["pass"]=>
- string(6) "passwd"
- ["query"]=>
- string(12) "bar=1&boom=0"
-}
-
---> file:///path/to/file: array(2) {
- ["scheme"]=>
- string(4) "file"
- ["path"]=>
- string(13) "/path/to/file"
-}
-
---> file://path/to/file: array(3) {
- ["scheme"]=>
- string(4) "file"
- ["host"]=>
- string(4) "path"
- ["path"]=>
- string(8) "/to/file"
-}
-
---> file:/path/to/file: array(2) {
- ["scheme"]=>
- string(4) "file"
- ["path"]=>
- string(13) "/path/to/file"
-}
-
---> http://1.2.3.4:/abc.asp?a=1&b=2: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(7) "1.2.3.4"
- ["path"]=>
- string(8) "/abc.asp"
- ["query"]=>
- string(7) "a=1&b=2"
-}
-
---> http://foo.com#bar: array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(7) "foo.com"
- ["fragment"]=>
- string(3) "bar"
-}
-
---> scheme:: array(1) {
- ["scheme"]=>
- string(6) "scheme"
-}
-
---> foo+bar://baz@bang/bla: array(4) {
- ["scheme"]=>
- string(7) "foo+bar"
- ["host"]=>
- string(4) "bang"
- ["user"]=>
- string(3) "baz"
- ["path"]=>
- string(4) "/bla"
-}
-
---> gg:9130731: array(2) {
- ["scheme"]=>
- string(2) "gg"
- ["path"]=>
- string(7) "9130731"
-}
-
---> http://user:@pass@host/path?argument?value#etc: array(7) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(4) "host"
- ["user"]=>
- string(4) "user"
- ["pass"]=>
- string(5) "@pass"
- ["path"]=>
- string(5) "/path"
- ["query"]=>
- string(14) "argument?value"
- ["fragment"]=>
- string(3) "etc"
-}
-
---> http://10.10.10.10/:80: array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "10.10.10.10"
- ["path"]=>
- string(4) "/:80"
-}
-
---> http://x:?: array(2) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(1) "x"
-}
-
---> x:blah.com: array(2) {
- ["scheme"]=>
- string(1) "x"
- ["path"]=>
- string(8) "blah.com"
-}
-
---> x:/blah.com: array(2) {
- ["scheme"]=>
- string(1) "x"
- ["path"]=>
- string(9) "/blah.com"
-}
-
---> x://::abc/?: array(3) {
- ["scheme"]=>
- string(1) "x"
- ["host"]=>
- string(1) ":"
- ["path"]=>
- string(1) "/"
-}
-
---> http://::?: array(2) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(1) ":"
-}
-
---> x://::6.5: array(3) {
- ["scheme"]=>
- string(1) "x"
- ["host"]=>
- string(1) ":"
- ["port"]=>
- int(6)
-}
-
---> http://?:/: array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(1) "?"
- ["path"]=>
- string(1) "/"
-}
-
---> http://@?:/: array(4) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(1) "?"
- ["user"]=>
- string(0) ""
- ["path"]=>
- string(1) "/"
-}
-
---> file:///:: array(2) {
- ["scheme"]=>
- string(4) "file"
- ["path"]=>
- string(2) "/:"
-}
-
---> file:///a:/: array(2) {
- ["scheme"]=>
- string(4) "file"
- ["path"]=>
- string(3) "a:/"
-}
-
---> file:///ab:/: array(2) {
- ["scheme"]=>
- string(4) "file"
- ["path"]=>
- string(5) "/ab:/"
-}
-
---> file:///a:/: array(2) {
- ["scheme"]=>
- string(4) "file"
- ["path"]=>
- string(3) "a:/"
-}
-
---> file:///@:/: array(2) {
- ["scheme"]=>
- string(4) "file"
- ["path"]=>
- string(3) "@:/"
-}
-
---> file:///:80/: array(2) {
- ["scheme"]=>
- string(4) "file"
- ["path"]=>
- string(5) "/:80/"
-}
-
---> []: array(1) {
- ["path"]=>
- string(2) "[]"
-}
-
---> http://[x:80]/: array(3) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(6) "[x:80]"
- ["path"]=>
- string(1) "/"
-}
-
---> : array(1) {
- ["path"]=>
- string(0) ""
-}
-
---> /: array(1) {
- ["path"]=>
- string(1) "/"
-}
-
---> http:///blah.com:
-Warning: parse_url(http:///blah.com): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://:80:
-Warning: parse_url(http://:80): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://user@:80:
-Warning: parse_url(http://user@:80): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://user:pass@:80:
-Warning: parse_url(http://user:pass@:80): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://::
-Warning: parse_url(http://:): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://@/:
-Warning: parse_url(http://@/): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://@:/:
-Warning: parse_url(http://@:/): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://:/:
-Warning: parse_url(http://:/): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://?:
-Warning: parse_url(http://?): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://?::
-Warning: parse_url(http://?:): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://:?:
-Warning: parse_url(http://:?): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://blah.com:123456:
-Warning: parse_url(http://blah.com:123456): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://blah.com:abcdef:
-Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
-bool(false)
-Done
---UEXPECTF--
-
--> 64.246.30.37: array(1) {
[u"path"]=>
unicode(12) "64.246.30.37"
--> http://blah.com:abcdef:
Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
bool(false)
-Done
\ No newline at end of file
+Done
?>
--EXPECTF--
--> 64.246.30.37 : NULL
---> http://64.246.30.37 : string(4) "http"
---> http://64.246.30.37/ : string(4) "http"
---> 64.246.30.37/ : NULL
---> 64.246.30.37:80/ : NULL
---> php.net : NULL
---> php.net/ : NULL
---> http://php.net : string(4) "http"
---> http://php.net/ : string(4) "http"
---> www.php.net : NULL
---> www.php.net/ : NULL
---> http://www.php.net : string(4) "http"
---> http://www.php.net/ : string(4) "http"
---> www.php.net:80 : NULL
---> http://www.php.net:80 : string(4) "http"
---> http://www.php.net:80/ : string(4) "http"
---> http://www.php.net/index.php : string(4) "http"
---> www.php.net/? : NULL
---> www.php.net:80/? : NULL
---> http://www.php.net/? : string(4) "http"
---> http://www.php.net:80/? : string(4) "http"
---> http://www.php.net:80/index.php : string(4) "http"
---> http://www.php.net:80/foo/bar/index.php : string(4) "http"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : string(4) "http"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2¶meters=3&too=4&here=5 : string(4) "http"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/ : string(4) "http"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : string(4) "http"
---> http://www.php.net:80/this/../a/../deep/directory : string(4) "http"
---> http://www.php.net:80/this/../a/../deep/directory/ : string(4) "http"
---> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : string(4) "http"
---> http://www.php.net:80/index.php : string(4) "http"
---> http://www.php.net:80/index.php? : string(4) "http"
---> http://www.php.net:80/#foo : string(4) "http"
---> http://www.php.net:80/?# : string(4) "http"
---> http://www.php.net:80/?test=1 : string(4) "http"
---> http://www.php.net/?test=1& : string(4) "http"
---> http://www.php.net:80/?& : string(4) "http"
---> http://www.php.net:80/index.php?test=1& : string(4) "http"
---> http://www.php.net/index.php?& : string(4) "http"
---> http://www.php.net:80/index.php?foo& : string(4) "http"
---> http://www.php.net/index.php?&foo : string(4) "http"
---> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI : string(4) "http"
---> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : NULL
---> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(4) "http"
---> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(4) "http"
---> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(4) "http"
---> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(4) "http"
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(4) "http"
---> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(4) "http"
---> nntp://news.php.net : string(4) "nntp"
---> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz : string(3) "ftp"
---> zlib:http://foo@bar : string(4) "zlib"
---> zlib:filename.txt : string(4) "zlib"
---> zlib:/path/to/my/file/file.txt : string(4) "zlib"
---> foo://foo@bar : string(3) "foo"
---> mailto:me@mydomain.com : string(6) "mailto"
---> /foo.php?a=b&c=d : NULL
---> foo.php?a=b&c=d : NULL
---> http://user:passwd@www.example.com:8080?bar=1&boom=0 : string(4) "http"
---> file:///path/to/file : string(4) "file"
---> file://path/to/file : string(4) "file"
---> file:/path/to/file : string(4) "file"
---> http://1.2.3.4:/abc.asp?a=1&b=2 : string(4) "http"
---> http://foo.com#bar : string(4) "http"
---> scheme: : string(6) "scheme"
---> foo+bar://baz@bang/bla : string(7) "foo+bar"
---> gg:9130731 : string(2) "gg"
---> http://user:@pass@host/path?argument?value#etc : string(4) "http"
---> http://10.10.10.10/:80 : string(4) "http"
---> http://x:? : string(4) "http"
---> x:blah.com : string(1) "x"
---> x:/blah.com : string(1) "x"
---> x://::abc/? : string(1) "x"
---> http://::? : string(4) "http"
---> x://::6.5 : string(1) "x"
---> http://?:/ : string(4) "http"
---> http://@?:/ : string(4) "http"
---> file:///: : string(4) "file"
---> file:///a:/ : string(4) "file"
---> file:///ab:/ : string(4) "file"
---> file:///a:/ : string(4) "file"
---> file:///@:/ : string(4) "file"
---> file:///:80/ : string(4) "file"
---> [] : NULL
---> http://[x:80]/ : string(4) "http"
---> : NULL
---> / : NULL
---> http:///blah.com :
-Warning: parse_url(http:///blah.com): Unable to parse URL in %s on line 15
-bool(false)
---> http://:80 :
-Warning: parse_url(http://:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user@:80 :
-Warning: parse_url(http://user@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user:pass@:80 :
-Warning: parse_url(http://user:pass@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://: :
-Warning: parse_url(http://:): Unable to parse URL in %s on line 15
-bool(false)
---> http://@/ :
-Warning: parse_url(http://@/): Unable to parse URL in %s on line 15
-bool(false)
---> http://@:/ :
-Warning: parse_url(http://@:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://:/ :
-Warning: parse_url(http://:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://? :
-Warning: parse_url(http://?): Unable to parse URL in %s on line 15
-bool(false)
---> http://?: :
-Warning: parse_url(http://?:): Unable to parse URL in %s on line 15
-bool(false)
---> http://:? :
-Warning: parse_url(http://:?): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:123456 :
-Warning: parse_url(http://blah.com:123456): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:abcdef :
-Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
-bool(false)
-Done
---UEXPECTF--
---> 64.246.30.37 : NULL
--> http://64.246.30.37 : unicode(4) "http"
--> http://64.246.30.37/ : unicode(4) "http"
--> 64.246.30.37/ : NULL
--> http://blah.com:abcdef :
Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
bool(false)
-Done
\ No newline at end of file
+Done
?>
--EXPECTF--
--> 64.246.30.37 : NULL
---> http://64.246.30.37 : string(12) "64.246.30.37"
---> http://64.246.30.37/ : string(12) "64.246.30.37"
---> 64.246.30.37/ : NULL
---> 64.246.30.37:80/ : string(12) "64.246.30.37"
---> php.net : NULL
---> php.net/ : NULL
---> http://php.net : string(7) "php.net"
---> http://php.net/ : string(7) "php.net"
---> www.php.net : NULL
---> www.php.net/ : NULL
---> http://www.php.net : string(11) "www.php.net"
---> http://www.php.net/ : string(11) "www.php.net"
---> www.php.net:80 : string(11) "www.php.net"
---> http://www.php.net:80 : string(11) "www.php.net"
---> http://www.php.net:80/ : string(11) "www.php.net"
---> http://www.php.net/index.php : string(11) "www.php.net"
---> www.php.net/? : NULL
---> www.php.net:80/? : string(11) "www.php.net"
---> http://www.php.net/? : string(11) "www.php.net"
---> http://www.php.net:80/? : string(11) "www.php.net"
---> http://www.php.net:80/index.php : string(11) "www.php.net"
---> http://www.php.net:80/foo/bar/index.php : string(11) "www.php.net"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : string(11) "www.php.net"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2¶meters=3&too=4&here=5 : string(11) "www.php.net"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/ : string(11) "www.php.net"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : string(11) "www.php.net"
---> http://www.php.net:80/this/../a/../deep/directory : string(11) "www.php.net"
---> http://www.php.net:80/this/../a/../deep/directory/ : string(11) "www.php.net"
---> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : string(11) "www.php.net"
---> http://www.php.net:80/index.php : string(11) "www.php.net"
---> http://www.php.net:80/index.php? : string(11) "www.php.net"
---> http://www.php.net:80/#foo : string(11) "www.php.net"
---> http://www.php.net:80/?# : string(11) "www.php.net"
---> http://www.php.net:80/?test=1 : string(11) "www.php.net"
---> http://www.php.net/?test=1& : string(11) "www.php.net"
---> http://www.php.net:80/?& : string(11) "www.php.net"
---> http://www.php.net:80/index.php?test=1& : string(11) "www.php.net"
---> http://www.php.net/index.php?& : string(11) "www.php.net"
---> http://www.php.net:80/index.php?foo& : string(11) "www.php.net"
---> http://www.php.net/index.php?&foo : string(11) "www.php.net"
---> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI : string(11) "www.php.net"
---> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(11) "www.php.net"
---> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(11) "www.php.net"
---> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(11) "www.php.net"
---> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(11) "www.php.net"
---> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(11) "www.php.net"
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(11) "www.php.net"
---> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(11) "www.php.net"
---> nntp://news.php.net : string(12) "news.php.net"
---> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz : string(11) "ftp.gnu.org"
---> zlib:http://foo@bar : NULL
---> zlib:filename.txt : NULL
---> zlib:/path/to/my/file/file.txt : NULL
---> foo://foo@bar : string(3) "bar"
---> mailto:me@mydomain.com : NULL
---> /foo.php?a=b&c=d : NULL
---> foo.php?a=b&c=d : NULL
---> http://user:passwd@www.example.com:8080?bar=1&boom=0 : string(15) "www.example.com"
---> file:///path/to/file : NULL
---> file://path/to/file : string(4) "path"
---> file:/path/to/file : NULL
---> http://1.2.3.4:/abc.asp?a=1&b=2 : string(7) "1.2.3.4"
---> http://foo.com#bar : string(7) "foo.com"
---> scheme: : NULL
---> foo+bar://baz@bang/bla : string(4) "bang"
---> gg:9130731 : NULL
---> http://user:@pass@host/path?argument?value#etc : string(4) "host"
---> http://10.10.10.10/:80 : string(11) "10.10.10.10"
---> http://x:? : string(1) "x"
---> x:blah.com : NULL
---> x:/blah.com : NULL
---> x://::abc/? : string(1) ":"
---> http://::? : string(1) ":"
---> x://::6.5 : string(1) ":"
---> http://?:/ : string(1) "?"
---> http://@?:/ : string(1) "?"
---> file:///: : NULL
---> file:///a:/ : NULL
---> file:///ab:/ : NULL
---> file:///a:/ : NULL
---> file:///@:/ : NULL
---> file:///:80/ : NULL
---> [] : NULL
---> http://[x:80]/ : string(6) "[x:80]"
---> : NULL
---> / : NULL
---> http:///blah.com :
-Warning: parse_url(http:///blah.com): Unable to parse URL in %s on line 15
-bool(false)
---> http://:80 :
-Warning: parse_url(http://:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user@:80 :
-Warning: parse_url(http://user@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user:pass@:80 :
-Warning: parse_url(http://user:pass@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://: :
-Warning: parse_url(http://:): Unable to parse URL in %s on line 15
-bool(false)
---> http://@/ :
-Warning: parse_url(http://@/): Unable to parse URL in %s on line 15
-bool(false)
---> http://@:/ :
-Warning: parse_url(http://@:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://:/ :
-Warning: parse_url(http://:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://? :
-Warning: parse_url(http://?): Unable to parse URL in %s on line 15
-bool(false)
---> http://?: :
-Warning: parse_url(http://?:): Unable to parse URL in %s on line 15
-bool(false)
---> http://:? :
-Warning: parse_url(http://:?): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:123456 :
-Warning: parse_url(http://blah.com:123456): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:abcdef :
-Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
-bool(false)
-Done
---UEXPECTF--
---> 64.246.30.37 : NULL
--> http://64.246.30.37 : unicode(12) "64.246.30.37"
--> http://64.246.30.37/ : unicode(12) "64.246.30.37"
--> 64.246.30.37/ : NULL
--> http://blah.com:abcdef :
Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
bool(false)
-Done
\ No newline at end of file
+Done
--> http://blah.com:abcdef :
Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
bool(false)
-Done
\ No newline at end of file
+Done
--> http://www.php.net/index.php?&foo : NULL
--> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI : NULL
--> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : NULL
---> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(6) "secret"
---> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(6) "secret"
---> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : NULL
---> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(6) "secret"
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(14) "secret@hideout"
---> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(6) "secret"
---> nntp://news.php.net : NULL
---> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz : NULL
---> zlib:http://foo@bar : NULL
---> zlib:filename.txt : NULL
---> zlib:/path/to/my/file/file.txt : NULL
---> foo://foo@bar : string(3) "foo"
---> mailto:me@mydomain.com : NULL
---> /foo.php?a=b&c=d : NULL
---> foo.php?a=b&c=d : NULL
---> http://user:passwd@www.example.com:8080?bar=1&boom=0 : string(4) "user"
---> file:///path/to/file : NULL
---> file://path/to/file : NULL
---> file:/path/to/file : NULL
---> http://1.2.3.4:/abc.asp?a=1&b=2 : NULL
---> http://foo.com#bar : NULL
---> scheme: : NULL
---> foo+bar://baz@bang/bla : string(3) "baz"
---> gg:9130731 : NULL
---> http://user:@pass@host/path?argument?value#etc : string(4) "user"
---> http://10.10.10.10/:80 : NULL
---> http://x:? : NULL
---> x:blah.com : NULL
---> x:/blah.com : NULL
---> x://::abc/? : NULL
---> http://::? : NULL
---> x://::6.5 : NULL
---> http://?:/ : NULL
---> http://@?:/ : string(0) ""
---> file:///: : NULL
---> file:///a:/ : NULL
---> file:///ab:/ : NULL
---> file:///a:/ : NULL
---> file:///@:/ : NULL
---> file:///:80/ : NULL
---> [] : NULL
---> http://[x:80]/ : NULL
---> : NULL
---> / : NULL
---> http:///blah.com :
-Warning: parse_url(http:///blah.com): Unable to parse URL in %s on line 15
-bool(false)
---> http://:80 :
-Warning: parse_url(http://:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user@:80 :
-Warning: parse_url(http://user@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user:pass@:80 :
-Warning: parse_url(http://user:pass@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://: :
-Warning: parse_url(http://:): Unable to parse URL in %s on line 15
-bool(false)
---> http://@/ :
-Warning: parse_url(http://@/): Unable to parse URL in %s on line 15
-bool(false)
---> http://@:/ :
-Warning: parse_url(http://@:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://:/ :
-Warning: parse_url(http://:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://? :
-Warning: parse_url(http://?): Unable to parse URL in %s on line 15
-bool(false)
---> http://?: :
-Warning: parse_url(http://?:): Unable to parse URL in %s on line 15
-bool(false)
---> http://:? :
-Warning: parse_url(http://:?): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:123456 :
-Warning: parse_url(http://blah.com:123456): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:abcdef :
-Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
-bool(false)
-Done
---UEXPECTF--
---> 64.246.30.37 : NULL
---> http://64.246.30.37 : NULL
---> http://64.246.30.37/ : NULL
---> 64.246.30.37/ : NULL
---> 64.246.30.37:80/ : NULL
---> php.net : NULL
---> php.net/ : NULL
---> http://php.net : NULL
---> http://php.net/ : NULL
---> www.php.net : NULL
---> www.php.net/ : NULL
---> http://www.php.net : NULL
---> http://www.php.net/ : NULL
---> www.php.net:80 : NULL
---> http://www.php.net:80 : NULL
---> http://www.php.net:80/ : NULL
---> http://www.php.net/index.php : NULL
---> www.php.net/? : NULL
---> www.php.net:80/? : NULL
---> http://www.php.net/? : NULL
---> http://www.php.net:80/? : NULL
---> http://www.php.net:80/index.php : NULL
---> http://www.php.net:80/foo/bar/index.php : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2¶meters=3&too=4&here=5 : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/ : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : NULL
---> http://www.php.net:80/this/../a/../deep/directory : NULL
---> http://www.php.net:80/this/../a/../deep/directory/ : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : NULL
---> http://www.php.net:80/index.php : NULL
---> http://www.php.net:80/index.php? : NULL
---> http://www.php.net:80/#foo : NULL
---> http://www.php.net:80/?# : NULL
---> http://www.php.net:80/?test=1 : NULL
---> http://www.php.net/?test=1& : NULL
---> http://www.php.net:80/?& : NULL
---> http://www.php.net:80/index.php?test=1& : NULL
---> http://www.php.net/index.php?& : NULL
---> http://www.php.net:80/index.php?foo& : NULL
---> http://www.php.net/index.php?&foo : NULL
---> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI : NULL
---> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : NULL
--> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : unicode(6) "secret"
--> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : unicode(6) "secret"
--> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : NULL
--> http://blah.com:abcdef :
Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
bool(false)
-Done
\ No newline at end of file
+Done
--> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : NULL
--> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : NULL
--> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : NULL
---> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(7) "hideout"
---> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(7) "hideout"
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : NULL
---> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(7) "hid:out"
---> nntp://news.php.net : NULL
---> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz : NULL
---> zlib:http://foo@bar : NULL
---> zlib:filename.txt : NULL
---> zlib:/path/to/my/file/file.txt : NULL
---> foo://foo@bar : NULL
---> mailto:me@mydomain.com : NULL
---> /foo.php?a=b&c=d : NULL
---> foo.php?a=b&c=d : NULL
---> http://user:passwd@www.example.com:8080?bar=1&boom=0 : string(6) "passwd"
---> file:///path/to/file : NULL
---> file://path/to/file : NULL
---> file:/path/to/file : NULL
---> http://1.2.3.4:/abc.asp?a=1&b=2 : NULL
---> http://foo.com#bar : NULL
---> scheme: : NULL
---> foo+bar://baz@bang/bla : NULL
---> gg:9130731 : NULL
---> http://user:@pass@host/path?argument?value#etc : string(5) "@pass"
---> http://10.10.10.10/:80 : NULL
---> http://x:? : NULL
---> x:blah.com : NULL
---> x:/blah.com : NULL
---> x://::abc/? : NULL
---> http://::? : NULL
---> x://::6.5 : NULL
---> http://?:/ : NULL
---> http://@?:/ : NULL
---> file:///: : NULL
---> file:///a:/ : NULL
---> file:///ab:/ : NULL
---> file:///a:/ : NULL
---> file:///@:/ : NULL
---> file:///:80/ : NULL
---> [] : NULL
---> http://[x:80]/ : NULL
---> : NULL
---> / : NULL
---> http:///blah.com :
-Warning: parse_url(http:///blah.com): Unable to parse URL in %s on line 15
-bool(false)
---> http://:80 :
-Warning: parse_url(http://:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user@:80 :
-Warning: parse_url(http://user@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user:pass@:80 :
-Warning: parse_url(http://user:pass@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://: :
-Warning: parse_url(http://:): Unable to parse URL in %s on line 15
-bool(false)
---> http://@/ :
-Warning: parse_url(http://@/): Unable to parse URL in %s on line 15
-bool(false)
---> http://@:/ :
-Warning: parse_url(http://@:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://:/ :
-Warning: parse_url(http://:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://? :
-Warning: parse_url(http://?): Unable to parse URL in %s on line 15
-bool(false)
---> http://?: :
-Warning: parse_url(http://?:): Unable to parse URL in %s on line 15
-bool(false)
---> http://:? :
-Warning: parse_url(http://:?): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:123456 :
-Warning: parse_url(http://blah.com:123456): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:abcdef :
-Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
-bool(false)
-Done
---UEXPECTF--
---> 64.246.30.37 : NULL
---> http://64.246.30.37 : NULL
---> http://64.246.30.37/ : NULL
---> 64.246.30.37/ : NULL
---> 64.246.30.37:80/ : NULL
---> php.net : NULL
---> php.net/ : NULL
---> http://php.net : NULL
---> http://php.net/ : NULL
---> www.php.net : NULL
---> www.php.net/ : NULL
---> http://www.php.net : NULL
---> http://www.php.net/ : NULL
---> www.php.net:80 : NULL
---> http://www.php.net:80 : NULL
---> http://www.php.net:80/ : NULL
---> http://www.php.net/index.php : NULL
---> www.php.net/? : NULL
---> www.php.net:80/? : NULL
---> http://www.php.net/? : NULL
---> http://www.php.net:80/? : NULL
---> http://www.php.net:80/index.php : NULL
---> http://www.php.net:80/foo/bar/index.php : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2¶meters=3&too=4&here=5 : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/ : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : NULL
---> http://www.php.net:80/this/../a/../deep/directory : NULL
---> http://www.php.net:80/this/../a/../deep/directory/ : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : NULL
---> http://www.php.net:80/index.php : NULL
---> http://www.php.net:80/index.php? : NULL
---> http://www.php.net:80/#foo : NULL
---> http://www.php.net:80/?# : NULL
---> http://www.php.net:80/?test=1 : NULL
---> http://www.php.net/?test=1& : NULL
---> http://www.php.net:80/?& : NULL
---> http://www.php.net:80/index.php?test=1& : NULL
---> http://www.php.net/index.php?& : NULL
---> http://www.php.net:80/index.php?foo& : NULL
---> http://www.php.net/index.php?&foo : NULL
---> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI : NULL
---> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : NULL
---> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : NULL
---> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : NULL
--> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : unicode(7) "hideout"
--> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : unicode(7) "hideout"
--> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : NULL
--> http://blah.com:abcdef :
Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
bool(false)
-Done
\ No newline at end of file
+Done
echo "Done";
?>
--EXPECTF--
---> 64.246.30.37 : string(12) "64.246.30.37"
---> http://64.246.30.37 : NULL
---> http://64.246.30.37/ : string(1) "/"
---> 64.246.30.37/ : string(13) "64.246.30.37/"
---> 64.246.30.37:80/ : string(1) "/"
---> php.net : string(7) "php.net"
---> php.net/ : string(8) "php.net/"
---> http://php.net : NULL
---> http://php.net/ : string(1) "/"
---> www.php.net : string(11) "www.php.net"
---> www.php.net/ : string(12) "www.php.net/"
---> http://www.php.net : NULL
---> http://www.php.net/ : string(1) "/"
---> www.php.net:80 : NULL
---> http://www.php.net:80 : NULL
---> http://www.php.net:80/ : string(1) "/"
---> http://www.php.net/index.php : string(10) "/index.php"
---> www.php.net/? : string(12) "www.php.net/"
---> www.php.net:80/? : string(1) "/"
---> http://www.php.net/? : string(1) "/"
---> http://www.php.net:80/? : string(1) "/"
---> http://www.php.net:80/index.php : string(10) "/index.php"
---> http://www.php.net:80/foo/bar/index.php : string(18) "/foo/bar/index.php"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2¶meters=3&too=4&here=5 : string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/ : string(45) "/this/is/a/very/deep/directory/structure/and/"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
---> http://www.php.net:80/this/../a/../deep/directory : string(28) "/this/../a/../deep/directory"
---> http://www.php.net:80/this/../a/../deep/directory/ : string(29) "/this/../a/../deep/directory/"
---> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : string(42) "/this/is/a/very/deep/directory/../file.php"
---> http://www.php.net:80/index.php : string(10) "/index.php"
---> http://www.php.net:80/index.php? : string(10) "/index.php"
---> http://www.php.net:80/#foo : string(1) "/"
---> http://www.php.net:80/?# : string(1) "/"
---> http://www.php.net:80/?test=1 : string(1) "/"
---> http://www.php.net/?test=1& : string(1) "/"
---> http://www.php.net:80/?& : string(1) "/"
---> http://www.php.net:80/index.php?test=1& : string(10) "/index.php"
---> http://www.php.net/index.php?& : string(10) "/index.php"
---> http://www.php.net:80/index.php?foo& : string(10) "/index.php"
---> http://www.php.net/index.php?&foo : string(10) "/index.php"
---> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI : string(10) "/index.php"
---> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(10) "/index.php"
---> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(10) "/index.php"
---> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(10) "/index.php"
---> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(10) "/index.php"
---> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(10) "/index.php"
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(10) "/index.php"
---> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(10) "/index.php"
---> nntp://news.php.net : NULL
---> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz : string(22) "/gnu/glic/glibc.tar.gz"
---> zlib:http://foo@bar : string(14) "http://foo@bar"
---> zlib:filename.txt : string(12) "filename.txt"
---> zlib:/path/to/my/file/file.txt : string(25) "/path/to/my/file/file.txt"
---> foo://foo@bar : NULL
---> mailto:me@mydomain.com : string(15) "me@mydomain.com"
---> /foo.php?a=b&c=d : string(8) "/foo.php"
---> foo.php?a=b&c=d : string(7) "foo.php"
---> http://user:passwd@www.example.com:8080?bar=1&boom=0 : NULL
---> file:///path/to/file : string(13) "/path/to/file"
---> file://path/to/file : string(8) "/to/file"
---> file:/path/to/file : string(13) "/path/to/file"
---> http://1.2.3.4:/abc.asp?a=1&b=2 : string(8) "/abc.asp"
---> http://foo.com#bar : NULL
---> scheme: : NULL
---> foo+bar://baz@bang/bla : string(4) "/bla"
---> gg:9130731 : string(7) "9130731"
---> http://user:@pass@host/path?argument?value#etc : string(5) "/path"
---> http://10.10.10.10/:80 : string(4) "/:80"
---> http://x:? : NULL
---> x:blah.com : string(8) "blah.com"
---> x:/blah.com : string(9) "/blah.com"
---> x://::abc/? : string(1) "/"
---> http://::? : NULL
---> x://::6.5 : NULL
---> http://?:/ : string(1) "/"
---> http://@?:/ : string(1) "/"
---> file:///: : string(2) "/:"
---> file:///a:/ : string(3) "a:/"
---> file:///ab:/ : string(5) "/ab:/"
---> file:///a:/ : string(3) "a:/"
---> file:///@:/ : string(3) "@:/"
---> file:///:80/ : string(5) "/:80/"
---> [] : string(2) "[]"
---> http://[x:80]/ : string(1) "/"
---> : string(0) ""
---> / : string(1) "/"
---> http:///blah.com :
-Warning: parse_url(http:///blah.com): Unable to parse URL in %s on line 15
-bool(false)
---> http://:80 :
-Warning: parse_url(http://:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user@:80 :
-Warning: parse_url(http://user@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user:pass@:80 :
-Warning: parse_url(http://user:pass@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://: :
-Warning: parse_url(http://:): Unable to parse URL in %s on line 15
-bool(false)
---> http://@/ :
-Warning: parse_url(http://@/): Unable to parse URL in %s on line 15
-bool(false)
---> http://@:/ :
-Warning: parse_url(http://@:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://:/ :
-Warning: parse_url(http://:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://? :
-Warning: parse_url(http://?): Unable to parse URL in %s on line 15
-bool(false)
---> http://?: :
-Warning: parse_url(http://?:): Unable to parse URL in %s on line 15
-bool(false)
---> http://:? :
-Warning: parse_url(http://:?): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:123456 :
-Warning: parse_url(http://blah.com:123456): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:abcdef :
-Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
-bool(false)
-Done
---UEXPECTF--
--> 64.246.30.37 : unicode(12) "64.246.30.37"
--> http://64.246.30.37 : NULL
--> http://64.246.30.37/ : unicode(1) "/"
--> http://blah.com:abcdef :
Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
bool(false)
-Done
\ No newline at end of file
+Done
--> http://www.php.net:80/index.php : NULL
--> http://www.php.net:80/foo/bar/index.php : NULL
--> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2¶meters=3&too=4&here=5 : string(37) "lots=1&of=2¶meters=3&too=4&here=5"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/ : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : NULL
---> http://www.php.net:80/this/../a/../deep/directory : NULL
---> http://www.php.net:80/this/../a/../deep/directory/ : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : NULL
---> http://www.php.net:80/index.php : NULL
---> http://www.php.net:80/index.php? : NULL
---> http://www.php.net:80/#foo : NULL
---> http://www.php.net:80/?# : NULL
---> http://www.php.net:80/?test=1 : string(6) "test=1"
---> http://www.php.net/?test=1& : string(7) "test=1&"
---> http://www.php.net:80/?& : string(1) "&"
---> http://www.php.net:80/index.php?test=1& : string(7) "test=1&"
---> http://www.php.net/index.php?& : string(1) "&"
---> http://www.php.net:80/index.php?foo& : string(4) "foo&"
---> http://www.php.net/index.php?&foo : string(4) "&foo"
---> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI : string(31) "test=1&test2=char&test3=mixesCI"
---> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(31) "test=1&test2=char&test3=mixesCI"
---> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(31) "test=1&test2=char&test3=mixesCI"
---> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(31) "test=1&test2=char&test3=mixesCI"
---> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(31) "test=1&test2=char&test3=mixesCI"
---> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(31) "test=1&test2=char&test3=mixesCI"
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(31) "test=1&test2=char&test3=mixesCI"
---> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(31) "test=1&test2=char&test3=mixesCI"
---> nntp://news.php.net : NULL
---> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz : NULL
---> zlib:http://foo@bar : NULL
---> zlib:filename.txt : NULL
---> zlib:/path/to/my/file/file.txt : NULL
---> foo://foo@bar : NULL
---> mailto:me@mydomain.com : NULL
---> /foo.php?a=b&c=d : string(7) "a=b&c=d"
---> foo.php?a=b&c=d : string(7) "a=b&c=d"
---> http://user:passwd@www.example.com:8080?bar=1&boom=0 : string(12) "bar=1&boom=0"
---> file:///path/to/file : NULL
---> file://path/to/file : NULL
---> file:/path/to/file : NULL
---> http://1.2.3.4:/abc.asp?a=1&b=2 : string(7) "a=1&b=2"
---> http://foo.com#bar : NULL
---> scheme: : NULL
---> foo+bar://baz@bang/bla : NULL
---> gg:9130731 : NULL
---> http://user:@pass@host/path?argument?value#etc : string(14) "argument?value"
---> http://10.10.10.10/:80 : NULL
---> http://x:? : NULL
---> x:blah.com : NULL
---> x:/blah.com : NULL
---> x://::abc/? : NULL
---> http://::? : NULL
---> x://::6.5 : NULL
---> http://?:/ : NULL
---> http://@?:/ : NULL
---> file:///: : NULL
---> file:///a:/ : NULL
---> file:///ab:/ : NULL
---> file:///a:/ : NULL
---> file:///@:/ : NULL
---> file:///:80/ : NULL
---> [] : NULL
---> http://[x:80]/ : NULL
---> : NULL
---> / : NULL
---> http:///blah.com :
-Warning: parse_url(http:///blah.com): Unable to parse URL in %s on line 15
-bool(false)
---> http://:80 :
-Warning: parse_url(http://:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user@:80 :
-Warning: parse_url(http://user@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user:pass@:80 :
-Warning: parse_url(http://user:pass@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://: :
-Warning: parse_url(http://:): Unable to parse URL in %s on line 15
-bool(false)
---> http://@/ :
-Warning: parse_url(http://@/): Unable to parse URL in %s on line 15
-bool(false)
---> http://@:/ :
-Warning: parse_url(http://@:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://:/ :
-Warning: parse_url(http://:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://? :
-Warning: parse_url(http://?): Unable to parse URL in %s on line 15
-bool(false)
---> http://?: :
-Warning: parse_url(http://?:): Unable to parse URL in %s on line 15
-bool(false)
---> http://:? :
-Warning: parse_url(http://:?): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:123456 :
-Warning: parse_url(http://blah.com:123456): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:abcdef :
-Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
-bool(false)
-Done
---UEXPECTF--
---> 64.246.30.37 : NULL
---> http://64.246.30.37 : NULL
---> http://64.246.30.37/ : NULL
---> 64.246.30.37/ : NULL
---> 64.246.30.37:80/ : NULL
---> php.net : NULL
---> php.net/ : NULL
---> http://php.net : NULL
---> http://php.net/ : NULL
---> www.php.net : NULL
---> www.php.net/ : NULL
---> http://www.php.net : NULL
---> http://www.php.net/ : NULL
---> www.php.net:80 : NULL
---> http://www.php.net:80 : NULL
---> http://www.php.net:80/ : NULL
---> http://www.php.net/index.php : NULL
---> www.php.net/? : NULL
---> www.php.net:80/? : NULL
---> http://www.php.net/? : NULL
---> http://www.php.net:80/? : NULL
---> http://www.php.net:80/index.php : NULL
---> http://www.php.net:80/foo/bar/index.php : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : NULL
--> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2¶meters=3&too=4&here=5 : unicode(37) "lots=1&of=2¶meters=3&too=4&here=5"
--> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/ : NULL
--> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : NULL
--> http://blah.com:abcdef :
Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
bool(false)
-Done
\ No newline at end of file
+Done
--> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : NULL
--> http://www.php.net:80/index.php : NULL
--> http://www.php.net:80/index.php? : NULL
---> http://www.php.net:80/#foo : string(3) "foo"
---> http://www.php.net:80/?# : NULL
---> http://www.php.net:80/?test=1 : NULL
---> http://www.php.net/?test=1& : NULL
---> http://www.php.net:80/?& : NULL
---> http://www.php.net:80/index.php?test=1& : NULL
---> http://www.php.net/index.php?& : NULL
---> http://www.php.net:80/index.php?foo& : NULL
---> http://www.php.net/index.php?&foo : NULL
---> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI : NULL
---> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(16) "some_page_ref123"
---> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(16) "some_page_ref123"
---> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(16) "some_page_ref123"
---> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(16) "some_page_ref123"
---> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(16) "some_page_ref123"
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(16) "some_page_ref123"
---> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123 : string(16) "some_page_ref123"
---> nntp://news.php.net : NULL
---> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz : NULL
---> zlib:http://foo@bar : NULL
---> zlib:filename.txt : NULL
---> zlib:/path/to/my/file/file.txt : NULL
---> foo://foo@bar : NULL
---> mailto:me@mydomain.com : NULL
---> /foo.php?a=b&c=d : NULL
---> foo.php?a=b&c=d : NULL
---> http://user:passwd@www.example.com:8080?bar=1&boom=0 : NULL
---> file:///path/to/file : NULL
---> file://path/to/file : NULL
---> file:/path/to/file : NULL
---> http://1.2.3.4:/abc.asp?a=1&b=2 : NULL
---> http://foo.com#bar : string(3) "bar"
---> scheme: : NULL
---> foo+bar://baz@bang/bla : NULL
---> gg:9130731 : NULL
---> http://user:@pass@host/path?argument?value#etc : string(3) "etc"
---> http://10.10.10.10/:80 : NULL
---> http://x:? : NULL
---> x:blah.com : NULL
---> x:/blah.com : NULL
---> x://::abc/? : NULL
---> http://::? : NULL
---> x://::6.5 : NULL
---> http://?:/ : NULL
---> http://@?:/ : NULL
---> file:///: : NULL
---> file:///a:/ : NULL
---> file:///ab:/ : NULL
---> file:///a:/ : NULL
---> file:///@:/ : NULL
---> file:///:80/ : NULL
---> [] : NULL
---> http://[x:80]/ : NULL
---> : NULL
---> / : NULL
---> http:///blah.com :
-Warning: parse_url(http:///blah.com): Unable to parse URL in %s on line 15
-bool(false)
---> http://:80 :
-Warning: parse_url(http://:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user@:80 :
-Warning: parse_url(http://user@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user:pass@:80 :
-Warning: parse_url(http://user:pass@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://: :
-Warning: parse_url(http://:): Unable to parse URL in %s on line 15
-bool(false)
---> http://@/ :
-Warning: parse_url(http://@/): Unable to parse URL in %s on line 15
-bool(false)
---> http://@:/ :
-Warning: parse_url(http://@:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://:/ :
-Warning: parse_url(http://:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://? :
-Warning: parse_url(http://?): Unable to parse URL in %s on line 15
-bool(false)
---> http://?: :
-Warning: parse_url(http://?:): Unable to parse URL in %s on line 15
-bool(false)
---> http://:? :
-Warning: parse_url(http://:?): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:123456 :
-Warning: parse_url(http://blah.com:123456): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:abcdef :
-Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
-bool(false)
-Done
---UEXPECTF--
---> 64.246.30.37 : NULL
---> http://64.246.30.37 : NULL
---> http://64.246.30.37/ : NULL
---> 64.246.30.37/ : NULL
---> 64.246.30.37:80/ : NULL
---> php.net : NULL
---> php.net/ : NULL
---> http://php.net : NULL
---> http://php.net/ : NULL
---> www.php.net : NULL
---> www.php.net/ : NULL
---> http://www.php.net : NULL
---> http://www.php.net/ : NULL
---> www.php.net:80 : NULL
---> http://www.php.net:80 : NULL
---> http://www.php.net:80/ : NULL
---> http://www.php.net/index.php : NULL
---> www.php.net/? : NULL
---> www.php.net:80/? : NULL
---> http://www.php.net/? : NULL
---> http://www.php.net:80/? : NULL
---> http://www.php.net:80/index.php : NULL
---> http://www.php.net:80/foo/bar/index.php : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2¶meters=3&too=4&here=5 : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/ : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : NULL
---> http://www.php.net:80/this/../a/../deep/directory : NULL
---> http://www.php.net:80/this/../a/../deep/directory/ : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : NULL
---> http://www.php.net:80/index.php : NULL
---> http://www.php.net:80/index.php? : NULL
--> http://www.php.net:80/#foo : unicode(3) "foo"
--> http://www.php.net:80/?# : NULL
--> http://www.php.net:80/?test=1 : NULL
--> http://blah.com:abcdef :
Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
bool(false)
-Done
\ No newline at end of file
+Done
echo "Done";
?>
---EXPECTF--
+--EXPECT--
PHP_URL_SCHEME: 0
PHP_URL_HOST: 1
PHP_URL_PORT: 2
PHP_URL_PATH: 5
PHP_URL_QUERY: 6
PHP_URL_FRAGMENT: 7
-Done
\ No newline at end of file
+Done
Warning: parse_url() expects at most 2 parameters, 3 given in %s on line 19
NULL
-Done
\ No newline at end of file
+Done
?>
--EXPECTF--
*** Testing parse_url() : error conditions: url component specifier out of range ***
---> Below range:array(8) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["user"]=>
- string(6) "secret"
- ["pass"]=>
- string(7) "hideout"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
-
-
---> Above range:
-Warning: parse_url(): Invalid URL component identifier 99 in %s on line 15
-bool(false)
-Done
---UEXPECTF--
-*** Testing parse_url() : error conditions: url component specifier out of range ***
--> Below range:array(8) {
[u"scheme"]=>
unicode(4) "http"
--> Above range:
Warning: parse_url(): Invalid URL component identifier 99 in %s on line 15
bool(false)
-Done
\ No newline at end of file
+Done
Error: 8 - Undefined variable: undefined_var, %s(60)
Error: 8 - Undefined variable: unset_var, %s(63)
-Arg value 0
-array(1) {
- ["path"]=>
- string(1) "0"
-}
-
-Arg value 1
-array(1) {
- ["path"]=>
- string(1) "1"
-}
-
-Arg value 12345
-array(1) {
- ["path"]=>
- string(5) "12345"
-}
-
-Arg value -2345
-array(1) {
- ["path"]=>
- string(5) "-2345"
-}
-
-Arg value 10.5
-array(1) {
- ["path"]=>
- string(4) "10.5"
-}
-
-Arg value -10.5
-array(1) {
- ["path"]=>
- string(5) "-10.5"
-}
-
-Arg value 101234567000
-array(1) {
- ["path"]=>
- string(12) "101234567000"
-}
-
-Arg value 1.07654321E-9
-array(1) {
- ["path"]=>
- string(13) "1.07654321E-9"
-}
-
-Arg value 0.5
-array(1) {
- ["path"]=>
- string(3) "0.5"
-}
-Error: 8 - Array to string conversion, %s(69)
-
-Arg value Array
-Error: 2 - parse_url() expects parameter 1 to be string (Unicode or binary), array given, %s(70)
-NULL
-Error: 8 - Array to string conversion, %s(69)
-
-Arg value Array
-Error: 2 - parse_url() expects parameter 1 to be string (Unicode or binary), array given, %s(70)
-NULL
-Error: 8 - Array to string conversion, %s(69)
-
-Arg value Array
-Error: 2 - parse_url() expects parameter 1 to be string (Unicode or binary), array given, %s(70)
-NULL
-Error: 8 - Array to string conversion, %s(69)
-
-Arg value Array
-Error: 2 - parse_url() expects parameter 1 to be string (Unicode or binary), array given, %s(70)
-NULL
-Error: 8 - Array to string conversion, %s(69)
-
-Arg value Array
-Error: 2 - parse_url() expects parameter 1 to be string (Unicode or binary), array given, %s(70)
-NULL
-
-Arg value
-array(1) {
- ["path"]=>
- string(0) ""
-}
-
-Arg value
-array(1) {
- ["path"]=>
- string(0) ""
-}
-
-Arg value 1
-array(1) {
- ["path"]=>
- string(1) "1"
-}
-
-Arg value
-array(1) {
- ["path"]=>
- string(0) ""
-}
-
-Arg value 1
-array(1) {
- ["path"]=>
- string(1) "1"
-}
-
-Arg value
-array(1) {
- ["path"]=>
- string(0) ""
-}
-
-Arg value
-array(1) {
- ["path"]=>
- string(0) ""
-}
-
-Arg value
-array(1) {
- ["path"]=>
- string(0) ""
-}
-Error: 4096 - Object of class stdClass could not be converted to string, %s(69)
-
-Arg value
-Error: 2 - parse_url() expects parameter 1 to be string (Unicode or binary), object given, %s(70)
-NULL
-
-Arg value
-array(1) {
- ["path"]=>
- string(0) ""
-}
-
-Arg value
-array(1) {
- ["path"]=>
- string(0) ""
-}
-Done
---UEXPECTF--
-*** Testing parse_url() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(60)
-Error: 8 - Undefined variable: unset_var, %s(63)
-
Arg value 0
array(1) {
[u"path"]=>
[u"path"]=>
unicode(0) ""
}
-Done
\ No newline at end of file
+Done
Error: 2 - parse_url(): Invalid URL component identifier 10, %s(71)
bool(false)
-Arg value -10.5
-array(8) {
- ["scheme"]=>
- string(4) "http"
- ["host"]=>
- string(11) "www.php.net"
- ["port"]=>
- int(80)
- ["user"]=>
- string(6) "secret"
- ["pass"]=>
- string(7) "hideout"
- ["path"]=>
- string(10) "/index.php"
- ["query"]=>
- string(31) "test=1&test2=char&test3=mixesCI"
- ["fragment"]=>
- string(16) "some_page_ref123"
-}
-
-Arg value 101234567000
-Error: 2 - parse_url(): Invalid URL component identifier %d, %s(71)
-bool(false)
-
-Arg value 1.07654321E-9
-string(4) "http"
-
-Arg value 0.5
-string(4) "http"
-Error: 8 - Array to string conversion, %s(70)
-
-Arg value Array
-Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
-NULL
-Error: 8 - Array to string conversion, %s(70)
-
-Arg value Array
-Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
-NULL
-Error: 8 - Array to string conversion, %s(70)
-
-Arg value Array
-Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
-NULL
-Error: 8 - Array to string conversion, %s(70)
-
-Arg value Array
-Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
-NULL
-Error: 8 - Array to string conversion, %s(70)
-
-Arg value Array
-Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
-NULL
-
-Arg value
-string(4) "http"
-
-Arg value
-string(4) "http"
-
-Arg value 1
-string(11) "www.php.net"
-
-Arg value
-string(4) "http"
-
-Arg value 1
-string(11) "www.php.net"
-
-Arg value
-string(4) "http"
-
-Arg value
-Error: 2 - parse_url() expects parameter 2 to be long, string given, %s(71)
-NULL
-
-Arg value
-Error: 2 - parse_url() expects parameter 2 to be long, string given, %s(71)
-NULL
-
-Arg value string
-Error: 2 - parse_url() expects parameter 2 to be long, string given, %s(71)
-NULL
-
-Arg value string
-Error: 2 - parse_url() expects parameter 2 to be long, string given, %s(71)
-NULL
-Error: 4096 - Object of class stdClass could not be converted to string, %s(70)
-
-Arg value
-Error: 2 - parse_url() expects parameter 2 to be long, object given, %s(71)
-NULL
-
-Arg value
-string(4) "http"
-
-Arg value
-string(4) "http"
-Done
---UEXPECTF--
-*** Testing parse_url() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(61)
-Error: 8 - Undefined variable: unset_var, %s(64)
-
-Arg value 10.5
-Error: 2 - parse_url(): Invalid URL component identifier 10, %s(71)
-bool(false)
-
Arg value -10.5
array(8) {
[u"scheme"]=>
Arg value
unicode(4) "http"
-Done
\ No newline at end of file
+Done
string(3) "0.5"
Error: 8 - Array to string conversion, %s(73)
-Arg value Array
-Error: 2 - rawurldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array
-Error: 2 - rawurldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array
-Error: 2 - rawurldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array
-Error: 2 - rawurldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array
-Error: 2 - rawurldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-
-Arg value 1
-string(1) "1"
-
-Arg value
-string(0) ""
-
-Arg value 1
-string(1) "1"
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
-
-Arg value
-Error: 2 - rawurldecode() expects parameter 1 to be string, object given, %s(74)
-NULL
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-Done
---UEXPECTF--
-*** Testing rawurldecode() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(64)
-Error: 8 - Undefined variable: unset_var, %s(67)
-
-Arg value 0
-string(1) "0"
-
-Arg value 1
-string(1) "1"
-
-Arg value 12345
-string(5) "12345"
-
-Arg value -2345
-string(5) "-2345"
-
-Arg value 10.5
-string(4) "10.5"
-
-Arg value -10.5
-string(5) "-10.5"
-
-Arg value 101234567000
-string(12) "101234567000"
-
-Arg value 1.07654321E-9
-string(13) "1.07654321E-9"
-
-Arg value 0.5
-string(3) "0.5"
-Error: 8 - Array to string conversion, %s(73)
-
Arg value Array
Error: 2 - rawurldecode() expects parameter 1 to be binary string, array given, %s(74)
NULL
Warning: rawurlencode() expects exactly 1 parameter, 2 given in %s on line 20
NULL
-Done
\ No newline at end of file
+Done
string(3) "0.5"
Error: 8 - Array to string conversion, %s(73)
-Arg value Array
-Error: 2 - rawurlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array
-Error: 2 - rawurlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array
-Error: 2 - rawurlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array
-Error: 2 - rawurlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array
-Error: 2 - rawurlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-
-Arg value 1
-string(1) "1"
-
-Arg value
-string(0) ""
-
-Arg value 1
-string(1) "1"
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
-
-Arg value
-Error: 2 - rawurlencode() expects parameter 1 to be string, object given, %s(74)
-NULL
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-Done
---UEXPECTF--
-*** Testing rawurlencode() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(64)
-Error: 8 - Undefined variable: unset_var, %s(67)
-
-Arg value 0
-string(1) "0"
-
-Arg value 1
-string(1) "1"
-
-Arg value 12345
-string(5) "12345"
-
-Arg value -2345
-string(5) "-2345"
-
-Arg value 10.5
-string(4) "10.5"
-
-Arg value -10.5
-string(5) "-10.5"
-
-Arg value 101234567000
-string(12) "101234567000"
-
-Arg value 1.07654321E-9
-string(13) "1.07654321E-9"
-
-Arg value 0.5
-string(3) "0.5"
-Error: 8 - Array to string conversion, %s(73)
-
Arg value Array
Error: 2 - rawurlencode() expects parameter 1 to be binary string, array given, %s(74)
NULL
Warning: urldecode() expects exactly 1 parameter, 2 given in %s on line 20
NULL
-Done
\ No newline at end of file
+Done
string(3) "0.5"
Error: 8 - Array to string conversion, %s(73)
-Arg value Array
-Error: 2 - urldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array
-Error: 2 - urldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array
-Error: 2 - urldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array
-Error: 2 - urldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array
-Error: 2 - urldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-
-Arg value 1
-string(1) "1"
-
-Arg value
-string(0) ""
-
-Arg value 1
-string(1) "1"
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
-
-Arg value
-Error: 2 - urldecode() expects parameter 1 to be string, object given, %s(74)
-NULL
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-Done
---UEXPECTF--
-*** Testing urldecode() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(64)
-Error: 8 - Undefined variable: unset_var, %s(67)
-
-Arg value 0
-string(1) "0"
-
-Arg value 1
-string(1) "1"
-
-Arg value 12345
-string(5) "12345"
-
-Arg value -2345
-string(5) "-2345"
-
-Arg value 10.5
-string(4) "10.5"
-
-Arg value -10.5
-string(5) "-10.5"
-
-Arg value 101234567000
-string(12) "101234567000"
-
-Arg value 1.07654321E-9
-string(13) "1.07654321E-9"
-
-Arg value 0.5
-string(3) "0.5"
-Error: 8 - Array to string conversion, %s(73)
-
Arg value Array
Error: 2 - urldecode() expects parameter 1 to be binary string, array given, %s(74)
NULL
Warning: urlencode() expects exactly 1 parameter, 2 given in %s on line 20
NULL
-Done
\ No newline at end of file
+Done
string(3) "0.5"
Error: 8 - Array to string conversion, %s(73)
-Arg value Array
-Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array
-Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array
-Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array
-Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array
-Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-
-Arg value 1
-string(1) "1"
-
-Arg value
-string(0) ""
-
-Arg value 1
-string(1) "1"
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
-
-Arg value
-Error: 2 - urlencode() expects parameter 1 to be string, object given, %s(74)
-NULL
-
-Arg value
-string(0) ""
-
-Arg value
-string(0) ""
-Done
---UEXPECTF--
-*** Testing urlencode() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(64)
-Error: 8 - Undefined variable: unset_var, %s(67)
-
-Arg value 0
-string(1) "0"
-
-Arg value 1
-string(1) "1"
-
-Arg value 12345
-string(5) "12345"
-
-Arg value -2345
-string(5) "-2345"
-
-Arg value 10.5
-string(4) "10.5"
-
-Arg value -10.5
-string(5) "-10.5"
-
-Arg value 101234567000
-string(12) "101234567000"
-
-Arg value 1.07654321E-9
-string(13) "1.07654321E-9"
-
-Arg value 0.5
-string(3) "0.5"
-Error: 8 - Array to string conversion, %s(73)
-
Arg value Array
Error: 2 - urlencode() expects parameter 1 to be binary string, array given, %s(74)
NULL
Arg value
string(0) ""
-Done
\ No newline at end of file
+Done
1.0pl1 == 1.0pl1 : true
1.0pl1 ne 1.0pl1 : false
1.0pl1 <> 1.0pl1 : false
- 1.0pl1 != 1.0pl1 : false
\ No newline at end of file
+ 1.0pl1 != 1.0pl1 : false