bool(false)
bool(false)
-Warning: filter_has_var() expects parameter 1 to be long, string given in %s007.php on line %d
+Warning: filter_has_var() expects parameter 1 to be long, Unicode string given in %s007.php on line %d
bool(false)
Warning: filter_has_var() expects parameter 1 to be long, array given in %s007.php on line %d
Warning: filter_has_var() expects parameter 1 to be long, array given in %s007.php on line %d
bool(false)
-Warning: filter_has_var() expects parameter 1 to be long, string given in %s007.php on line %d
+Warning: filter_has_var() expects parameter 1 to be long, Unicode string given in %s007.php on line %d
bool(false)
Done
string(29) "<p>string</p>"
bool(false)
-Warning: filter_var() expects parameter 2 to be long, string given in %s011.php on line %d
+Warning: filter_var() expects parameter 2 to be long, Unicode string given in %s011.php on line %d
NULL
-Warning: filter_input() expects parameter 3 to be long, string given in %s011.php on line %d
+Warning: filter_input() expects parameter 3 to be long, Unicode string given in %s011.php on line %d
NULL
Warning: filter_var() expects at most 3 parameters, 5 given in %s011.php on line %d
?>
--EXPECTF--
array(2) {
- ["test1"]=>
+ [u"test1"]=>
int(1)
- ["test2"]=>
+ [u"test2"]=>
int(1)
}
array(2) {
- ["test1"]=>
+ [u"test1"]=>
int(1)
- ["test2"]=>
- &string(1) "1"
+ [u"test2"]=>
+ &unicode(1) "1"
}
-string(1) "1"
+unicode(1) "1"
Done
}
array(2) {
[0]=>
- string(1) "1"
- ["blah"]=>
- string(4) "hoho"
+ unicode(1) "1"
+ [u"blah"]=>
+ unicode(4) "hoho"
}
bool(false)
bool(false)
array(0) {
}
array(1) {
- ["var_name"]=>
+ [u"var_name"]=>
NULL
}
array(1) {
- ["var_name"]=>
+ [u"var_name"]=>
NULL
}
array(1) {
- ["var_name"]=>
- string(0) ""
+ [u"var_name"]=>
+ unicode(0) ""
}
-- (5)
bool(false)
bool(false)
array(1) {
- [""]=>
- string(0) ""
+ [u""]=>
+ unicode(0) ""
}
int(-1)
bool(false)
array(1) {
- [""]=>
- string(0) ""
+ [u""]=>
+ unicode(0) ""
}
int(100000)
bool(false)
array(1) {
- [""]=>
- string(0) ""
+ [u""]=>
+ unicode(0) ""
}
-string(0) ""
+unicode(0) ""
Done
--EXPECT--
*** Testing image_type_to_mime_type() : usage variations ***
--- Iteration 1 --
-string(24) "application/octet-stream"
-
--- Iteration 2 --
-string(9) "image/gif"
-
--- Iteration 3 --
-string(24) "application/octet-stream"
-
--- Iteration 4 --
-string(24) "application/octet-stream"
-
--- Iteration 5 --
-string(10) "image/jpeg"
-
--- Iteration 6 --
-string(10) "image/tiff"
-
--- Iteration 7 --
-string(24) "application/octet-stream"
-
--- Iteration 8 --
-string(24) "application/octet-stream"
-
--- Iteration 9 --
-string(24) "application/octet-stream"
-
--- Iteration 10 --
-string(9) "image/gif"
-
--- Iteration 11 --
-string(24) "application/octet-stream"
-
--- Iteration 12 --
-string(24) "application/octet-stream"
-===DONE===
---UEXPECT--
-*** Testing image_type_to_mime_type() : usage variations ***
-
-- Iteration 1 --
unicode(24) "application/octet-stream"
}
?>
--EXPECTF--
-string(1) "z"
+unicode(1) "z"
object(stdClass)#1 (0) {
}
-string(1) "q"
-string(1) "s"
+unicode(1) "q"
+unicode(1) "s"
Second:
-string(1) "z"
-string(1) "q"
-string(1) "s"
+unicode(1) "z"
+unicode(1) "q"
+unicode(1) "s"
?>
===DONE===
--EXPECTF--
+unicode(29) "Index invalid or out of range"
+===DONE===
?>
--EXPECTF--
-Warning: SplFastArray::__construct() expects parameter 1 to be long, string given in %s on line %d
+Warning: SplFastArray::__construct() expects parameter 1 to be long, Unicode string given in %s on line %d
echo "Done\n";
?>
--EXPECTF--
-Warning: SplFastArray::__construct() expects parameter 1 to be long, string given in %s on line %d
+Warning: SplFastArray::__construct() expects parameter 1 to be long, Unicode string given in %s on line %d
Index invalid or out of range
Index invalid or out of range
Index invalid or out of range
?>
==DONE==
--EXPECTF--
-string(%d) "%sspl%stests"
-string(19) "fileobject_004.phpt"
-string(%d) "%sspl%stests%sfileobject_004.phpt"
+unicode(%d) "%sspl%stests"
+unicode(19) "fileobject_004.phpt"
+unicode(%d) "%sspl%stests%sfileobject_004.phpt"
==DONE==
?>
--EXPECTF--
int(0)
-string(14) "Illegal mode 7"
+unicode(14) "Illegal mode 7"
int(0)
-Warning: RegexIterator::setMode() expects parameter 1 to be long, string given in %s on line %d
+Warning: RegexIterator::setMode() expects parameter 1 to be long, Unicode string given in %s on line %d
?>
--EXPECTF--
Warning: htmlspecialchars(): charset `1' not supported, assuming iso-8859-1 in %s on line %d
-string(35) "<a href='test'>Test</a>"
+unicode(35) "<a href='test'>Test</a>"
Warning: htmlspecialchars(): charset `12' not supported, assuming iso-8859-1 in %s on line %d
-string(35) "<a href='test'>Test</a>"
+unicode(35) "<a href='test'>Test</a>"
Warning: htmlspecialchars(): charset `125' not supported, assuming iso-8859-1 in %s on line %d
-string(35) "<a href='test'>Test</a>"
-string(35) "<a href='test'>Test</a>"
+unicode(35) "<a href='test'>Test</a>"
+unicode(35) "<a href='test'>Test</a>"
Warning: htmlspecialchars(): charset `12526' not supported, assuming iso-8859-1 in %s on line %d
-string(35) "<a href='test'>Test</a>"
-string(8) "<>"
+unicode(35) "<a href='test'>Test</a>"
+unicode(8) "<>"
Warning: htmlspecialchars(): charset `8666' not supported, assuming iso-8859-1 in %s on line %d
-string(8) "<>"
-string(8) "<>"
-string(8) "<>"
-string(8) "<>"
+unicode(8) "<>"
+unicode(8) "<>"
+unicode(8) "<>"
+unicode(8) "<>"
Warning: htmlspecialchars(): charset `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' not supported, assuming iso-8859-1 in %s on line %d
-string(8) "<>"
+unicode(8) "<>"
}
?>
--EXPECT--
-string(8) "266c743b"
-string(8) "266c743b"
-string(0) ""
-string(0) ""
-string(4) "d090"
-string(4) "d090"
-string(0) ""
-string(0) ""
-string(8) "d090d0b0"
-string(8) "d090d0b0"
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(8) "2667743b"
-string(8) "2667743b"
+unicode(8) "266c743b"
+unicode(8) "266c743b"
+unicode(0) ""
+unicode(0) ""
+unicode(4) "d090"
+unicode(4) "d090"
+unicode(0) ""
+unicode(0) ""
+unicode(8) "d090d0b0"
+unicode(8) "d090d0b0"
+unicode(0) ""
+unicode(0) ""
+unicode(0) ""
+unicode(0) ""
+unicode(0) ""
+unicode(0) ""
+unicode(8) "2667743b"
+unicode(8) "2667743b"
var_dump(htmlentities("\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, 'cp1252'));
?>
--EXPECT--
-string(28) "‚†™Ÿ"
-string(32) "€¢£¤¥"
+unicode(28) "‚†™Ÿ"
+unicode(32) "€¢£¤¥"
?>
--EXPECT--
ISO-8859-15
-string(20) "ŒœŸ"
+unicode(20) "ŒœŸ"
?>
--EXPECT--
ISO-8859-1
-string(18) "äöü"
+unicode(18) "äöü"
}
?>
--EXPECT--
-string(3) "abc"
-string(3) "abc"
-string(13) "abc&sfdsa"
-string(13) "abc&sfdsa"
-string(33) "test+s & some more D"
-string(33) "test+s & some more D"
-string(24) "&; &amp &#a; &9;"
-string(24) "&; &amp &#a; &9;"
-string(32) "&kffjadfdhsjfhjasdhffasdfas;"
-string(32) "&kffjadfdhsjfhjasdhffasdfas;"
-string(16) "&#8787978789"
-string(16) "&#8787978789"
-string(5) "&"
-string(5) "&"
-string(15) "&&&"
-string(15) "&&&"
-string(17) "&ab&&"
-string(17) "&ab&&"
+unicode(3) "abc"
+unicode(3) "abc"
+unicode(13) "abc&sfdsa"
+unicode(13) "abc&sfdsa"
+unicode(33) "test+s & some more D"
+unicode(33) "test+s & some more D"
+unicode(24) "&; &amp &#a; &9;"
+unicode(24) "&; &amp &#a; &9;"
+unicode(32) "&kffjadfdhsjfhjasdhffasdfas;"
+unicode(32) "&kffjadfdhsjfhjasdhffasdfas;"
+unicode(16) "&#8787978789"
+unicode(16) "&#8787978789"
+unicode(5) "&"
+unicode(5) "&"
+unicode(15) "&&&"
+unicode(15) "&&&"
+unicode(17) "&ab&&"
+unicode(17) "&ab&&"