ob_get_length()
function ob_get_length(): mixed
Returns the length of the output buffer.
Parameters: none.
Returns: mixed
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/core/ob_get_length.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how ob_get_length is implemented in the compiler, see the internals page.