3v4l.org

run code in 300+ PHP versions simultaneously
<?php 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/Jsq2U
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'header_register_callback'
          1        SEND_VAL                                                 'callback'
          2        DO_ICALL                                                 
   10     3        ECHO                                                     'Trigger.'
   11     4        ECHO                                                     'Execution+died+before+this+echo+statement.'
          5      > RETURN                                                   1

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

End of function callback

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.72 ms | 1398 KiB | 15 Q