← All docs

ptr_write16()

Writes one 16-bit word through a raw pointer.

ptr_write16()

function ptr_write16(pointer $pointer, int $value): void

Writes one 16-bit word through a raw pointer.

Parameters:

  • $pointer (pointer)
  • $value (int)

Returns: void

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

Internals

For how ptr_write16 is implemented in the compiler, see the internals page.