Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27853 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84583 invoked by uid 1010); 6 Feb 2007 14:18:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 84568 invoked from network); 6 Feb 2007 14:18:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Feb 2007 14:18:45 -0000 Authentication-Results: pb1.pair.com header.from=M.Ford@leedsmet.ac.uk; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=M.Ford@leedsmet.ac.uk; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain leedsmet.ac.uk designates 160.9.128.18 as permitted sender) X-PHP-List-Original-Sender: M.Ford@leedsmet.ac.uk X-Host-Fingerprint: 160.9.128.18 mrelay-c.lmu.ac.uk Linux 2.4/2.6 Received: from [160.9.128.18] ([160.9.128.18:33736] helo=mrelay-c.lmu.ac.uk) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C4/A1-04145-44E88C54 for ; Tue, 06 Feb 2007 09:18:44 -0500 Received: from localhost.lmu.ac.uk ([127.0.0.1] helo=localhost) by mrelay-c.lmu.ac.uk with esmtp (Exim 4.43) id 1HER4T-0002Bs-Mp; Tue, 06 Feb 2007 14:13:21 +0000 Received: from mrelay-c.lmu.ac.uk ([127.0.0.1]) by localhost (mrelay-c [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08108-01; Tue, 6 Feb 2007 14:13:18 +0000 (GMT) Received: from leedsmet-exch1.leedsmet.ac.uk ([160.9.35.117]) by mrelay-c.lmu.ac.uk with esmtp (Exim 4.43) id 1HER2v-0002As-5S; Tue, 06 Feb 2007 14:11:45 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 6 Feb 2007 14:12:46 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] Removing if: endif; syntax thread-index: AcdJTLcmaVPbT9sKRtuKD0OAT7+b9gAq3OCw To: "Brian Moon" , X-Virus-Scanned: by McAfee at Leeds Metropolitan University Subject: RE: [PHP-DEV] Removing if: endif; syntax From: M.Ford@leedsmet.ac.uk ("Ford, Mike") On 05 February 2007 17:32, Brian Moon wrote: > Reading the array thread, someone mentioned having several ways of > doing things. One of their examples was the if: endif; syntax. > Forgive me if this has been discussed, but has anyone proposed > removing that for PHP6? Seems like the perfect time to do it. Its > not recommended. Editors that check PHP syntax warn about it. It > just seems like a no brainer. =3D)=20 Please don't. I have several tens of thousands of lines of code using this= syntax, and I really, really would not want to have to rewrite them into t= he less readable, less maintainable pure curly brackets form (which I hate = with a passion!). Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Headingley Campus, LEEDS, LS6 3QS, United Kingdom Email: m.ford@leedsmet.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211=20 To view the terms under which this email is distributed, please go to http:= //disclaimer.leedsmet.ac.uk/email.htm