Re: Removing if: endif; syntax
| From: | Philip Olson | Date: | Tue, 06 Feb 2007 05:53:46 +0000 |
| Subject: | Re: Removing if: endif; syntax | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-27848@lists.php.net to get a copy of this message | ||
It's also worth mentioning the following historical commit:
the 'alternative' syntax is not deprecated
Tue Oct 9 23:29:27 2001 UTC (5 years, 3 months ago) by jimw
<sect1 id="control-structures.alternative-syntax">
In other words, over five years ago the deprecated status warning was removed from the PHP manual for this alternative syntax. It had been there for ~3.5 months and according to this long thread*, adding that warning was considered a mistake.
Regards,
Philip
* http://marc.theaimsgroup.com/?t=100280720700002
On Feb 5, 2007, at 9:08 PM, Andi Gutmans wrote:
I think removing it at this stage is really not an option. It doesn't hurt anyone and many find it beneficial inside embedded HTML. Andi-----Original Message----- From: Brian Moon [mailto:brianm@dealnews.com] Sent: Monday, February 05, 2007 9:32 AM To: internals@lists.php.net Subject: [PHP-DEV] Removing if: endif; syntax 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. =) -- Brian Moon ------------- http://dealnews.com/ It's good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php--PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php