[ create a new paste ] login | about

Link: http://codepad.org/7Uh9R3fY    [ raw code | output | fork ]

PHP, pasted on Mar 24:
1
2
3
4
5
<?
$str = json_encode(array(name => 'ş'));
echo $str;
print_r(json_decode($str));
?>


Output:
1
2
3
4
{"name":"\u015f"}stdClass Object
(
    [name] => ş
)


Create a new paste based on this one


Comments: