3v4l.org

run code in 300+ PHP versions simultaneously
<?php function x() {} fb_intercept("x", function() { var_dump(debug_backtrace()); }); x();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ssb9l
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL_BY_NAME                                       'fb_intercept'
          1        SEND_VAL_EX                                              'x'
          2        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2Fssb9l%3A1%240'
          3        SEND_VAL_EX                                              ~0
          4        DO_FCALL                                      0          
          5        INIT_FCALL                                               'x'
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Function x:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ssb9l
function name:  x
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E > > RETURN                                                   null

End of function x

Function %00%7Bclosure%7D%2Fin%2Fssb9l%3A1%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ssb9l
function name:  {closure}
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'debug_backtrace'
          2        DO_ICALL                                         $0      
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                                 
          5      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2Fssb9l%3A1%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.32 ms | 1397 KiB | 18 Q