Re: short_open_tag

From: Date: Tue, 22 Oct 2002 06:21:05 +0000
Subject: Re: short_open_tag
References: 1 2 3 4 5 6 7  Groups: php.dev 
Request: Send a blank email to php-dev+get-89880@lists.php.net to get a copy of this message
Antony Dovgal wrote:
Hello Dan, DH> Your missing the point of my suggestion. Im not suggesting we switch it DH> off by default, Im suggesting we *remove* the feature. Very good. Why not to change to "<script language="php">...</script>" then?
Ah yes, this reminds me, that format will also break XML parsers (withoutan appropriate DTD entry and validation support). Is it possible that the scanner be modified to include <![CDATA[]]> ? for instance <script language="php"> <![CDATA[ ]]> </script> Ideally should not produce and error by the PHP parser. I can only assume that having the scanner scanner ignore <![[CDATA[ ]]> will not break anything. Is this correct?

« previous php.dev (#89880) next »