W3C home > Mailing lists > Public > public-html@w3.org > July 2009

Re: PHP code only allowed in XHTML 5?

From: Leif Halvard Silli <lhs@malform.no>
Date: Wed, 29 Jul 2009 19:22:21 +0200
Message-ID: <4A70854D.50505@malform.no>
To: Geoffrey Sneddon <gsneddon@opera.com>
CC: Lachlan Hunt <lachlan.hunt@lachy.id.au>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>, public-html <public-html@w3.org>
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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:48 UTC