<?php // JSON is decoded print_r(json_decode('{"a":1,"b":3,"a":2}')); // with an error print json_last_error_msg(); // it is actually an error print_r(json_decode('{"a":1,"b":3,a":2}', flags: JSON_THROW_ON_ERROR)); ?>
You have javascript disabled. You will not be able to edit any code.