3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = json_encode('[ { "label": "vvk", "data": [ [ "1404054000000", 6 ], [ "1405353600000", 10 ] ] }, { "label": "vrij", "data": [ [ "1404054000000", 4 ], [ "1405353600000", 8 ] ] }, { "label": "online", "data": [ [ "1405347300000", 1 ], [ "1405348200000", 2 ] ] }, { "label": "ADK", "data": [ [ "1405353600000", 5 ] ] }, { "label": "ADK Kind", "data": [ [ "1405353600000", 4 ] ] } ]'); foreach($mydata as $data) { echo $mydata; } //echo $data;
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $mydata in /in/cWbD0 on line 63 Warning: foreach() argument must be of type array|object, null given in /in/cWbD0 on line 63

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:
44.82 ms | 401 KiB | 8 Q