3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = ' <?php session_start(); $test = "test"; $_SESSION["test"] = $test; header("Refresh: 0;url=/"); ?>';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ItHpJ
function name:  (null)
number of ops:  2
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%0A++++++++%3C%3Fphp%0A++++++++session_start%28%29%3B%0A++++++++%24test+%3D+%22test%22%3B+%0A++++++++%24_SESSION%5B%22test%22%5D+%3D+%24test%3B%0A++++++++header%28%22Refresh%3A+0%3Burl%3D%2F%22%29%3B%0A++++++++%3F%3E'
    8     1      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.3 ms | 1383 KiB | 13 Q