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

PHP Echo Shortcut

Quick PHP shortcut to save a few keystrokes:

We can write this:

<?=$variable; ?>

To replace this:

<?php echo($variable); ?>

  1. divineteam reblogged this from perishable
  2. perishable posted this