3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(json_decode('{"bwData":[{"label":"Cloud Resources 2","data":[[1354082400000,0],[1354168800000,0],[1354255200000,0],[1354341600000,0],[1354428000000,0],[1354514400000,0],[1354600800000,0],[1354687200000,0],[1354773600000,0],[1354860000000,0],[1354946400000,0],[1355032800000,0],[1355119200000,0],[1355205600000,0],[1355292000000,0],[1355378400000,0],[1355464800000,0.12],[1355551200000,0],[1355637600000,0],[1355724000000,0],[1355810400000,0],[1355896800000,0],[1355983200000,0],[1356069600000,0],[1356156000000,0],[1356242400000,0],[1356328800000,0],[1356415200000,0],[1356501600000,0],[1356588000000,0],[1356674400000,0]]}],"service_id":"6543"}'));
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
stdClass Object ( [bwData] => Array ( [0] => stdClass Object ( [label] => Cloud Resources 2 [data] => Array ( [0] => Array ( [0] => 1354082400000 [1] => 0 ) [1] => Array ( [0] => 1354168800000 [1] => 0 ) [2] => Array ( [0] => 1354255200000 [1] => 0 ) [3] => Array ( [0] => 1354341600000 [1] => 0 ) [4] => Array ( [0] => 1354428000000 [1] => 0 ) [5] => Array ( [0] => 1354514400000 [1] => 0 ) [6] => Array ( [0] => 1354600800000 [1] => 0 ) [7] => Array ( [0] => 1354687200000 [1] => 0 ) [8] => Array ( [0] => 1354773600000 [1] => 0 ) [9] => Array ( [0] => 1354860000000 [1] => 0 ) [10] => Array ( [0] => 1354946400000 [1] => 0 ) [11] => Array ( [0] => 1355032800000 [1] => 0 ) [12] => Array ( [0] => 1355119200000 [1] => 0 ) [13] => Array ( [0] => 1355205600000 [1] => 0 ) [14] => Array ( [0] => 1355292000000 [1] => 0 ) [15] => Array ( [0] => 1355378400000 [1] => 0 ) [16] => Array ( [0] => 1355464800000 [1] => 0.12 ) [17] => Array ( [0] => 1355551200000 [1] => 0 ) [18] => Array ( [0] => 1355637600000 [1] => 0 ) [19] => Array ( [0] => 1355724000000 [1] => 0 ) [20] => Array ( [0] => 1355810400000 [1] => 0 ) [21] => Array ( [0] => 1355896800000 [1] => 0 ) [22] => Array ( [0] => 1355983200000 [1] => 0 ) [23] => Array ( [0] => 1356069600000 [1] => 0 ) [24] => Array ( [0] => 1356156000000 [1] => 0 ) [25] => Array ( [0] => 1356242400000 [1] => 0 ) [26] => Array ( [0] => 1356328800000 [1] => 0 ) [27] => Array ( [0] => 1356415200000 [1] => 0 ) [28] => Array ( [0] => 1356501600000 [1] => 0 ) [29] => Array ( [0] => 1356588000000 [1] => 0 ) [30] => Array ( [0] => 1356674400000 [1] => 0 ) ) ) ) [service_id] => 6543 )
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/QuDKD on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/QuDKD on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/QuDKD on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/QuDKD on line 3