3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ROFL = "ROFL"; $foo = "LOL"; const foo = "ROFL"; echo "${foo} ${ foo}";
based on 4PJil
Output for 5.5.0 - 7.2.6
LOL ROFL