- json_decode: documentation ( source)
- json_encode: documentation ( source)
<?php
$arr = array('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5);
echo $str = json_encode($arr);
echo "\n";
echo $str = json_decode($str, false, 512, JSON_BIGINT_AS_STRING);