On Mar 16, 11:55 am, Marcelo Andrade <[email protected]> wrote: > > The problem is not only the 6 more chars, but as open short tags are > deprecated (and AFAIK will be removed in php 6), if you insist using > it, you'll face this kind of problem when deploying you application in > other servers.
This is the first I've heard that they are deprecated. That bites! I rather prefer them than the alternative. But I agree that they're a Bad Idea for any code that will not be under one's control. I don't use "<?", btw. Just "<?=". I can't imagine why anyone would use the former, actually. As for complaints about them making it more difficult to see, the problem would be fixed with better syntax highlighting. They appear just fine for me. For anyone who needs to convert to the ugly, full syntax, do not reach for regular expressions. That'll be a pain for anything other than the simplest files. A colleague once did this successfully using the methods described in the comments here: http://stackoverflow.com/questions/684587/batch-script-to-replace-php-short-open-tags-with-php Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php?hl=en
