Function __global->_parse_raw_http_request_multipart
Definitions
sources/input_filter_2.php
- Parse raw HTTP request data in multipart format (multipart/form-data).Based on https://gist.github.com/chlab/4283560.Doesn't support more than one level of list nesting, or associative arrays.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $input | string | No | No | required parameter | N/A | N/A | Data |
| $boundary | string | No | No | required parameter | N/A | N/A | Multi-part boundary |
Returns
- Associative array of request data (null: could not rescue)
- Type: ?array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Parse raw HTTP request data in multipart format (multipart/form-data).Based on https://gist.github.com/chlab/4283560.Doesn't support more than one level of list nesting, or associative arrays.
*
* @param string $input Data
* @param string $boundary Multi-part boundary
* @return ?array Associative array of request data (null: could not rescue)
*/
function _parse_raw_http_request_multipart(string $input, string $boundary) : ?array
* Parse raw HTTP request data in multipart format (multipart/form-data).Based on https://gist.github.com/chlab/4283560.Doesn't support more than one level of list nesting, or associative arrays.
*
* @param string $input Data
* @param string $boundary Multi-part boundary
* @return ?array Associative array of request data (null: could not rescue)
*/
function _parse_raw_http_request_multipart(string $input, string $boundary) : ?array

