3v4l.org

run code in 300+ PHP versions simultaneously
<html> <?php /* これはエラーとなります。この上に出力があることに注目してください。 * それはheader()のコールより前であるということになります */ header('Location: http://www.example.com/'); exit; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/qpdHr
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Chtml%3E%0A'
    5     1        INIT_FCALL                                               'header'
          2        SEND_VAL                                                 'Location%3A+http%3A%2F%2Fwww.example.com%2F'
          3        DO_ICALL                                                 
    6     4      > EXIT                                                     
    7     5*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.49 ms | 1393 KiB | 15 Q