There are many questions on stack exchange on whether or not you should use <?php echo ?>
or <?= ?>
.
I have decided to use <?php echo ?>
, but am wondering if there is a good way to create a shortcut to save time writing this.
Currently I use a default setup of Sublime Text 2, with no plugins or anything installed, I'm not a "super user". But I do know that if I type php then press tab it outputs: <?php ?>
.
Is there a way to get an echo inside this, and is it a good idea to do this? Has anyone done this already?
PS I should add, I don't always want the echo to appear, as I won't always be needing to echo something.