3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = json_decode('{"polygons":[{"coords":[[[51.66524722349841,39.261860555541965],[51.663886141991874,39.2623540820007],[51.66519384852736,39.2639204920654],[51.66524722349841,39.261860555541965]]],"params":{"strokeWidth":"3","strokeColor":"blue","balloonContent":"dsf","opacity":"0.6","fillColor":"lightblue"}}],"lines":[],"routes":[]}'); var_dump($json->polygons); ?>
Output for git.master, git.master_jit, rfc.property-hooks
array(1) { [0]=> object(stdClass)#1 (2) { ["coords"]=> array(1) { [0]=> array(4) { [0]=> array(2) { [0]=> float(51.66524722349841) [1]=> float(39.261860555541965) } [1]=> array(2) { [0]=> float(51.663886141991874) [1]=> float(39.2623540820007) } [2]=> array(2) { [0]=> float(51.66519384852736) [1]=> float(39.2639204920654) } [3]=> array(2) { [0]=> float(51.66524722349841) [1]=> float(39.261860555541965) } } } ["params"]=> object(stdClass)#2 (5) { ["strokeWidth"]=> string(1) "3" ["strokeColor"]=> string(4) "blue" ["balloonContent"]=> string(3) "dsf" ["opacity"]=> string(3) "0.6" ["fillColor"]=> string(9) "lightblue" } } }

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