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'); 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 = 62) Position 1 = -2
filename:       /in/PtRNA
function name:  (null)
number of ops:  24
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        ECHO                                                     'text+danach'
   10    13        INIT_FCALL                                               'ob_get_contents'
         14        DO_ICALL                                         $6      
         15        ASSIGN                                                   !0, $6
   11    16        STRLEN                                           ~8      !0
         17        ASSIGN                                                   !1, ~8
   12    18        INIT_FCALL                                               'ob_end_clean'
         19        DO_ICALL                                                 
   13    20        ECHO                                                     !0
   14    21        INIT_FCALL                                               'flush'
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.73 ms | 1395 KiB | 25 Q