Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Echo Tag

Echo tag is a special PHP opening tag: <?=. It combines the opening tag, and a call to the echo function.

The echo tag should not be confused with PHP short tags <?.

It is also called the short echo tag.

<?php $a = 1; ?><?= $a; ?>

Documentation

See Also