Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26671 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43148 invoked by uid 1010); 20 Nov 2006 18:52:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 43133 invoked from network); 20 Nov 2006 18:52:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Nov 2006 18:52:30 -0000 Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:2851] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/F0-33211-E69F1654 for ; Mon, 20 Nov 2006 13:52:30 -0500 Received: (qmail 14315 invoked by uid 98); 20 Nov 2006 18:52:29 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-1.25 (clamdscan: 0.88.4/2205. Clear:RC:1(127.0.0.1):. Processed in 1.407469 secs); 20 Nov 2006 18:52:29 -0000 X-Qmail-Scanner-Mail-From: ceo@l-i-e.com via o2.hostbaby.com X-Qmail-Scanner: 1.25 (Clear:RC:1(127.0.0.1):. Processed in 1.407469 secs) Received: from unknown (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 20 Nov 2006 18:52:24 -0000 Received: from 208.195.234.246 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Mon, 20 Nov 2006 12:52:24 -0600 (CST) Message-ID: <41682.208.195.234.246.1164048744.squirrel@www.l-i-e.com> In-Reply-To: <36.98.53553.6CF7B554@pb1.pair.com> References: <63711.208.195.234.246.1163623885.squirrel@www.l-i-e.com> <36.98.53553.6CF7B554@pb1.pair.com> Date: Mon, 20 Nov 2006 12:52:24 -0600 (CST) To: "Mathias Bank" Cc: internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] Feature-Request - Macros From: ceo@l-i-e.com ("Richard Lynch") On Wed, November 15, 2006 2:59 pm, Mathias Bank wrote: > Richard Lynch schrieb: >> On Mon, November 13, 2006 4:42 am, Mathias Bank wrote: >>> As you see, with this macro functions, it could be achieved any >>> individual syntax. It would be a pleasure, if php could support it. >>> It >>> could shorten a lot of code. >> >> It sounds like you could submit a patch and get it in... :-) >> >> While you are at it, if you want to dump the java-like OOP and put >> in >> all of CLOS, go for it :-) :-) :-) >> > > Well, I have never said, that this is easy. But instead of telling > "no" > to ideas like ifsetor operator (or something else), we could say: > "well > no: there will be a general solution". And this solution must not be > invented, it "just" has to be integrated - we can look at lisp and how > it is implemented there. Of course this is no job for a week or a > month > (so surely not for php 6). I published this feature request to discuss > the idea with you php developers because you should know it best, if > it > is possible and if there are ways, to achieve this (and what are the > ways). > > So, there is no reason to be cynical. Cynicism was not intended at all. Well, okay, the "all of CLOS" bit was maybe jokingly cynical. But I'm absolutely serious that there seems to be support for the lisp-like macros, so start working on a patch and submit it. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?