3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(array_map( function($_) { return $_->getName(); } , (new ReflectionFunction('extract'))->getParameters() ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kMrVd
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'array_map'
    4     2        DECLARE_LAMBDA_FUNCTION                          ~0      [0]
          3        SEND_VAL                                                 ~0
    5     4        NEW                                              $1      'ReflectionFunction'
          5        SEND_VAL_EX                                              'extract'
          6        DO_FCALL                                      0          
          7        INIT_METHOD_CALL                                         $1, 'getParameters'
          8        DO_FCALL                                      0  $3      
          9        SEND_VAR                                                 $3
    3    10        DO_ICALL                                         $4      
    5    11        SEND_VAR                                                 $4
    3    12        DO_ICALL                                                 
    6    13      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kMrVd
function name:  {closure}
number of ops:  5
compiled vars:  !0 = $_
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        INIT_METHOD_CALL                                         !0, 'getName'
          2        DO_FCALL                                      0  $1      
          3      > RETURN                                                   $1
          4*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
191.35 ms | 1000 KiB | 15 Q