3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $lang["FAI_R"]["PRT"]["TITLE"]["HEADER"] = 'Hello, World!'; $html = <<<EOD <div id="topHeaderView">$value</div> <table> <tr> <td>{$lang["FAI_R"]["PRT"]["TITLE"]["HEADER"]}</td> </tr> EOD; var_dump($html);
Output for 5.0.4 - 5.2.2, 7.0.0 - 7.1.0
Notice: Undefined variable: value in /in/lZLm8 on line 6 string(79) "<div id="topHeaderView"></div> <table> <tr> <td>Hello, World!</td> </tr>"
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined variable: value in /in/lZLm8 on line 11 string(79) "<div id="topHeaderView"></div> <table> <tr> <td>Hello, World!</td> </tr>"
Output for 5.2.3 - 5.6.21
Notice: Undefined variable: value in /in/lZLm8 on line 9 string(79) "<div id="topHeaderView"></div> <table> <tr> <td>Hello, World!</td> </tr>"
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: value in /in/lZLm8 on line 6 string(79) "<div id="topHeaderView"></div> <table> <tr> <td>Hello, World!</td> </tr>"