Re: [PHP-DEV] Re: PHP 4.0 Bug #2766 Updated: Better escaping leading to better code From: rasmus <email protected>
Date: 11/28/99

> 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?

I suppose it could, but where does that get set? If there was something
that said that all macro entities from now on should now be treated as PHP
entities, it would be workable. Without that I find it vague. And I
don't see why &(expr); is all that much better than <?expr?>
anyway. Same number of chars and there is no chance of confusion.

-Rasmus

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>