mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Add request_parse_body() function
RFC: https://wiki.php.net/rfc/rfc1867-non-post This function allows populating the $_POST and $_FILES globals for non-post requests. This avoids manual parsing of RFC1867 requests. Fixes #55815 Closes GH-11472
This commit is contained in:
parent
2f894389b6
commit
cd66fcc68b
41 changed files with 995 additions and 45 deletions
|
@ -36,6 +36,7 @@ extern ZEND_API zend_class_entry *zend_ce_value_error;
|
|||
extern ZEND_API zend_class_entry *zend_ce_arithmetic_error;
|
||||
extern ZEND_API zend_class_entry *zend_ce_division_by_zero_error;
|
||||
extern ZEND_API zend_class_entry *zend_ce_unhandled_match_error;
|
||||
extern ZEND_API zend_class_entry *zend_ce_request_parse_body_exception;
|
||||
|
||||
ZEND_API void zend_exception_set_previous(zend_object *exception, zend_object *add_previous);
|
||||
ZEND_API void zend_exception_save(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue