3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = '{"msg_id":"4396-7666-1337896-1dc5c765ad7-5537bb07-123638242","SenderId":"EXECUT","linecount":"1","billcredit":"0.00","message":"Hello+Test+Message","sendondate":"2015-04-22 20:45:00","seq_id":{"**1**":{"valid":"true","billcredit":"1.00","id_provider":"24","providerkey":"HUTCH","regionKey":"WB","originalnumber":"1234567890","validnumber":"1234567890","mnpID":"106","dlr_seq":1},"**2**":{"valid":"true","billcredit":"1.00","id_provider":"24","providerkey":"HUTCH","regionKey":"WB","originalnumber":"1234567890","validnumber":"1234567890","mnpID":"106","dlr_seq":2}}}'; $y = json_decode($x); print_r($y);
based on NWf8S
Output for 5.2.0 - 7.2.0
stdClass Object ( [msg_id] => 4396-7666-1337896-1dc5c765ad7-5537bb07-123638242 [SenderId] => EXECUT [linecount] => 1 [billcredit] => 0.00 [message] => Hello+Test+Message [sendondate] => 2015-04-22 20:45:00 [seq_id] => stdClass Object ( [**1**] => stdClass Object ( [valid] => true [billcredit] => 1.00 [id_provider] => 24 [providerkey] => HUTCH [regionKey] => WB [originalnumber] => 1234567890 [validnumber] => 1234567890 [mnpID] => 106 [dlr_seq] => 1 ) [**2**] => stdClass Object ( [valid] => true [billcredit] => 1.00 [id_provider] => 24 [providerkey] => HUTCH [regionKey] => WB [originalnumber] => 1234567890 [validnumber] => 1234567890 [mnpID] => 106 [dlr_seq] => 2 ) ) )
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/jRBts 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/jRBts 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/jRBts 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/jRBts on line 3