3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'test'; header('Content-type: text/html; charset=utf8'); echo '<pre>'; var_dump(headers_sent()); echo '<pre>';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oihcq
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'test'
    3     1        INIT_FCALL                                               'header'
          2        SEND_VAL                                                 'Content-type%3A+text%2Fhtml%3B+charset%3Dutf8'
          3        DO_ICALL                                                 
    5     4        ECHO                                                     '%3Cpre%3E'
    6     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL                                               'headers_sent'
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                                 
    7    10        ECHO                                                     '%3Cpre%3E'
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.33 ms | 1394 KiB | 19 Q