RE: [PHP-DEV] Removing if: endif; syntax
| From: | Ford, Mike | Date: | Tue, 06 Feb 2007 14:12:46 +0000 |
| Subject: | RE: [PHP-DEV] Removing if: endif; syntax | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-27853@lists.php.net to get a copy of this message | ||
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. =)
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 the 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
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm