3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586)"; preg_match('/;/', $str, $matches, PREG_OFFSET_CAPTURE); echo implode($matches);
Output for 5.5.0 - 7.1.0
Notice: Array to string conversion in /in/S63jI on line 7 Array
Output for 4.3.0 - 5.4.45
Array