3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hello = 0; while($hello<5) { echo 'Hello World '+'\<br\>'; $hello+=1; } echo 'Goodbye World';?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 2
Branch analysis from position: 7
Branch analysis from position: 2
filename:       /in/uZuYM
function name:  (null)
number of ops:  9
compiled vars:  !0 = $hello
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, 0
    2     1      > JMP                                                      ->5
    4     2    >   ADD                                              ~2      'Hello+World+', '%5C%3Cbr%5C%3E'
          3        ECHO                                                     ~2
    5     4        ASSIGN_OP                                     1          !0, 1
    2     5    >   IS_SMALLER                                               !0, 5
          6      > JMPNZ                                                    ~4, ->2
    7     7    >   ECHO                                                     'Goodbye+World'
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.84 ms | 1392 KiB | 13 Q