3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "{ \"idMissing\": { \"en\": \"Object must have an id property.\" }, \"invalidBody\": { \"en\": \"Passing in the 'body' request\n option as an array to send a POST request has been deprecated.\n Please use the 'form_params' request option to send a\n application/x-www-form-urlencoded request, or a the 'multipart'\n request option to send a multipart/form-data request.\" } }"; $b = json_decode($a); print_r($b);
Output for 5.5.0 - 7.3.1