projects
/
m6w6
/
ext-json_post
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
PHP compat 5-8
[m6w6/ext-json_post]
/
tests
/
005.phpt
1
--TEST--
2
json_post with empty object
3
--SKIPIF--
4
<?php
5
extension_loaded("json_post") or die("skip need json_post support\n");
6
?>
7
--POST_RAW--
8
Content-type: text/json
9
10
{
11
}
12
--FILE--
13
<?php
14
var_dump($_POST, json_last_error());
15
?>
16
Done
17
--EXPECTF--
18
array(0) {
19
}
20
int(0)
21
Done