3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); function callback() { echo "In php 8.0.0 - 8.0.10, a die statement does prevent the trigger from being outputted: "; die(); } header_register_callback("callback"); echo "Trigger."; echo "Execution died before this echo statement.";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pv9jE
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ob_start'
          1        DO_ICALL                                                 
   10     2        INIT_FCALL                                               'header_register_callback'
          3        SEND_VAL                                                 'callback'
          4        DO_ICALL                                                 
   12     5        ECHO                                                     'Trigger.'
   13     6        ECHO                                                     'Execution+died+before+this+echo+statement.'
          7      > RETURN                                                   1

Function callback:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/pv9jE
function name:  callback
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'In+php+8.0.0+-+8.0.10%2C+a+die+statement+does+prevent+the+trigger+from+being+outputted%3A+'
    8     1      > EXIT                                                     
    9     2*     > RETURN                                                   null

End of function callback

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.18 ms | 1394 KiB | 17 Q