On Fri, Jun 11, 2010 at 11:16 AM, Ashley Sheridan <a...@ashleysheridan.co.uk>wrote:
> For <?= to work, the short_tags setting needs to be turned on I believe, > which can cause issues when outputting the XML declaration line unless > it's broken into two parts, which is messier than '<?php echo' IMHO. > Can you give an example of how this breaks? I don't see any problems with <?= '<?xml blah blah ?>' ?> unless you are trying to validate your PHP script as XML. Given that PHP is *not* XML I don't know why you'd want to do that. But I've seen this argument a few times while looking into this issue so maybe I'm just not seeing the big picture. David