["-_&_%_$cookie_10"]=>
string(2) "10"
}
+--UEXPECTF--
+array(10) {
+ [u"cookie1"]=>
+ unicode(0) ""
+ [u"cookie2"]=>
+ unicode(5) "val2 "
+ [u"cookie3"]=>
+ unicode(6) "val 3."
+ [u"cookie_4"]=>
+ unicode(10) " value 4 ;"
+ [u"cookie__5"]=>
+ unicode(7) " value"
+ [u"cookie_6"]=>
+ unicode(3) "%s"
+ [u"cookie_7"]=>
+ unicode(0) ""
+ [u"$cookie_8"]=>
+ unicode(0) ""
+ [u"cookie-9"]=>
+ unicode(1) "1"
+ [u"-_&_%_$cookie_10"]=>
+ unicode(2) "10"
+}
["UEhQIQ"]=>
string(4) "=foo"
}
+--UEXPECT--
+array(3) {
+ [u"c_o_o_k_i_e"]=>
+ unicode(1) "v"
+ [u"name"]=>
+ unicode(24) ""value","value",UEhQIQ=="
+ [u"UEhQIQ"]=>
+ unicode(4) "=foo"
+}
var_dump(str_replace("\0", '\0', $data));
?>
--EXPECTF--
-Notice: serialize(): "no_such" returned as member variable from __sleep() but does not exist in %s on line %d
-string(130) "O:3:"foo":4:{s:12:"\0foo\0private";s:7:"private";s:12:"\0*\0protected";s:9:"protected";s:6:"public";s:6:"public";s:7:"no_such";N;}"
+Notice: serialize(): "no_such" returned as member variable from __sleep() but does not exist in /local/dev/php/head/tests/classes/bug26737.php on line 14
+string(130) "O:3:"foo":4:{S:12:"\0foo\0private";S:7:"private";S:12:"\0*\0protected";S:9:"protected";S:6:"public";S:6:"public";S:7:"no_such";N;}"
--UEXPECTF--
Notice: serialize(): "no_such" returned as member variable from __sleep() but does not exist in %s on line %d
unicode(130) "O:3:"foo":4:{U:12:"\0foo\0private";U:7:"private";U:12:"\0*\0protected";U:9:"protected";U:6:"public";U:6:"public";U:7:"no_such";N;}"
$foo->bar('3');
?>
--EXPECTF--
-Called function foo:bar(%d)
+Called function foo:bar(1)
-Warning: call_user_func_array(): first parameter is expected to be a valid callback in %sbug27504.php on line %d
+Warning: call_user_func_array() expects parameter 1 to be valid callback, array given in %s on line %d
Fatal error: Call to private method foo::bar() from context '' in %s on line %d
?>
--EXPECT--
3,14
---UEXPECT--
+--UEXPECTF--
Strict Standards: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
3,14