fwrite

PHP 4, PHP 5, PHP 7, PHP 8
fwrite - Binary-safe file write
Manual
Code Examples

Example #1 A simple fwrite example

PHP Version: