this is broken on PHP 5.3. The 4th parameter is only accepted as of PHP 5.4: http://fr2.php.net/manual/en/function.json-decode.php