[SVN] r4551 (HTML)

Benoit Gagnon b.gagnon at gmail.com
Thu Aug 10 13:40:14 UTC 2006


On 8/5/06, Allan Odgaard <throw-away-1 at macromates.com> wrote:
> On 4/8/2006, at 19:33, Benoit Gagnon wrote:
>
> >> [FIXED] Syntax highlight no longer stalls where two PHP tags
> >> "touch" (example: `<?= $foo ?><?= $bar ?>`)
> >
> > I'm confused.. Is <?= really a valid PHP opening tag ? I thought it
> > was only <?php or <?, if short tags are enabled.
>
> <?= $foo ?> is short for: <?php echo $foo; ?>

Wow. All these years using PHP and I didn't even know this trick !
Been using it a lot in ERB but I never thought it worked in PHP.

Do you need short tags set to "on" in the config ?

> _______________________________________________
> textmate-dev mailing list
> textmate-dev at lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate-dev
>



More information about the textmate-dev mailing list