Re: Is there a technical reason <?= considered a "short tag"?

From: Date: Fri, 05 Jun 2009 19:17:37 +0000
Subject: Re: Is there a technical reason <?= considered a "short tag"?
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-44187@lists.php.net to get a copy of this message
Hi!
So it feels like decoupling <?= from short_open_tag is on the table. Rasmus or Stas, could you please propose exactly how this might happen?
My proposal would be very simple: 1. short_open_tag setting removed in 6, <? is no longer PHP code tag under any circumstances. 2. <?= is always recognized by PHP as analogue to <?php echo 3. To prepare folks for this, 5.4 may have this: 3a. short_open_tag is off by default, but <? is recognized when it's on 3b. <?= is always recognized, as in (2) above
And while few want to talk about short tags (again), it's worth noting that a discussion specific to decoupling really hasn't taken place except for silence and a few "yeah, that might be alright... sometime"
I was kind of under impression I talked about it so much at the time that everybody's sick of it, but maybe I'm wrong :) -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#44187) next »