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("/&lt;(.*?)&gt;/", $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(22) "&lt;m.rabit@sfr.fr&gt;" [1]=> string(23) "&lt;youn@hotmail.fr&gt;" [2]=> string(26) "&lt;yourmail@gmail.com&gt;" [3]=> string(25) "&lt;y.yovan@orange.fr&gt;" [4]=> string(27) "&lt;popol.paul@alice.fr&gt;" } [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:
191.38 ms | 407 KiB | 5 Q