3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = array("array_reduce", "array_diff_uassoc", "array_diff_ukey", "array_udiff", "array_udiff_assoc", "array_intersect_uassoc", "array_intersect_ukey", "array_uintersect", "array_uintersect_assoc", "array_walk", "array_walk_recursive", "iterator_apply", "usort", "uasort", "uksort", "iterator_apply", "array_map", "array_filter", "register_shutdown_function", "filter_var", "filter_var_array", "filter_input", "filter_input_array", "call_user_func", "call_user_func_array",); /* function show_all($keys){ global $result; foreach ($keys as $key) { if(is_array($key)) show_all($key); else{ $refFunc = new ReflectionFunction($key); foreach( $refFunc->getParameters() as $param ){ if(preg_match('/callback/',$param->name)) $result[$key] = 1; } } } } show_all(get_defined_functions()); */ foreach ($result as $key) { print "$key:\n"; $refFunc = new ReflectionFunction($key); foreach( $refFunc->getParameters() as $param ){ print "\t$param\n"; } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 21
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 21
Branch analysis from position: 3
2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 19
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 19
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 19
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/kgKjl
function name:  (null)
number of ops:  23
compiled vars:  !0 = $result, !1 = $key, !2 = $refFunc, !3 = $param
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   47     1      > FE_RESET_R                                       $5      !0, ->21
          2    > > FE_FETCH_R                                               $5, !1, ->21
   48     3    >   NOP                                                      
          4        FAST_CONCAT                                      ~6      !1, '%3A%0A'
          5        ECHO                                                     ~6
   49     6        NEW                                              $7      'ReflectionFunction'
          7        SEND_VAR_EX                                              !1
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !2, $7
   50    10        INIT_METHOD_CALL                                         !2, 'getParameters'
         11        DO_FCALL                                      0  $10     
         12      > FE_RESET_R                                       $11     $10, ->19
         13    > > FE_FETCH_R                                               $11, !3, ->19
   51    14    >   ROPE_INIT                                     3  ~13     '%09'
         15        ROPE_ADD                                      1  ~13     ~13, !3
         16        ROPE_END                                      2  ~12     ~13, '%0A'
         17        ECHO                                                     ~12
   50    18      > JMP                                                      ->13
         19    >   FE_FREE                                                  $11
   47    20      > JMP                                                      ->2
         21    >   FE_FREE                                                  $5
   54    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.57 ms | 1394 KiB | 13 Q