3v4l.org

run code in 300+ PHP versions simultaneously
<?php function myfunc(array $event) { }; $i = 100000; while($i--) { $reflection = new ReflectionFunction('myfunc'); $params = $reflection->getParameters(); $params[0]->isArray(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 2
Branch analysis from position: 14
Branch analysis from position: 2
filename:       /in/bACGk
function name:  (null)
number of ops:  15
compiled vars:  !0 = $i, !1 = $reflection, !2 = $params
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                   !0, 100000
    9     1      > JMP                                                      ->12
   10     2    >   NEW                                              $4      'ReflectionFunction'
          3        SEND_VAL_EX                                              'myfunc'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $4
   11     6        INIT_METHOD_CALL                                         !1, 'getParameters'
          7        DO_FCALL                                      0  $7      
          8        ASSIGN                                                   !2, $7
   12     9        FETCH_DIM_R                                      ~9      !2, 0
         10        INIT_METHOD_CALL                                         ~9, 'isArray'
         11        DO_FCALL                                      0          
    9    12    >   POST_DEC                                         ~11     !0
         13      > JMPNZ                                                    ~11, ->2
   13    14    > > RETURN                                                   1

Function myfunc:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bACGk
function name:  myfunc
number of ops:  2
compiled vars:  !0 = $event
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1      > RETURN                                                   null

End of function myfunc

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.96 ms | 1394 KiB | 13 Q