3v4l.org

run code in 500+ PHP versions simultaneously
<?php register_shutdown_function( 'shutdown_func' ); function ob_callback( $buffer ) { $buffer .= __FUNCTION__ . ' '; return $buffer; } function shutdown_func() { echo __FUNCTION__ . ' '; } ob_start( 'ob_callback' );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/u4VR7
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'register_shutdown_function'
          1        SEND_VAL                                                     'shutdown_func'
          2        DO_ICALL                                                     
   14     3        INIT_FCALL                                                   'ob_start'
          4        SEND_VAL                                                     'ob_callback'
          5        DO_ICALL                                                     
          6      > RETURN                                                       1

Function ob_callback:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/u4VR7
function name:  ob_callback
number of ops:  4
compiled vars:  !0 = $buffer
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   RECV                                                 !0      
    6     1        ASSIGN_OP                                         8          !0, 'ob_callback+'
    7     2      > RETURN                                                       !0
    8     3*     > RETURN                                                       null

End of function ob_callback

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

End of function shutdown_func

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
168.04 ms | 3252 KiB | 15 Q