3v4l.org

run code in 300+ PHP versions simultaneously
<?php $letter = 't'; print_r(array_filter(get_defined_functions()['internal'], function($function) {return $function[0] == $GLOBALS['letter'];}));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fB1Xm
function name:  (null)
number of ops:  13
compiled vars:  !0 = $letter
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 't'
    5     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'array_filter'
          3        INIT_FCALL                                               'get_defined_functions'
          4        DO_ICALL                                         $2      
          5        FETCH_DIM_R                                      ~3      $2, 'internal'
          6        SEND_VAL                                                 ~3
          7        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FfB1Xm%3A5%240'
          8        SEND_VAL                                                 ~4
          9        DO_ICALL                                         $5      
         10        SEND_VAR                                                 $5
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FfB1Xm%3A5%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fB1Xm
function name:  {closure}
number of ops:  7
compiled vars:  !0 = $function
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   RECV                                             !0      
          1        FETCH_DIM_R                                      ~1      !0, 0
          2        FETCH_R                      global              ~2      'GLOBALS'
          3        FETCH_DIM_R                                      ~3      ~2, 'letter'
          4        IS_EQUAL                                         ~4      ~1, ~3
          5      > RETURN                                                   ~4
          6*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FfB1Xm%3A5%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.99 ms | 1386 KiB | 19 Q