Hi guys,

wondering if Zend Framework coding style says that multiline strings should
be concatenated or it just says that if this string is concatenated, it
should be done in a certain style?

Basically, is following allowed?

   1. $sql = "SELECT `id`, `name` FROM `people`
   2.         WHERE `name` = 'Susan'
   3.         ORDER BY `name` ASC ";


Or should it be always like this?

   1. $sql = "SELECT `id`, `name` FROM `people` "
   2.      . "WHERE `name` = 'Susan' "
   3.      . "ORDER BY `name` ASC ";


--
Best Regards,
Vladas Diržys

Reply via email to