3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_decode('{"ProductId":"1","ProductName":"WGServer","DiskSerialNumber":"SB024CKGF9S44E","MACAddress":"00:02:B6:36:3D:59","ProductSerialNumber":"5023344","LicenseKey":"GMAJ6A-AZ2AIR-EIIIAA-TCAMAA-T9AXER-SEC2AT","GenerationDate":"2009-05-21","ExpirationDate":"Unlimited","UsersLimit":"50","modules":[{"Id":"7","Module":"WGTICKET","Description":"Tickets printer module"},{"Id":"9","Module":"WGSECTRACE","Description":"Security and Traceability Module"}],"SSPStatus":"N\/A"}'));
Output for 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 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
object(stdClass)#1 (11) { ["ProductId"]=> string(1) "1" ["ProductName"]=> string(8) "WGServer" ["DiskSerialNumber"]=> string(14) "SB024CKGF9S44E" ["MACAddress"]=> string(17) "00:02:B6:36:3D:59" ["ProductSerialNumber"]=> string(7) "5023344" ["LicenseKey"]=> string(41) "GMAJ6A-AZ2AIR-EIIIAA-TCAMAA-T9AXER-SEC2AT" ["GenerationDate"]=> string(10) "2009-05-21" ["ExpirationDate"]=> string(9) "Unlimited" ["UsersLimit"]=> string(2) "50" ["modules"]=> array(2) { [0]=> object(stdClass)#2 (3) { ["Id"]=> string(1) "7" ["Module"]=> string(8) "WGTICKET" ["Description"]=> string(22) "Tickets printer module" } [1]=> object(stdClass)#3 (3) { ["Id"]=> string(1) "9" ["Module"]=> string(10) "WGSECTRACE" ["Description"]=> string(32) "Security and Traceability Module" } } ["SSPStatus"]=> string(3) "N/A" }
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/hWD3s 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/hWD3s 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/hWD3s 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/hWD3s on line 2

preferences:
276.19 ms | 401 KiB | 342 Q