3v4l.org

run code in 500+ PHP versions simultaneously
<?php // Simulate PHP setting for output_buffering. ob_start(); assert(1 === ob_get_level()); print 'before the header'; header('AAA:BBB');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tn1fR
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'ob_start'
          1        DO_ICALL                                                     
    5     2        ASSERT_CHECK                                                 
          3        INIT_FCALL                                                   'assert'
          4        INIT_FCALL                                                   'ob_get_level'
          5        DO_ICALL                                             $1      
          6        IS_IDENTICAL                                         ~2      $1, 1
          7        SEND_VAL                                                     ~2
          8        SEND_VAL                                                     'assert%281+%3D%3D%3D+ob_get_level%28%29%29'
          9        DO_ICALL                                                     
    7    10        ECHO                                                         'before+the+header'
    8    11        INIT_FCALL                                                   'header'
         12        SEND_VAL                                                     'AAA%3ABBB'
         13        DO_ICALL                                                     
         14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
136.16 ms | 480 KiB | 11 Q