3v4l.org

run code in 300+ PHP versions simultaneously
<?php ​10: $a = 0; ​20: $a++; ​30: echo "$a. hello\n"; ​40: if ($a < 10) goto ​30;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1ob6X
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        PRE_INC                                                  !0
    4     2    >   NOP                                                      
          3        FAST_CONCAT                                      ~3      !0, '.+hello%0A'
          4        ECHO                                                     ~3
    5     5        IS_SMALLER                                               !0, 10
          6      > JMPZ                                                     ~4, ->8
          7    > > JMP                                                      ->2
          8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.69 ms | 1393 KiB | 13 Q