3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user = 'Robert John Alex Ridly'; //$user = 'Robert Downey Jr.'; //$user = 'Robert Plant'; //$user = 'Robert'; var_export(preg_split('/^\S+\K | (?=\S+$)/', $user, 0, PREG_SPLIT_NO_EMPTY));
Output for git.master, git.master_jit
array ( 0 => 'Robert', 1 => 'John Alex', 2 => 'Ridly', )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
38.87 ms | 981 KiB | 4 Q