3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = "(31.56215484936523, 74.35487531125546),(31.556669638119804, 74.35487531125546),(31.558351803858574, 74.3627717345953),(31.562886186493845, 74.36109803617)"; preg_match_all("/\((\d+\.\d+),\s(\d+\.\d+)\)/", $input, $output); Var_dump($output);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> array(4) { [0]=> string(38) "(31.56215484936523, 74.35487531125546)" [1]=> string(39) "(31.556669638119804, 74.35487531125546)" [2]=> string(38) "(31.558351803858574, 74.3627717345953)" [3]=> string(36) "(31.562886186493845, 74.36109803617)" } [1]=> array(4) { [0]=> string(17) "31.56215484936523" [1]=> string(18) "31.556669638119804" [2]=> string(18) "31.558351803858574" [3]=> string(18) "31.562886186493845" } [2]=> array(4) { [0]=> string(17) "74.35487531125546" [1]=> string(17) "74.35487531125546" [2]=> string(16) "74.3627717345953" [3]=> string(14) "74.36109803617" } }

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:
58.26 ms | 1812 KiB | 4 Q