3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $n = "fernando caraballo ortiz"; $t = explode(" ", $n, 2); var_dump($t);
based on KVbFj
Output for 5.6.0 - 7.0.0, 7.0.2 - 7.3.0rc4
array(2) { [0]=> string(8) "fernando" [1]=> string(15) "caraballo ortiz" }
Output for 7.0.1

Process exited with code 137.