Perishable

Designer, developer, author, artist. Projects: Perishable Press, Editor at Smashing Mag, Tao of WP, Digging into WP, .htaccess made easy, WP-Mix, xyCSS, & more.
Nov 23
Permalink

PHP Echo Shortcut

Quick PHP shortcut to save a few keystrokes:

We can write this:

<?=$variable; ?>

To replace this:

<?php echo($variable); ?>

  1. harri-christensen reblogged this from perishable
  2. divineteam reblogged this from perishable
  3. claudine-harvey reblogged this from perishable
  4. perishable posted this