On Wed, Mar 26, 2008 at 9:25 PM, Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > I will repeat it as many times as necessary: > 1. This situation can happen only if you have written very buggy > template code - there exists no such code right now and one has to be > rather sloppy to create such code. Use quality libraries :) At least as > template engine.
So the template is responsible for ini_set("short_open_tags", false) ? If I include your high quality template library it will do ini_set(.. true) at the top, before parsing the templates, and then ini_set(..false) at the bottom? > 2. This situation is very rare use case for PHP anyway, since most > templates in PHP aren't XML. So what if most templates in PHP aren't XML files? What does that have to do with anything? If I include your template library and then decied to bump out RSS.. your short tags enabling infected my php generated xml file with a parse error - even if I explicitly had put short_open_tags = off in my .htaccess > 3. This situation is very easy to prevent and very easy to recognize if > not prevented. No? Random syntax errors on <?xml - even if I have short_open_tags disabled in my php.ini, virtualhost setting and .htaccess... -Hannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php