3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "username............: username home directory......: 00/username mail storage server.: mail-server.example.net status..............: active quota size..........: 1000.000 megabytes quota count.........: no quota forward to..........: username@example.com full name...........: testing:testing offers..............:"; preg_match_all('/([^\.]+)\.*:\s*(.+)/i', $string, $matches); var_dump($matches);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> array(8) { [0]=> string(30) "username............: username" [1]=> string(34) " home directory......: 00/username" [2]=> string(46) " mail storage server.: mail-server.example.net" [3]=> string(29) " status..............: active" [4]=> string(41) " quota size..........: 1000.000 megabytes" [5]=> string(31) " quota count.........: no quota" [6]=> string(43) " forward to..........: username@example.com" [7]=> string(38) " full name...........: testing:testing" } [1]=> array(8) { [0]=> string(8) "username" [1]=> string(15) " home directory" [2]=> string(20) " mail storage server" [3]=> string(7) " status" [4]=> string(11) " quota size" [5]=> string(12) " quota count" [6]=> string(11) " forward to" [7]=> string(10) " full name" } [2]=> array(8) { [0]=> string(8) "username" [1]=> string(11) "00/username" [2]=> string(23) "mail-server.example.net" [3]=> string(6) "active" [4]=> string(18) "1000.000 megabytes" [5]=> string(8) "no quota" [6]=> string(20) "username@example.com" [7]=> string(15) "testing:testing" } }

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:
28.79 ms | 403 KiB | 8 Q