projects
/
m6w6
/
ext-json_post
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
JSON_POST_ERROR, json_post.onerror.* INI, warning
[m6w6/ext-json_post]
/
tests
/
error003.phpt
1
--TEST--
2
json_post with malformed JSON [warning] (https://github.com/m6w6/ext-json_post/issues/3)
3
--EXTENSIONS--
4
json_post
5
--INI--
6
json_post.onerror.warning = on
7
--POST_RAW--
8
Content-Type: application/json
9
10
{"a
11
--FILE_EXTERNAL--
12
error.inc
13
--EXPECTHEADERS--
14
--EXPECTF--
15
Warning: json_post: json_decode failed with error code: 3 in %s on line %s
16
DONE