note 86926 modified in function.fwrite by danbrown
| From: | danbrown@php.net | Date: | Tue, 11 Nov 2008 16:29:55 +0000 |
| Subject: | note 86926 modified in function.fwrite by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-146395@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
--was--
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?
http://php.net/manual/en/function.fwrite.php