Nathan Rixham wrote:
Here's a little recursion problem I'd like some input on - the task, to remove recursion from this little set of 3 classes, without removing any functionality.
to be very specific; the problem is caused by a serializer (which cannot change); now this serializer calls the get methods automatically, that is where it's running in to the recursion; the serializer knows what get methods to call by the class type in the setter. (a work around for php not supporting strong type setting on properties/attributes)
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php