3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $feed = new StdClass; $feed->name = 'foo'; $feed->url = 'bar'; $html = <<<HTML onclick="javascript:modify_feed('{$feed->name}','{$feed->url}');" HTML; echo $html; print_r($feed);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
onclick="javascript:modify_feed('foo','bar');"stdClass Object ( [name] => foo [url] => bar )