Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6346 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16187 invoked by uid 1010); 11 Dec 2003 01:31:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 16148 invoked from network); 11 Dec 2003 01:31:22 -0000 Received: from unknown (HELO h24-68-209-231.gv.shawcable.net) (24.68.209.231) by pb1.pair.com with SMTP; 11 Dec 2003 01:31:22 -0000 Received: from zworg.com (localhost.localdomain [127.0.0.1]) by h24-68-209-231.gv.shawcable.net (8.12.8/8.12.8) with ESMTP id hBB1VK4H007082; Wed, 10 Dec 2003 17:31:20 -0800 Message-ID: <3FD7C8E8.9040307@zworg.com> Date: Wed, 10 Dec 2003 17:31:20 -0800 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031014 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derek Ford , internals@lists.php.net References: <3FD67054.2030000@zworg.com> <1071041926.2830.16.camel@c15.localdomain> <3FD7BA7D.2050401@akbkhome.com> <3FD7D37E.7070205@nutextonline.com> In-Reply-To: <3FD7D37E.7070205@nutextonline.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] With End With From: jdavidson@zworg.com (jason davidson) Derek Ford wrote: > 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. > > 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 > > > . > 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.. with($obj) { .property = ''; .method(); } i know that php already uses the '->' syntax, but as was already posted, that is hideously ugly Jason