3v4l.org

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

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

End of function newplayer

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
197.92 ms | 1394 KiB | 15 Q