3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_decode('[{ "ext_id": "E360", "name": "E360", "info": "Gabriel\'s", "x": 437, "y": 82, "width": 6, "height": 6, "points": "", "floor": 0, "id": 1, "last_update": 1400260209, "language": "pt", "active": 1, "type": "stand", "category_count": 0, "meta_count": 0, "attachment_count": 0, "ongoing_count": 0, "product_count": 0, "company_count": 1 }]', true));
Output for 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.10, 7.2.0 - 7.2.33, 7.3.12 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
array(1) { [0]=> array(20) { ["ext_id"]=> string(4) "E360" ["name"]=> string(4) "E360" ["info"]=> string(9) "Gabriel's" ["x"]=> int(437) ["y"]=> int(82) ["width"]=> int(6) ["height"]=> int(6) ["points"]=> string(0) "" ["floor"]=> int(0) ["id"]=> int(1) ["last_update"]=> int(1400260209) ["language"]=> string(2) "pt" ["active"]=> int(1) ["type"]=> string(5) "stand" ["category_count"]=> int(0) ["meta_count"]=> int(0) ["attachment_count"]=> int(0) ["ongoing_count"]=> int(0) ["product_count"]=> int(0) ["company_count"]=> int(1) } }
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/21Pq0 on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/21Pq0 on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/21Pq0 on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/21Pq0 on line 2

preferences:
263.83 ms | 401 KiB | 355 Q