← All docs
mb_http_input()
Returns recorded HTTP input encoding identification or the configured input encoding list.
mb_http_input()
function mb_http_input(?string $type = null): array|string|false
Returns recorded HTTP input encoding identification or the configured input encoding list.
Parameters:
$type(?string), defaultnull, optional
Returns: array|string|false
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported through a declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/string/mb_http_input.rs).
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how mb_http_input is implemented in the compiler, see the internals page.