3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $output = ''; $rounds = array( '<a title="cs_assault" href="link1">cs_assault</a>', '<a title="de_aztec" href="link2">de_aztec</a>' ); $output .= '<a href="http://google.com">'; $maplist = implode(', ', array_values($rounds)); $output .= '<div class="maplist">' . $maplist . '</div>'; $output .= '</a>'; echo $output;
Output for 4.3.0 - 7.2.0
<a href="http://google.com"><div class="maplist"><a title="cs_assault" href="link1">cs_assault</a>, <a title="de_aztec" href="link2">de_aztec</a></div></a>