3v4l.org

run code in 300+ PHP versions simultaneously
<?php function newPlayer() { $i = 0; generate_: { if ($i === 10) return; var_dump($i); } $i++; goto generate_; } newPlayer();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/N6tjB
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   INIT_FCALL                                               'newplayer'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Function newplayer:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 4
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 1
Branch analysis from position: 1
filename:       /in/N6tjB
function name:  newPlayer
number of ops:  10
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 0
    7     1    >   IS_IDENTICAL                                             !0, 10
          2      > JMPZ                                                     ~2, ->4
          3    > > RETURN                                                   null
    9     4    >   INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
   12     7        PRE_INC                                                  !0
   14     8      > JMP                                                      ->1
   15     9*     > RETURN                                                   null

End of function newplayer

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.86 ms | 1397 KiB | 16 Q