jasonusa / webgrind

Automatically exported from code.google.com/p/webgrind
Other
0 stars 0 forks source link

Check for json_encode function #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Webgrind should fail gracefully if the function json_encode does not exist

http://dk.php.net/json_encode

Original issue reported on code.google.com by oett...@gmail.com on 30 Apr 2008 at 9:40

GoogleCodeExporter commented 8 years ago
We could implement a simple json function in php to use if json_encode does not 
exist.
We only use json_encode to encode php arrays, so it should be resonable trivial.

Original comment by oett...@gmail.com on 30 Apr 2008 at 9:41

GoogleCodeExporter commented 8 years ago
As we already require PHP5 and the json functions became standard in PHP 5.2, I 
don't think this is much of an 
issue. In fact, I think we might rather up the requirements to 5.2

Original comment by gugakf...@gmail.com on 29 May 2008 at 6:55

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Agreed. People should be using 5.2 anyway

Original comment by oett...@gmail.com on 8 Jun 2008 at 3:00