← All docs

ptr_write_f64()

Writes one IEEE 754 double-precision value through a raw pointer.

ptr_write_f64()

function ptr_write_f64(pointer $pointer, mixed $value): void

Writes one IEEE 754 double-precision value through a raw pointer.

Parameters:

  • $pointer (pointer)
  • $value (mixed)

Returns: void

Availability

Compiled (AOT)Magician (eval)
AvailableAvailable
  • Hidden in strict PHP mode: this builtin is an elephc extension with no PHP equivalent, so programs compiled with --strict-php treat the name as nonexistent, in compiled code and inside eval’d code.

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

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