Re: PHP 4.0 Bug #2766 Updated: Better escaping leading to better code

From: Date: Sun, 28 Nov 1999 20:51:45 +0000
Subject: Re: PHP 4.0 Bug #2766 Updated: Better escaping leading to better code
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-13237@lists.php.net to get a copy of this message
Bug Database wrote: > ID: 2766 > Updated by: rasmus > Reported By: ajr4@lehigh.edu > Status: Open > Bug Type: Feature/Change Request > Assigned To: > Comments: > > Could you point me at something that says that this notation was intended for server-side > scripting? > I dont see how we would be able to figure out whether such a tag would be intended to be a > client-side JS tag vs. a server-side PHP tag. I cannot find any w3c doc on html that points to server side anything except server side image maps. Macro entities are discussed at "http://www.w3.org/TR/REC-html40/appendix/notes.html#h-B.7.1" This does not indicate where it is to be processed. However, I do agree that there is a large potential for confusion with JS, so maybe the PHP macro entity should be &(expr); or maybe this feature should be a run-time option. The w3c specifies that the macro is to be processed by the "default scripting engine," why couldn't that be PHP? Aron PS the bug track system would not let me update this request. So I am replying by email.

« previous php.dev (#13237) next »