Re: <?xml tags (was PDM Meeting Notes)

From: Date: Wed, 30 Nov 2005 20:51:16 +0000
Subject: Re: <?xml tags (was PDM Meeting Notes)
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-20908@lists.php.net to get a copy of this message
'<?php=' isn't allowed by the current W3C standards so enabling this would brake standards compliance for PHP scripts. If you want to be able to use '<?php=' you should go to W3C.org. There's where the XHTML/XML specs are defined. If people change their code from '<?' to '<?php' then, while they're at it, they might just as well change it to '<?php echo'. It's just a teeny little bit more code but it makes sure that your documents remain standards compliant. If you really don't like to use '<?php echo' and don't care about standards compliance, I'd suggest you keep short tags enabled. Sebastian Kugler wrote:
On 11/30/05, Ron Korving <r.korving@xit.nl> wrote:
Same for our company. We still use <? because of <?=
same here :-) Would really be great if we could turn short_open_tags off and still use the compact print syntax. --Sebastian


« previous php.internals (#20908) next »