|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-01-13 02:22 UTC] tony2001@php.net
[2005-01-21 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 28 11:00:02 2025 UTC |
Description: ------------ not much time for investigation, just a short report, versions used: ~$ php -v PHP 4.3.7 (cli) (built: Jun 3 2004 18:50:33) ~$ php5 -v PHP 5.0.2 (cli) (built: Sep 24 2004 22:16:06) Reproduce code: --------------- var_dump((int)hexdec("80000000")); Expected result: ---------------- (PHP4) ~$ php -r 'var_dump((int)hexdec("80000000"));' int(-2147483648) Actual result: -------------- ~$ php5 -r 'var_dump((int)hexdec("80000000"));' int(2147483647)