3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $json = '{ "Token" : "xxx-xxx-xxx", "ID": "1", "Recipients": [ { "Recipient_ID": "XX", "From_Name": "XXX", "From_Email": "XXX", "To_Name": "XXX", "To_Email": "XXX", "Subject": "XXX", "Message": "XXX", "Attachments": [ { "File_Name": "XXX", "File_Path": "XXX", } ] } ] }'; var_dump(json_decode($json)); var_dump(json_last_error_msg());
based on IjZpH
Output for 5.6.0 - 7.3.0beta1
NULL string(12) "Syntax error"