#18686 [NEW]: Additional parameter for crc32

From: Date: Thu, 01 Aug 2002 15:00:46 +0000
Subject: #18686 [NEW]: Additional parameter for crc32
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15744@lists.php.net to get a copy of this message
From: ahristov@icygen.com Operating system: All PHP version: 4.2.2 PHP Bug Type: Feature/Change Request Bug description: Additional parameter for crc32 Today I have faced problems in interoperability with Java. To check that some document is not updated I use crc32() in PHP, and my coleague some crc transformation in Java. When I get below zero result he passes me number above 2^31. Using dechex() is workaround because he has to pass me Hex value of the crc32 and I to check them as strings. Is there any chance for second parameter RETURN_FLOAT=FALSE - to have no problems like this with the overflow of the signed ints. This will change the return type to mixed. Regards, Andrey -- Edit bug report at http://bugs.php.net/?id=18686&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18686&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18686&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18686&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18686&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18686&r=support Expected behavior: http://bugs.php.net/fix.php?id=18686&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18686&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18686&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18686&r=globals

« previous php.bugs (#15744) next »