<?= and <%= are not valid XML code (and therefore illegal in XHTML too). For most people (myself included), it's a good enough reason to ban them from our code.
On Dec 19, 2007 9:17 PM, Stereo <[EMAIL PROTECTED]> wrote: > > Just to try and balance out the argument a little bit, I saw this blog > post a while back that contains an an opposing view (regarding using < > %= for php rather than <?= or <?php) > > http://robrosenbaum.com/php/use-ruby-style-tags-in-php/ > > From the post: > "It's important for a second reason - arbitrary conventions should be > standardized. That is, any time we are faced with a set of > possibilities that are all of equal value - such as what weird > punctuation our programming language should use to demarcate itself - > we should pick one standard way and stick with it. That way we reduce > the learning curve of all languages (or whatever the things the > convention pertains to)." > > > On Dec 19, 6:03 pm, Pierre <[EMAIL PROTECTED]> wrote: > > > On Dec 19, 2007 11:57 PM, Thierry <[EMAIL PROTECTED]> wrote: > > > > > > > > > Honoustly, why not use the <?= > > > When you use php templates I think it is an essential feature, for > > > everyone not writing open source :) > > > > It does not pass validation checks, it is not a valid processing > > instruction. Use google if you still need more arguments why saving > > 7/8 chars can be a pain. > > > > --Pierre > > > -- - SR --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
