3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
195.51 ms | 1394 KiB | 15 Q