3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(1); $b = '<id>' . join('</id><id>', $a) . '</id>'; var_dump($b); ?>
Output for 4.3.0 - 7.3.0alpha1
string(10) "<id>1</id>"