--SKIPIF--
<?php
include "_skipif.inc";
+_ext("json");
?>
--INI--
date.timezone=UTC
}
function convertFromString($string, $type) {
- return json_decode($string);
+ return json_decode($string, true);
}
function convertToString($data, $type) {
int(1343423)
}
[3]=>
- object(stdClass)#%d (3) {
+ array(3) {
["int"]=>
int(123)
["obj"]=>
- object(stdClass)#%d (3) {
+ array(3) {
["a"]=>
int(1)
["b"]=>