3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $variable = "name"; $literally = 'My $variable will not print!\\n'; print($literally); $literally = "My $variable will print!\\n"; print($literally); ?>
based on PtaKi
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
My $variable will not print!\nMy name will print!\n