3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print <<<END This uses the "here document" syntax to output multiple lines with $variable interpolation. Note that the here document terminator must appear on a line with just a semicolon no extra whitespace! END; ?>
Output for 5.0.4 - 5.2.2, 7.0.0 - 7.1.0
Notice: Undefined variable: variable in /in/CgrUA on line 5 This uses the "here document" syntax to output multiple lines with interpolation. Note that the here document terminator must appear on a line with just a semicolon no extra whitespace!
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined variable: variable in /in/CgrUA on line 8 This uses the "here document" syntax to output multiple lines with interpolation. Note that the here document terminator must appear on a line with just a semicolon no extra whitespace!
Output for 5.2.3 - 5.6.28
Notice: Undefined variable: variable in /in/CgrUA on line 7 This uses the "here document" syntax to output multiple lines with interpolation. Note that the here document terminator must appear on a line with just a semicolon no extra whitespace!
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: variable in /in/CgrUA on line 5 This uses the "here document" syntax to output multiple lines with interpolation. Note that the here document terminator must appear on a line with just a semicolon no extra whitespace!