3v4l.org

run code in 300+ PHP versions simultaneously
<?php $obj_array=(object)[ ['label'=>'1509521006','value'=>'12.324711'], ['label'=>'1509531448','value'=>'12.700929'] ]; $your_json=json_encode($obj_array); // now convert to index the subarrays... echo json_encode(array_map('array_values',json_decode($your_json,true))); //var_export(json_decode($json,true));
Output for git.master, git.master_jit, rfc.property-hooks
[["1509521006","12.324711"],["1509531448","12.700929"]]

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:
113.52 ms | 405 KiB | 5 Q