Re: short_open_tag

From: Date: Wed, 26 Mar 2008 20:25:19 +0000
Subject: Re: short_open_tag
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-36570@lists.php.net to get a copy of this message
You do know that having short tags enabled will result in a parse error in the following situation, right?:
Yes, I do know. In fact, I mentioned this knowledge in virtually every email on the subject. Your point being?
idea ever - but I still think it'll just create more wtf then necessary.
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. 2. This situation is very rare use case for PHP anyway, since most templates in PHP aren't XML. 3. This situation is very easy to prevent and very easy to recognize if not prevented. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#36570) next »