run code in 150+ php & hhvm versions
Bugs & Features
<?php $name = 'Travis'; //you could assign a vairable with double qoutes also echo "hi there, $name, '!'";/*using single qoutes would have printed the variable as is, using double howver is said to process slower*/ //ex. echo 'hi there, $name'; would have printed '$name', instead of the intended value echo 'hello, ', $name, "!";//a way to include a variable within a single quote. ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
hi there, Travis, '!'hello, Travis!