Re: What is <?=
| From: | David Grant | Date: | Fri, 25 Nov 2005 16:40:14 +0000 |
| Subject: | Re: What is <?= | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226426@lists.php.net to get a copy of this message | ||
<? is how XML specifies a processing instruction for the XML parser, for
example:
<?xml version="1.0"?>
Tells the parser that the XML it is parsing is version 1.
Jochem Maas wrote:
> Wolf wrote:
>> I have some scripts that I downloaded and am trying to make compliant
>> with my server. They have <?= placed throughout and I am not sure what
>> they are and how to fix them at this point.
>>
>> Stupid question, I know, but...
>
> not stupid, although a 'google' might have helped, regardless you have
> already had the answer.
>
> I find it funny that you say 'fix them' - one of the things [some of]
> the core
> developers are looking to get rid of is this shorthand syntax
> (according to posts on internals@lists.php.net) ... something
> to do with XML compatibility ... for now its valid php syntax though :-).
>
>>
>> Thanks,
>> Robert
>>
>