Can we write binary file using fopen? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Can we write binary file using fopen?

9th May 2016, 1:42 AM
Dennis Arfan
Dennis Arfan - avatar
2 Answers
+ 1
Yes you can! Any type of file can be used.
16th Jun 2016, 7:41 AM
James Flanders
+ 1
yes! also you can use "file_put_contents" function too. http://php.net/manual/en/function.file-put-contents.php
30th Nov 2016, 9:52 PM
Hooman Hassanzadeh
Hooman Hassanzadeh - avatar