Re: short_open_tag

From: Date: Fri, 21 Mar 2008 20:14:02 +0000
Subject: Re: short_open_tag
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-36274@lists.php.net to get a copy of this message
Nobody can set memory_limit in a script during runtime. AFAICT.
Why? It's INI_ALL. So is, for example, include_path.
Short tags are language SYNTAX issue. That's why it's different. You don't get any plain error if they're "on" and something doesn't work. It just doesn't work or misbehaves.
In 99.999% of cases you'd get parse error on first <?xml, i.e. very first line of the file. I have yet to see any other context where short tags wouldn't work. So I don't see - what exactly would "not work or misbehave" without giving an error? Can you produce any example of application or other real code that would silently misbehave with short tags on but behave OK with short tags off? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#36274) next »