Re: What is <?=

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<? 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@xxxxxxxxxxxxx) ... something
> to do with XML compatibility ... for now its valid php syntax though :-).
> 
>>
>> Thanks,
>> Robert
>>
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux