3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $adjective = 'per'; $code = 'code'; echo 'phptherightway is ' . $adjective . '.' // a single quotes example that uses multiple concatenating for . "\n" // variables and escaped string . 'I love learning' . $code . '!';
Output for 4.3.0 - 7.1.0
phptherightway is per. I love learningcode!