Re: ill sprintf() behavior w/ HEX type

From: Date: Thu, 21 Nov 2002 09:01:15 +0000
Subject: Re: ill sprintf() behavior w/ HEX type
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-125388@lists.php.net to get a copy of this message
On Thu, 21 Nov 2002, Jason Wong wrote: > That's because it's expecting a _decimal_ and will automatically convert it to > hex for you. AH! Must've been a longer day than I thought ... dunno how that escaped me. Somehow I was reading "x - the argument is treated as in integer and presented as a hexadecimal number" as if it meant the function would recognize the argument as a integer, even though it's in hex format (resembling a string). Thanks for clearing that up for me! ~Chris

« previous php.general (#125388) next »