3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); ob_implicit_flush(0); echo 'text davor'; header('HTTP/1.1 301 Moved Permanently'); header('Location: /index.php?mod=bildergalerie'); exit; echo 'text danach'; $page = ob_get_contents(); $length = strlen($page); ob_end_clean(); //echo $page; //flush();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/6F4uE
function name:  (null)
number of ops:  22
compiled vars:  !0 = $page, !1 = $length
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ob_start'
          1        DO_ICALL                                                 
    3     2        INIT_FCALL                                               'ob_implicit_flush'
          3        SEND_VAL                                                 0
          4        DO_ICALL                                                 
    5     5        ECHO                                                     'text+davor'
    6     6        INIT_FCALL                                               'header'
          7        SEND_VAL                                                 'HTTP%2F1.1+301+Moved+Permanently'
          8        DO_ICALL                                                 
    7     9        INIT_FCALL                                               'header'
         10        SEND_VAL                                                 'Location%3A+%2Findex.php%3Fmod%3Dbildergalerie'
         11        DO_ICALL                                                 
    8    12      > EXIT                                                     
    9    13*       ECHO                                                     'text+danach'
   11    14*       INIT_FCALL                                               'ob_get_contents'
         15*       DO_ICALL                                         $6      
         16*       ASSIGN                                                   !0, $6
   12    17*       STRLEN                                           ~8      !0
         18*       ASSIGN                                                   !1, ~8
   13    19*       INIT_FCALL                                               'ob_end_clean'
         20*       DO_ICALL                                                 
   15    21*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.38 ms | 935 KiB | 24 Q