Short Echo Command in PHP
There is a special short form
of the echo
command. Let's see
what it looks like. Suppose we have
data output in the markup:
<p><?php echo 'text'; ?></p>
The output can be shortened by using a special short PHP tag:
<p><?= 'text' ?></p>
Simplify the following code:
<p><?php echo date('w'); ?></p>