← All docs
ptr_offset()
Returns a new pointer offset from the given pointer by the given byte count.
ptr_offset()
function ptr_offset(pointer $pointer, int $offset): mixed
Returns a new pointer offset from the given pointer by the given byte count.
Parameters:
$pointer(pointer)$offset(int)
Returns: mixed
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how ptr_offset is implemented in the compiler, see the internals page.