3v4l.org

run code in 500+ PHP versions simultaneously
<?php $fx = function($string) { return $string; }; ob_start($fx); print_r(ob_list_handlers()); ob_end_flush(); print_r([$fx]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vpo7M
function name:  (null)
number of ops:  17
compiled vars:  !0 = $fx
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   DECLARE_LAMBDA_FUNCTION                              ~1      [0]
          1        ASSIGN                                                       !0, ~1
    4     2        INIT_FCALL                                                   'ob_start'
          3        SEND_VAR                                                     !0
          4        DO_ICALL                                                     
    5     5        INIT_FCALL                                                   'print_r'
          6        INIT_FCALL                                                   'ob_list_handlers'
          7        DO_ICALL                                             $4      
          8        SEND_VAR                                                     $4
          9        DO_ICALL                                                     
    6    10        INIT_FCALL                                                   'ob_end_flush'
         11        DO_ICALL                                                     
    7    12        INIT_FCALL                                                   'print_r'
         13        INIT_ARRAY                                           ~7      !0
         14        SEND_VAL                                                     ~7
         15        DO_ICALL                                                     
         16      > 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/vpo7M
function name:  {closure:/in/vpo7M:3}
number of ops:  3
compiled vars:  !0 = $string
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   RECV                                                 !0      
          1      > RETURN                                                       !0
          2*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
151.71 ms | 1065 KiB | 12 Q