<?php fwrite(resource $stream, string $data, ?int $length = null): int|false
<?php return false; } fwrite($handle, $content); chmod($path, 0777);
<?php EOT; $fp = tmpfile(); fwrite($fp, $yaml); $path = stream_get_meta_data($fp)['uri']; $this->assertEqualsIgnoringLineEndings(