Re: PHP code only allowed in XHTML 5?

Geoffrey Sneddon On 09-07-29 18.34:

> Leif Halvard Silli wrote:
>> Lachlan Hunt On 09-07-29 14.05:
>>> Rather, PHP's use of the <?php ?> syntax (and the older <? ?> syntax) is 
>>
>>
>> The "old" - aka "HTML 4" - syntaxes are "<? >" and <?something >. The 
>> "new" syntax is compatible with the old syntax. Therefore I'll 
>> continue to talk about "<? >".
> 
> I think Lachlan's talking about PHP short tags, which are indeed <?…?>, 
> and still have nothing to do with HTML 4.01.

<? ... ?> do validate as HTML 4.01 - still, and has everything to 
do with HTML 4.01.
-- 
leif halvard silli

Received on Wednesday, 29 July 2009 17:23:01 UTC