|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-03 13:21 UTC] sander@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 21 00:00:02 2025 UTC |
Basically, what I want to do is write the hexadecimal value "0x0F000000L" out to a file, without it being converted to a string. I am using a C program to read the file and the results don't match. // #define COUNT_FLAG 0x0F000000L define("COUNT_FLAG", "251658240", FALSE); // define("COUNT_FLAG", "0x0F000000", FALSE); // Open file $fp = fopen($sTempFileName, "ab"); fwrite($fp, COUNT_FLAG); // Copy Count fwrite($fp, $nCopyCount); fwrite($fp, intval(COUNT_FLAG) ); fwrite($fp, serialize(intval($nCopyCount)) ); fclose($fp);