Get your own PHP server Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<?php
$color = "red";
?>
 
<p>Roses are <?=$color?></p>
<p><b>Note:</b> The shortcut syntax only works with the short_open_tag configuration setting enabled.</p>
</body>
</html>

Roses are red

Note: The shortcut syntax only works with the short_open_tag configuration setting enabled.