3v4l.org

run code in 300+ PHP versions simultaneously
<?php $langertext= "loginmanuthedanuSID42sbe2345MACBBADCEunix_timestam344352123"; $regex = '/login(?<loginname>\S*)SID(?<SID>\S*)MAC(?<MAC>\S*)unix_timestam(?<unix_timestam>\d*)/'; preg_match($regex, $langertext, $matches); var_dump($matches);
Output for git.master, git.master_jit, rfc.property-hooks
array(9) { [0]=> string(59) "loginmanuthedanuSID42sbe2345MACBBADCEunix_timestam344352123" ["loginname"]=> string(11) "manuthedanu" [1]=> string(11) "manuthedanu" ["SID"]=> string(9) "42sbe2345" [2]=> string(9) "42sbe2345" ["MAC"]=> string(6) "BBADCE" [3]=> string(6) "BBADCE" ["unix_timestam"]=> string(9) "344352123" [4]=> string(9) "344352123" }

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:
127.89 ms | 406 KiB | 5 Q