3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); echo "session id: " . session_id(); session_destroy(); echo "\ndestroyed session id: " . session_id();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6JpHn
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'session_start'
          1        DO_ICALL                                                 
    4     2        INIT_FCALL                                               'session_id'
          3        DO_ICALL                                         $1      
          4        CONCAT                                           ~2      'session+id%3A+', $1
          5        ECHO                                                     ~2
    5     6        INIT_FCALL                                               'session_destroy'
          7        DO_ICALL                                                 
    6     8        INIT_FCALL                                               'session_id'
          9        DO_ICALL                                         $4      
         10        CONCAT                                           ~5      '%0Adestroyed+session+id%3A+', $4
         11        ECHO                                                     ~5
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.28 ms | 1394 KiB | 19 Q