This is highly unusual.... I recently started gathering people who could implement and opinions of those who wanted or didn't want a 'with' construct.yup, i like the construct, i saw your forum, i would prefer to have some syntax indication that your method or prop call is part of the object block though, which is unlike javascripts implemtation, something like..
http://www.phpfreaks.com/forums/topic11451.php
I toyed with the idea, and then when I went into core to implement it, I became _very_ confused and discovered I just wasn't good enough
.
with($obj) { .property = ''; .method(); }
i know that php already uses the '->' syntax, but as was already posted, that is hideously ugly
Jason
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php