3v4l.org

run code in 200+ 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 - 7.2.0
This is a constant stringThis is an interpolated stringThis is a concatenated stringThis is a stacked echo string