Re: Can someone explain this?

From: Date: Tue, 08 Jun 2004 17:15:49 +0000
Subject: Re: Can someone explain this?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-187900@lists.php.net to get a copy of this message
> Forgive me if my math is askew, but doesn't the negative imply the > number is signed? If I remember from my C++ days, a declaration of: > > unsigned int blah; > > Meant you could not store negative numbers in that variable. Hence, > negatives would be signed. No? Yes, but once it become a hex string (after dechex()), all that info is gone. I think the way to handle this situation is to use pack & unpack. --------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html

« previous php.general (#187900) next »