Skip to content

Commit b00c695

Browse files
committed
php 5.3 compat
1 parent 1034609 commit b00c695

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/helper/server.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
while ($line = fgets($input)) {
55
$post .= $line;
66
}
7-
$request = serialize([
7+
$request = serialize(array(
88
'method' => $_SERVER['REQUEST_METHOD'],
99
'uri' => $_SERVER['REQUEST_URI'],
1010
'headers' => getallheaders(),
1111
'raw_post' => $post,
1212
'post' => $_POST,
13-
]);
13+
));
1414
header('Request-Data: ' . $request);
1515
echo $request;

0 commit comments

Comments
 (0)