|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-09-07 22:05 UTC] bestmischmaker at web dot de
[2005-09-07 22:18 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 04:00:01 2025 UTC |
Description: ------------ Hy... if you run these few lines of code the is_int function say: OK is an Interger but var dump say it's an floatingpoint number.... Now is my question who of both says the right ??? regard J?!(\)t? Reproduce code: --------------- <?php $i = 2147000000; set_time_limit(0); while(is_int($i)) { $i++; } var_dump(--$i); var_dump(2); ?> Expected result: ---------------- float(2147483647) int(2) Actual result: -------------- int(2147483647) int(2)