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 =)
Please don't. <?php endif ?> reads much better than <?php } ?> in templates.
Regards,
Stefan
Please don't. <?php endif ?> reads much better than <?php } ?> in templates.
Says you :) But I don't think it should be removed either. Editor's have
no business defining what should and should not be useful in a language.
Cheers,
Rob.
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
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; syntaxReading 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 =)--
To
unsubscribe, visit: http://www.php.net/unsub.php