3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $fnc_array = get_defined_functions(); $fnc_array = $fnc_array['internal']; //foreach ($fnc_array as $fnc_name) { $ref_func = new ReflectionFunction('call_user_func'); foreach($ref_func->getParameters() as $parm) { var_dump($parm->isCallable()); if($parm->isCallable()) { echo "$fnc_name (" . $ref_func->getNumberOfParameters() .")\n"; break; } } //} //
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 15, Position 2 = 33
Branch analysis from position: 15
2 jumps found. (Code = 78) Position 1 = 16, Position 2 = 33
Branch analysis from position: 16
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 32
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 33
Branch analysis from position: 33
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
Branch analysis from position: 33
Branch analysis from position: 33
filename:       /in/u75SM
function name:  (null)
number of ops:  35
compiled vars:  !0 = $fnc_array, !1 = $ref_func, !2 = $parm, !3 = $fnc_name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'get_defined_functions'
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !0, $5
    5     6        FETCH_DIM_R                                      ~7      !0, 'internal'
          7        ASSIGN                                                   !0, ~7
    8     8        NEW                                              $9      'ReflectionFunction'
          9        SEND_VAL_EX                                              'call_user_func'
         10        DO_FCALL                                      0          
         11        ASSIGN                                                   !1, $9
   10    12        INIT_METHOD_CALL                                         !1, 'getParameters'
         13        DO_FCALL                                      0  $12     
         14      > FE_RESET_R                                       $13     $12, ->33
         15    > > FE_FETCH_R                                               $13, !2, ->33
   11    16    >   INIT_FCALL                                               'var_dump'
         17        INIT_METHOD_CALL                                         !2, 'isCallable'
         18        DO_FCALL                                      0  $14     
         19        SEND_VAR                                                 $14
         20        DO_ICALL                                                 
   12    21        INIT_METHOD_CALL                                         !2, 'isCallable'
         22        DO_FCALL                                      0  $16     
         23      > JMPZ                                                     $16, ->32
   13    24    >   NOP                                                      
         25        FAST_CONCAT                                      ~17     !3, '+%28'
         26        INIT_METHOD_CALL                                         !1, 'getNumberOfParameters'
         27        DO_FCALL                                      0  $18     
         28        CONCAT                                           ~19     ~17, $18
         29        CONCAT                                           ~20     ~19, '%29%0A'
         30        ECHO                                                     ~20
   14    31      > JMP                                                      ->33
   10    32    > > JMP                                                      ->15
         33    >   FE_FREE                                                  $13
   19    34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.92 ms | 1388 KiB | 19 Q