Date: 12/31/99
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #3073 Updated: do .. while with continue no longer works"
- Previous message: Thies C. Arntzen: "[PHP-DEV] HAPPY NEW YEAR!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 3062
User Update by: anderson <email protected>
Status: Open
Bug Type: Misbehaving function
Description: dechex doesn't handle negative numbers
I also noticed that
PHPAPI void convert_to_long_base(pval *op, int base)
uses strtol() instead of strtoul(), which also contributes to my difficulty.
$ip=0xffffffff doesn't equal -1, but $ip=~0 does.
Perhaps I'm just trying to do something that isn't supposed to work, but
the results are clertainly not intuitive.
Full Bug description available at: http://bugs.php.net/?id=3062
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #3073 Updated: do .. while with continue no longer works"
- Previous message: Thies C. Arntzen: "[PHP-DEV] HAPPY NEW YEAR!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

