3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $src = "http://php.net/images/logo.php"; $num = "1"; if($num == "1") { print("<img src=$src>"); } print("<img src=$src>");
Output for 4.3.0 - 7.2.0
<img src=http://php.net/images/logo.php><img src=http://php.net/images/logo.php>