Monthly Archives: April 2012

PHP’s json_decode behaving badly

Funny thing with PHP’s json_decode… $ php <?php echo var_export(json_decode(“true “, true), true) ?> NULL (Press ctrl-d after you write “?>”.) The same using node.js: $ node > JSON.parse(“true “) true > exit Of course it could be argued that … Continue reading

Posted in Programming, Web development & design | Leave a comment