|Subject:||Nice looking class, but it does not work - the decode() metho...|
|Summary:||Package rating comment|
Junkie Narkosvin rated this package as follows:
||1. Nice looking class, but it does not work - the decode() metho...
|Nice looking class, but it does not work - the decode() method fails.|
Tried feeding this class a two-dimensional array, and FastJSON::decode(FastJSON::encode($array)) gives an error message.
Tried both the PHP5 version, and the PHP4 version, both under the latest version of PHP - both produce the same error.
Also, your error handling looks strange - I tried to debug the problem, and it looks like __exit() is called simple because of null-values existing in the array I used ... you forgot to declare $result in one of your methods, which causes a notice - your error handler intercepts that notice and kills the application with a "security" notice.