3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = 'string'; echo "This is a constant string"; echo "This is an interpolated $string"; echo "This is a concatenated " . $string; echo "This is a stacked echo " , $string;
based on FBrhU
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
This is a constant stringThis is an interpolated stringThis is a concatenated stringThis is a stacked echo string