3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = array('array_uintersect_uassoc' => 1); /* 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 (array_keys($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 = 10, Position 2 = 29
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 29
Branch analysis from position: 11
2 jumps found. (Code = 77) Position 1 = 21, Position 2 = 27
Branch analysis from position: 21
2 jumps found. (Code = 78) Position 1 = 22, Position 2 = 27
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 27
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 29
filename:       /in/4AivU
function name:  (null)
number of ops:  31
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>
   22     1        INIT_FCALL_BY_NAME                                       'show_all'
          2        INIT_FCALL                                               'get_defined_functions'
          3        DO_ICALL                                         $5      
          4        SEND_VAR_NO_REF_EX                                       $5
          5        DO_FCALL                                      0          
   23     6        INIT_FCALL                                               'array_keys'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $7      
          9      > FE_RESET_R                                       $8      $7, ->29
         10    > > FE_FETCH_R                                               $8, !1, ->29
   24    11    >   NOP                                                      
         12        FAST_CONCAT                                      ~9      !1, '%3A%0A'
         13        ECHO                                                     ~9
   25    14        NEW                                              $10     'ReflectionFunction'
         15        SEND_VAR_EX                                              !1
         16        DO_FCALL                                      0          
         17        ASSIGN                                                   !2, $10
   26    18        INIT_METHOD_CALL                                         !2, 'getParameters'
         19        DO_FCALL                                      0  $13     
         20      > FE_RESET_R                                       $14     $13, ->27
         21    > > FE_FETCH_R                                               $14, !3, ->27
   27    22    >   ROPE_INIT                                     3  ~16     '%09'
         23        ROPE_ADD                                      1  ~16     ~16, !3
         24        ROPE_END                                      2  ~15     ~16, '%0A'
         25        ECHO                                                     ~15
   26    26      > JMP                                                      ->21
         27    >   FE_FREE                                                  $14
   23    28      > JMP                                                      ->10
         29    >   FE_FREE                                                  $8
   30    30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.79 ms | 1396 KiB | 17 Q