Re: Call for Votes: JSON location
| From: | Stephan Schmidt | Date: | Sat, 08 Apr 2006 07:34:58 +0000 |
| Subject: | Re: Call for Votes: JSON location | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42159@lists.php.net to get a copy of this message | ||
Hi,
Pierre wrote:
if (!extension_loaded('json')) include 'JSON.php'; Why not keep the OO-interface for the JSON package and put the functions into PHP_Compat that will have an optional dependency on the JSON package?Stephan