Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26625 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15784 invoked by uid 1010); 15 Nov 2006 20:59:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 15769 invoked from network); 15 Nov 2006 20:59:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Nov 2006 20:59:52 -0000 X-Host-Fingerprint: 88.65.168.218 dslb-088-065-168-218.pools.arcor-ip.net Received: from [88.65.168.218] ([88.65.168.218:15003] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 36/98-53553-6CF7B554 for ; Wed, 15 Nov 2006 15:59:51 -0500 Message-ID: <36.98.53553.6CF7B554@pb1.pair.com> To: internals@lists.php.net Date: Wed, 15 Nov 2006 21:59:48 +0100 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 References: <63711.208.195.234.246.1163623885.squirrel@www.l-i-e.com> In-Reply-To: <63711.208.195.234.246.1163623885.squirrel@www.l-i-e.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 88.65.168.218 Subject: Re: [PHP-DEV] Feature-Request - Macros From: phpinternals@thunder-2000.com (Mathias Bank) 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. Mathias