fwrite()
function fwrite(resource $stream, string $data): int
Binary-safe file write.
Parameters:
$stream(resource)$data(string)
Returns: int
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how fwrite is implemented in the compiler, see the internals page.