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; var_dump($html);
Output for 4.3.0 - 7.1.0
string(50) " onclick="javascript:modify_feed('foo','bar');""