|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-03-09 13:24 UTC] sjon at hortensius dot net
[2018-03-10 00:44 UTC] jhdxr@php.net
-Status: Open
+Status: Verified
[2018-03-10 08:23 UTC] jhdxr@php.net
-Status: Verified
+Status: Analyzed
-Assigned To:
+Assigned To: jhdxr
[2018-03-10 08:23 UTC] jhdxr@php.net
[2018-03-10 14:20 UTC] bwoebi@php.net
[2018-03-10 14:20 UTC] bwoebi@php.net
-Status: Analyzed
+Status: Closed
[2018-03-10 14:21 UTC] bwoebi@php.net
[2018-03-10 14:29 UTC] bwoebi@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 23 00:00:02 2025 UTC |
Description: ------------ A for-loop that uses condition $i < $x + 1 prints very weird numbers. This requires you to ENABLE the opcache and DISABLE xdebug. Test script: --------------- function test(int $nr) { for ($i = $nr; $i <= $nr + 1; $i++) var_dump($i); } test(1); Expected result: ---------------- int(1) int(2) Actual result: -------------- int(-9223372036854775808) int(-9223372036854775808)