3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = '"momo rabit" <m.rabit@sfr.fr>, "youn" <youn@hotmail.fr>, "yourmail" <yourmail@gmail.com>, "yovan" <y.yovan@orange.fr>, "popol" <popol.paul@alice.fr>'; //$list = htmlspecialchars($list); preg_match_all("/<(.*?)>/", $list, $list_step); var_dump($list_step); // Return empty arrays
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> array(5) { [0]=> string(16) "<m.rabit@sfr.fr>" [1]=> string(17) "<youn@hotmail.fr>" [2]=> string(20) "<yourmail@gmail.com>" [3]=> string(19) "<y.yovan@orange.fr>" [4]=> string(21) "<popol.paul@alice.fr>" } [1]=> array(5) { [0]=> string(14) "m.rabit@sfr.fr" [1]=> string(15) "youn@hotmail.fr" [2]=> string(18) "yourmail@gmail.com" [3]=> string(17) "y.yovan@orange.fr" [4]=> string(19) "popol.paul@alice.fr" } }

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:
163.1 ms | 407 KiB | 5 Q