3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str = "a. Hello my name is xxx. b. Hello is my name yyy? c. Hello my name is rrr! d. Hello my name is aaa"; $res = preg_split("/\n[a-z].\s/", "\n" . $str); array_shift($res); print_r($res);
Output for rfc.property-hooks, git.master, git.master_jit
Array ( [0] => Hello my name is xxx. [1] => Hello is my name yyy? [2] => Hello my name is rrr! [3] => Hello my name is aaa )

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:
94.76 ms | 1260 KiB | 4 Q