Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

<?= always exists as of PHP 5.4, despite the short tags setting.


Awesome. I remember arguing for it on the mailing lists and I'm extremely happy they did this.

With echo tag you can have a very simple and powerful templating system written in the language itself. (I usually just use two methods, Temaplte::show and Template::get, which both are less than 20 lines long.)


Yay




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: