← All docs

buffer_new()

buffer_new() — misc builtin supported by Elephc.

buffer_new()

function buffer_new(int $length): mixed

buffer_new() is a misc builtin supported by Elephc. Behavior matches the PHP manual unless noted below.

Parameters:

  • $length (int)

Returns: mixed

No examples yet — check examples/ and showcases/ for usage patterns.