3v4l.org

run code in 500+ 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 = 61) Position 1 = -2
filename:       /in/Jsq2U
function name:  callback
number of ops:  4
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      > INIT_FCALL                                                   'exit'
          2*       DO_ICALL                                                     
    7     3*     > RETURN                                                       null

End of function callback

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
234.08 ms | 3346 KiB | 15 Q