Interesting PHP note: json_encode($a) is twice as fast as implode(‘,’, $a) for a one-dimensional integer array, and json_decode is 200 times faster at decoding it than explode(‘,’, $str). Worth the extra two bytes produced.

Notes