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); $x = $output[1]; $y = $output[2]; Var_dump($x); var_dump($y);
Output for git.master, git.master_jit, rfc.property-hooks
array(4) { [0]=> string(17) "31.56215484936523" [1]=> string(18) "31.556669638119804" [2]=> string(18) "31.558351803858574" [3]=> string(18) "31.562886186493845" } 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:
52.87 ms | 1713 KiB | 4 Q