|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-03-14 04:42 UTC] laruence@php.net
-Assigned To:
+Assigned To: nikic
[2017-03-14 04:42 UTC] laruence@php.net
[2017-03-17 17:44 UTC] nikic@php.net
[2022-06-02 14:57 UTC] git@php.net
-Status: Assigned
+Status: Closed
[2022-06-02 14:59 UTC] derick@php.net
-Status: Closed
+Status: Assigned
[2023-05-26 07:51 UTC] vijaylaxmidiya559 at gmail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 09:00:01 2025 UTC |
Description: ------------ The op code for the jmp seems to be generated against the wrong line for the continue. (See script below) 6 9 > EXT_STMT 10 > JMPZ <false>, ->13 7 11 > EXT_STMT 12 > JMP ->8 13 > > JMP ->8 14 > FE_FREE $3 Pasted from Derick HP unfortunately doesn't reset the line numbers for some of the generated code: 6 9 > EXT_STMT 10 > JMPZ <false>, ->13 7 11 > EXT_STMT 12 > JMP ->8 13 > > JMP ->8 14 > FE_FREE $3 The JMP in line 12 (and line 13) is generated for line 7, and not 8. This is something that needs to be fixed in PHP itself See https://bugs.xdebug.org/view.php?id=1405#c4232 for more info Test script: --------------- foreach([1,2] as $value) { if (false) { continue; } }