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