note 86926 added to function.fwrite
| From: | ceo at l-i-e dot com | Date: | Mon, 10 Nov 2008 23:07:38 +0000 |
| Subject: | note 86926 added to function.fwrite | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-146371@lists.php.net to get a copy of this message | ||
If you are trying to write binary/structured data (e.g., a 4-byte sequence for an (int)) to a file,
you will need to use:
http://php.net/pack
It always takes me about an hour of wracking my brain to remember this function name.
Perhaps it could/should be in the "See Also" for this page?
----
Server IP: 209.41.74.194
Probable Submitter: 38.98.137.29
----
Manual Page -- http://www.php.net/manual/en/function.fwrite.php
Edit -- https://master.php.net/note/edit/86926
Del: integrated -- https://master.php.net/note/delete/86926/integrated
Del: useless -- https://master.php.net/note/delete/86926/useless
Del: bad code -- https://master.php.net/note/delete/86926/bad+code
Del: spam -- https://master.php.net/note/delete/86926/spam
Del: non-english -- https://master.php.net/note/delete/86926/non-english
Del: in docs -- https://master.php.net/note/delete/86926/in+docs
Del: other reasons-- https://master.php.net/note/delete/86926
Reject -- https://master.php.net/note/reject/86926
Search -- https://master.php.net/manage/user-notes.php