3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sent_a = headers_sent(); ob_end_clean(); // or ob_clean(); etc.. $sent_b = headers_sent(); var_dump($sent_a); var_dump($sent_b); exit;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/ltI0q
function name:  (null)
number of ops:  16
compiled vars:  !0 = $sent_a, !1 = $sent_b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'headers_sent'
          1        DO_ICALL                                         $2      
          2        ASSIGN                                                   !0, $2
    4     3        INIT_FCALL                                               'ob_end_clean'
          4        DO_ICALL                                                 
    5     5        INIT_FCALL                                               'headers_sent'
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !1, $5
    6     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
    7    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
    8    14      > EXIT                                                     
         15*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.5 ms | 1394 KiB | 19 Q