3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $value = 'Foo Bar'; $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 4.3.0 - 7.1.10
string(86) "<div id="topHeaderView">Foo Bar</div> <table> <tr> <td>Hello, World!</td> </tr>"