3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 22
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
2 jumps found. (Code = 43) Position 1 = 28, Position 2 = 30
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 22
Branch analysis from position: 31
Branch analysis from position: 22
Branch analysis from position: 30
filename:       /in/BqfvU
function name:  (null)
number of ops:  32
compiled vars:  !0 = $x, !1 = $max, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'memory_limit'
          2        SEND_VAL                                                 '64M'
          3        DO_ICALL                                                 
    5     4        INIT_FCALL                                               'define'
          5        SEND_VAL                                                 'N'
          6        SEND_VAL                                                 100
          7        DO_ICALL                                                 
    7     8        INIT_FCALL                                               'register_shutdown_function'
          9        DECLARE_LAMBDA_FUNCTION                          ~5      [0]
   18    10        SEND_VAL                                                 ~5
    7    11        DO_ICALL                                                 
   20    12        INIT_FCALL                                               'array_fill'
         13        SEND_VAL                                                 0
         14        FETCH_CONSTANT                                   ~7      'N'
         15        SEND_VAL                                                 ~7
         16        SEND_VAL                                                 ''
         17        DO_ICALL                                         $8      
         18        ASSIGN                                                   !0, $8
   22    19        ASSIGN                                                   !1, 0
   23    20        ASSIGN                                                   !2, 0
   25    21      > JMP                                                      ->30
   27    22    >   ASSIGN_DIM_OP                .=               8          !0, !2
         23        OP_DATA                                                  'asdf'
   29    24        PRE_INC                                          ~13     !2
         25        FETCH_CONSTANT                                   ~14     'N'
         26        IS_SMALLER_OR_EQUAL                                      ~14, ~13
         27      > JMPZ                                                     ~15, ->30
   31    28    >   ASSIGN                                                   !2, 0
   32    29        PRE_INC                                                  !1
   25    30    > > JMPNZ                                                    <true>, ->22
   34    31    > > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 4
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 4
Branch analysis from position: 17
Branch analysis from position: 4
filename:       /in/BqfvU
function name:  {closure}
number of ops:  21
compiled vars:  !0 = $max, !1 = $y, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   BIND_GLOBAL                                              !0, 'max'
   10     1        ASSIGN                                                   !1, <array>
   11     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->14
   13     4    >   INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !2
          6        DO_ICALL                                                 
   14     7        INIT_FCALL                                               'str_repeat'
          8        SEND_VAL                                                 'asdf'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $7      
         11        ASSIGN_DIM                                               !1
         12        OP_DATA                                                  $7
   11    13        PRE_INC                                                  !2
         14    >   FETCH_CONSTANT                                   ~9      'N'
         15        IS_SMALLER                                               !2, ~9
         16      > JMPNZ                                                    ~10, ->4
   17    17    >   INIT_FCALL                                               'var_dump'
         18        SEND_VAL                                                 'end'
         19        DO_ICALL                                                 
   18    20      > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
225.21 ms | 989 KiB | 19 Q