3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $author = 'Jan Stanisław Nowak'; $foo = explode(' ', $author); echo $foo[0] . ' ' . $foo[1];
based on BJYGg
Output for 4.3.0 - 7.2.0
Jan Stanisław