3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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 - 7.1.0
NULL
Output for 5.0.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.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