On Tue, 2006-08-15 at 19:01 -0500, Larry Garfield wrote: > On Tuesday 15 August 2006 16:50, Richard Lynch wrote: > > > If the names are not predictable, the array solution is probably best, > > as there is movement in the PHP Internals list that may (or may not) > > make it impossible to dynamically add a property to an object. I've > > lost track of where that thread ended, so apologies if this is a > > non-issue. > > Gah! Please tell me you're joking. That would kill one of PHP's best > features, the fact that you can have dynamic data structures. > > PHP != Java!!! I read the list earlier (thanks Richard) and the final consensus was to enforce the restriction only if the class is defined as strict. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php