3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); $alte_sessionid = session_id(); session_regenerate_id(true); $neue_sessionid = session_id(); echo "Alte Session: $alte_sessionid<br>"; echo "Neue Session: $neue_sessionid<br>"; print_r($_SESSION);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aNcQm
function name:  (null)
number of ops:  24
compiled vars:  !0 = $alte_sessionid, !1 = $neue_sessionid
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'session_start'
          1        DO_ICALL                                                 
    5     2        INIT_FCALL                                               'session_id'
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    7     5        INIT_FCALL                                               'session_regenerate_id'
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                                 
    9     8        INIT_FCALL                                               'session_id'
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !1, $6
   11    11        ROPE_INIT                                     3  ~9      'Alte+Session%3A+'
         12        ROPE_ADD                                      1  ~9      ~9, !0
         13        ROPE_END                                      2  ~8      ~9, '%3Cbr%3E'
         14        ECHO                                                     ~8
   12    15        ROPE_INIT                                     3  ~12     'Neue+Session%3A+'
         16        ROPE_ADD                                      1  ~12     ~12, !1
         17        ROPE_END                                      2  ~11     ~12, '%3Cbr%3E'
         18        ECHO                                                     ~11
   14    19        INIT_FCALL                                               'print_r'
         20        FETCH_R                      global              ~14     '_SESSION'
         21        SEND_VAL                                                 ~14
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.47 ms | 1395 KiB | 21 Q