3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
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.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.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