This page is no longer updated - please visit http://ghostwire.com Thank you!
 

« PHPObject »
An Opensource Alternative to Flash Remoting
Current Release
Readme
Notes
Journal
Archives

Journal
Wednesday April 30, 2003

Reversal

I have decided to reverse a decision made a few days back. This is with regards to "Merry-go-round". I found that even though it sounds alright to discard 'problematic' nested objects that make references to themselves (sounds alright because PHP serialize function does that), it can cause a lot of pain during debugging. For example, if an object is silent discarded, and your PHP class requires that object, everything will fail and you have no idea why.

Therefore, I have decided to leave it as a "Known Limitation" of PHPObject - that you cannot have nested arrays/objects that make references to themselves, another nested array/object, or the parent object. If you do, you will get the "more than 256 recursive loop" error.

Posted by sunny at April 30, 2003 01:13 PM

 

Comments

 


Zones



Forums