3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('d'); echo "lalalaal"; ob_start(); header('e'); echo "heretoo"; $html = ob_get_contents(); ob_end_clean(); echo $html;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/phTBA
function name:  (null)
number of ops:  17
compiled vars:  !0 = $html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'd'
          2        DO_ICALL                                                 
    3     3        ECHO                                                     'lalalaal'
    4     4        INIT_FCALL                                               'ob_start'
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'header'
          7        SEND_VAL                                                 'e'
          8        DO_ICALL                                                 
    6     9        ECHO                                                     'heretoo'
    7    10        INIT_FCALL                                               'ob_get_contents'
         11        DO_ICALL                                         $4      
         12        ASSIGN                                                   !0, $4
    8    13        INIT_FCALL                                               'ob_end_clean'
         14        DO_ICALL                                                 
    9    15        ECHO                                                     !0
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.95 ms | 1394 KiB | 21 Q