the tag <?= is equivalent an <?php echo ..., so if you want to write some logic use <?php ... and if you just want to show something you can write <?= ...;

<?php foreach($users as $user) {
<?= "Hello world!" ?>

Are you doing an echo?

<?php echo "something"; ?>

Yeah.. well.. this was a stupid question.. wasn't it?
Thank you @Eduardo! :D


Pretty sure it has happen to all of us at some point! No stupid questions :)

Classic DEV Post from Mar 22

Work faster with Git aliases

Common Git aliases I use every day