3v4l.org

run code in 300+ PHP versions simultaneously
<?php $line = "10,500,TRUE,59,m"; preg_match_all("/(\d+,\d+|\d+|\w+),/", $line . ",", $match); var_dump($match);
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> array(4) { [0]=> string(7) "10,500," [1]=> string(5) "TRUE," [2]=> string(3) "59," [3]=> string(2) "m," } [1]=> array(4) { [0]=> string(6) "10,500" [1]=> string(4) "TRUE" [2]=> string(2) "59" [3]=> string(1) "m" } }

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.86 ms | 406 KiB | 5 Q