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($data as $mydata) { // echo $mydata; //} echo $data[0]['label'];
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /in/tPhd8:9 Stack trace: #0 {main} thrown in /in/tPhd8 on line 9
Process exited with code 255.

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