PHP Classes
Icontem

Subject: Nice looking class, but it does not work - the decode() metho...


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend!

      Fast JSON   All threads   Nice looking class, but it does not work - the decode() metho...   (Un) Subscribe thread alerts  
Subject:Nice looking class, but it does not work - the decode() metho...
Summary:Package rating comment
Messages:1
Author:Junkie Narkosvin
Date:2008-10-09 21:03:54
 

Junkie Narkosvin rated this package as follows:

Utility: Insufficient
Consistency: Sufficient

  1. Nice looking class, but it does not work - the decode() metho...   Reply  
Picture of Junkie Narkosvin
Junkie Narkosvin
2008-10-09 21:03:54
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.


 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products