3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = '{"status":"success","code":"OK","data":"O:42:\"Opinurate\\Component\\Company\\Entity\\Company\":16:{s:5:\"\u0000*\u0000id\";s:1:\"1\";s:7:\"\u0000*\u0000name\";s:6:\"mandco\";s:15:\"\u0000*\u0000display_name\";s:4:\"M&Co\";s:16:\"\u0000*\u0000email_address\";s:15:\"info@mandco.com\";s:12:\"\u0000*\u0000telephone\";s:11:\"08000317200\";s:10:\"\u0000*\u0000website\";s:22:\"http:\/\/www.mandco.com\/\";s:10:\"\u0000*\u0000address\";s:59:\"CALEDONIA HOUSE, 5 INCHINNAN DRIVE, INCHINNAN BUSINESS PARK\";s:7:\"\u0000*\u0000city\";s:9:\"INCHINNAN\";s:11:\"\u0000*\u0000postcode\";s:7:\"PA4 9AF\";s:23:\"\u0000*\u0000is_reporting_company\";s:1:\"1\";s:15:\"\u0000*\u0000is_visitable\";s:1:\"1\";s:7:\"\u0000*\u0000hash\";s:40:\"d2f69632ceb3c46a661d2db5f9450128fb536818\";s:17:\"\u0000*\u0000custom_message\";N;s:7:\"\u0000*\u0000logo\";s:15:\"mandco-logo.png\";s:13:\"\u0000*\u0000created_at\";s:19:\"2012-11-30 17:23:42\";s:13:\"\u0000*\u0000updated_at\";s:19:\"2012-11-30 17:23:42\";}"}'; $b = json_decode($a); var_dump($b);
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.20, 7.2.5 - 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
NULL
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/Dfskn 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/Dfskn on line 3
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/Dfskn 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/Dfskn on line 3

preferences:
209.69 ms | 401 KiB | 314 Q