3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i = 100; while($i > 0) { echo $i; } ?>
Finding entry points
Branch analysis from position: 0
Jump found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Jump found. (Code = 44) Position 1 = 5, Position 2 = 2
Branch analysis from position: 5
Jump found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
Jump found. (Code = 44) Position 1 = 5, Position 2 = 2
Branch analysis from position: 5
Branch analysis from position: 2
filename:       /in/ZdOAl
function name:  (null)
number of ops:  6
compiled vars:  !0 = $i
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   1     0  E >   ASSIGN                                                   !0, 100
         1      > JMP                                                      ->3
         2    >   ECHO                                                     !0
         3    >   IS_SMALLER                                       ~2      0, !0
         4      > JMPNZ                                                    ~2, ->2
         5    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0