-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from zelgerj/master
fixed memory leaks. added new function
- Loading branch information
Showing
6 changed files
with
44 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--TEST-- | ||
appserver: call appserver_set_raw_post_data and check if string is available in php://input and $HTTP_RAW_POST_DATA var. | ||
--CREDITS-- | ||
Johann Zelger <jz [at] techdivision [dot] com> | ||
--FILE-- | ||
<?php | ||
appserver_set_raw_post_data('Set this string to php://input and HTTP_RAW_POST_DATA var'); | ||
var_dump(file_get_contents('php://input')); | ||
var_dump($HTTP_RAW_POST_DATA); | ||
?> | ||
--EXPECT-- | ||
string(57) "Set this string to php://input and HTTP_RAW_POST_DATA var" | ||
string(57) "Set this string to php://input and HTTP_RAW_POST_DATA var" |