PHP Code Completion Easy +10 XP
Echo Shorthand
Complete the PHP opening tag with echo shorthand.
PHPFill in the blank
___= "Hello" ?>Type the missing code
Show answer and explanation
Answer: <?=
<?= is shorthand for <?php echo. It outputs a value directly without writing the full echo statement.
Hint: PHP has a short echo tag.
What this challenge tests
Code Completion in PHP: syntax, echo.