Re: <?php= ?> sytanx again

From: Date: Fri, 26 Oct 2001 14:09:29 +0000
Subject: Re: <?php= ?> sytanx again
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-69074@lists.php.net to get a copy of this message
At 02:41 PM 10/26/2001 +0200, Sterling Hughes wrote:
Jani Taskinen wrote:
I'd rather see these magic hacks to be removed altogether.. +1 for removing short-tags and the hacks.
        These aren't hacks from a technical perspective.
        I personally am also for <?php= ?> its quite useful as a
        shortcut instead of <?php echo ?>, i don't see what's hacky
        about this (plus sometimes you need to write hacky code just to
        get something simple done).
We definitely can't remove short tags as it is too common. However, I have always been against the short <?= notation because it just saves three characters and I think it's a hack just so that people don't have to write <? echo. I personally don't think <?php= should be added and I don't quite understand why people can't just write <?php echo. Does everyone really type so slowly? :) Andi

Thread (57 messages)

« previous php.dev (#69074) next »