--TEST-- json_post with malformed JSON (https://github.com/m6w6/ext-json_post/issues/3) --SKIPIF-- --INI-- json_post.error_response = 400 --POST_RAW-- Content-Type: application/json { "greeting": "Hello World } --FILE-- Done --EXPECTHEADERS-- Status: 400 Bad Request X-JSON-Error-Code: 3 --EXPECTF-- array(0) { } int(0) Done