--EXPECTF--
string(1) "."
-Warning: Wrong parameter count for get_include_path() in %s on line %d
+Warning: get_include_path() expects exactly 0 parameters, 1 given in %s on line %d
NULL
NULL
-Warning: Wrong parameter count for restore_include_path() in %s on line %d
+Warning: restore_include_path() expects exactly 0 parameters, 1 given in %s on line %d
NULL
-Warning: Wrong parameter count for set_include_path() in %s on line %d
+Warning: set_include_path() expects exactly 1 parameter, 0 given in %s on line %d
NULL
string(1) "."
string(1) "."
NULL
string(1) "."
-Notice: Array to string conversion in %s on line %d
+Warning: set_include_path() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
+NULL
string(1) "."
-string(5) "Array"
NULL
string(1) "."
Done
+--UEXPECTF--
+unicode(1) "."
+
+Warning: get_include_path() expects exactly 0 parameters, 1 given in %s on line %d
+NULL
+NULL
+
+Warning: restore_include_path() expects exactly 0 parameters, 1 given in %s on line %d
+NULL
+
+Warning: set_include_path() expects exactly 1 parameter, 0 given in %s on line %d
+NULL
+unicode(1) "."
+unicode(1) "."
+unicode(3) "var"
+NULL
+unicode(1) "."
+unicode(1) "."
+unicode(14) ".:/path/to/dir"
+NULL
+unicode(1) "."
+unicode(1) "."
+unicode(1) "."
+NULL
+unicode(1) "."
+
+Warning: set_include_path() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
+NULL
+unicode(1) "."
+NULL
+unicode(1) "."
+Done
echo "Done\n";
?>
--EXPECTF--
-Warning: Wrong parameter count for parse_ini_file() in %s on line %d
+Warning: parse_ini_file() expects at least 1 parameter, 0 given in %s on line %d
NULL
-Warning: Wrong parameter count for parse_ini_file() in %s on line %d
+Warning: parse_ini_file() expects at most 2 parameters, 3 given in %s on line %d
NULL
Warning: parse_ini_file(%sparse_ini_file.dat): failed to open stream: No such file or directory in %s on line %d
string(5) "test4"
}
Done
+--UEXPECTF--
+Warning: parse_ini_file() expects at least 1 parameter, 0 given in %s on line %d
+NULL
+
+Warning: parse_ini_file() expects at most 2 parameters, 3 given in %s on line %d
+NULL
+
+Warning: parse_ini_file(%sparse_ini_file.dat): failed to open stream: No such file or directory in %s on line %d
+array(0) {
+}
+
+Warning: parse_ini_file(%sparse_ini_file.dat): failed to open stream: No such file or directory in %s on line %d
+array(0) {
+}
+array(1) {
+ [u"test"]=>
+ unicode(0) ""
+}
+
+Warning: Error parsing %sparse_ini_file.dat on line 2
+ in %s on line %d
+array(1) {
+ [u"test"]=>
+ unicode(0) ""
+}
+
+Warning: Error parsing %sparse_ini_file.dat on line 2
+ in %s on line %d
+array(1) {
+ [u"test"]=>
+ unicode(4) "test"
+}
+array(1) {
+ [u"test"]=>
+ unicode(8) "new
+line"
+}
+array(1) {
+ [u"test"]=>
+ unicode(16) "test const value"
+}
+array(1) {
+ [u"section"]=>
+ array(1) {
+ [u"test"]=>
+ unicode(5) "hello"
+ }
+}
+array(1) {
+ [u"test"]=>
+ unicode(5) "hello"
+}
+array(1) {
+ [u"section.test"]=>
+ unicode(5) "hello"
+}
+array(1) {
+ [u"section"]=>
+ array(1) {
+ [u"section.test"]=>
+ unicode(5) "hello"
+ }
+}
+array(1) {
+ [u"section"]=>
+ array(1) {
+ [1]=>
+ unicode(1) "2"
+ }
+}
+array(1) {
+ [1]=>
+ unicode(1) "2"
+}
+array(1) {
+ [u"test"]=>
+ unicode(5) "test4"
+}
+Done
+
--EXPECT--
string(581) " boo
"
+--UEXPECT--
+unicode(581) " boo
+"
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.";}
+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.";}
string(2) "02"
--UEXPECT--
unicode(2) "02"
-string(2) "02"
+unicode(2) "02"
unicode(2) "02"
?>
--EXPECT--
1,234.56
+--UEXPECTF--
+Strict Standards: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
+1,234.56
[u"tm_yday"]=>
int(231)
[u"unparsed"]=>
- string(0) ""
+ unicode(0) ""
}
===DONE===