View Single Post
Old 01-18-2008, 06:04 PM   #8 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

Yep, the reasoning is:
Return as binary string, since the result is 99% likely to be just echo'ed out and we want to avoid overhead of double conversion.
From PHP source for json_encode function
Salathe is offline  
Reply With Quote