3v4l.org

run code in 300+ PHP versions simultaneously
<?php $loopCond === false; do { echo "<p>The loop ran even though the loop condition is false.</p>"; $loopCond = true; } while ($loopCond = false); echo "<p>Now the loop is done running.</p>"; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 6, Position 2 = 2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
filename:       /in/fRCrV
function name:  (null)
number of ops:  8
compiled vars:  !0 = $loopCond
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   TYPE_CHECK                                    4  ~1      !0
          1        FREE                                                     ~1
    4     2    >   ECHO                                                     '%3Cp%3EThe+loop+ran+even+though+the+loop+condition+is+false.%3C%2Fp%3E'
    5     3        ASSIGN                                                   !0, <true>
    6     4        ASSIGN                                           ~3      !0, <false>
          5      > JMPNZ                                                    ~3, ->2
    9     6    >   ECHO                                                     '%3Cp%3ENow+the+loop+is+done+running.%3C%2Fp%3E'
   10     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.4 ms | 1393 KiB | 13 Q