3v4l.org

run code in 500+ PHP versions simultaneously
<?php session_start(); unset($_SESSION['logged']); //logged to zmienna sesyjna istniejąca tylko wtedy gdy użytkownik jest zalogowany header('Location: index.php');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vVeuV
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'session_start'
          1        DO_ICALL                                                     
    4     2        FETCH_UNSET                                          $1      '_SESSION'
          3        UNSET_DIM                                                    $1, 'logged'
    6     4        INIT_FCALL                                                   'header'
          5        SEND_VAL                                                     'Location%3A+index.php'
          6        DO_ICALL                                                     
          7      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
170.28 ms | 3136 KiB | 15 Q