Re: XML Processing Instruction ( was " <? PHP vs. <?" )
| From: | Teodor Cimpoesu | Date: | Mon, 22 Jan 2001 10:11:49 +0000 |
| Subject: | Re: XML Processing Instruction ( was " <? PHP vs. <?" ) | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35979@lists.php.net to get a copy of this message | ||
Brian White wrote:
>
> At 10:50 AM 1/19/12 +0200, Teodor Cimpoesu wrote:
>
> >I was refering to whole story of using `<?' in xml docs.
>
> Part of the problems is that multiple different applications
> can use PI's, so they need to be able to tell which ones are
> their's - therefore the first thing that should go in a PI
> is some kind of indication as to which application requires
> it.
>
> Therefore: Always "<?php" is a much better idea than "<?"
>
my follow-up was from an suggest of using <% though :)
it exists in C, ASP and JSP. We have it in PHP, why not use it?
besides moving a site arround into a configuration you cannot control
I see no other reason.
-- teodor