News for hackers. Stuff that matters.
Re:Comparison with Other Frameworks by combatentropy on Saturday October 22, 2016 @01:45PM (#12769675)
Yes, that's what I do. I also think it's fine to use omit trailing semicolons and to use short-open tags (I already labelled the file .php --- why do I have to keep saying "php" all over it? And I'm not usually outputting XML.)

  <? foreach($x as $y): ?>
      <h1><?= h($y->title) ?></h1>
  <? endforeach ?>
You just want to make sure to escape all output with htmlspecialchars, or define a shorter function like I did ("h").
Re:Comparison with Other Frameworks by raboukhalil on Saturday October 22, 2016 @04:48PM (#12770495)
I agree!