unsigned long int
| From: | René Fournier | Date: | Mon, 10 May 2004 19:22:52 +0000 |
| Subject: | unsigned long int | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-185839@lists.php.net to get a copy of this message | ||
I don't know C, but I was wondering if it is possible to:
1. Define 32-bit integer in PHP, called $val (max value of $val);
2. Assign the value of 10 to $val.
3. Pack $val to a binary variable ($bin_var);
...such that $val is only equal to 10, but it is occupying 32-bits of data...
(In case you were wondering, am I quite lost, yes, I am.)
...Rene