Re: short_open_tag

From: Date: Fri, 21 Mar 2008 20:13:45 +0000
Subject: Re: short_open_tag
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-36277@lists.php.net to get a copy of this message
Hello Stanislav, Friday, March 21, 2008, 9:08:02 PM, you wrote: >> However the '<?echo' I mentioned would work. We could also go for something >> like '<?phpecho'. I for one would really appreciate it. And I would not > <?phpecho is too long. Really, saving one space here isn't worth a > trouble. If we had something short and nice like <?= that'd be good and > would make PHP templates look clean, but doing <?phpecho instead of > <?php echo - how does it make any real difference? The thing is that <?php echo would require a ; while <?phpecho wouldn't. And if you ronly argument is saving a few keystrokes then we should really get rid of short open tags completely. And definitively not making their use easier. Best regards, Marcus

« previous php.internals (#36277) next »