3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); $alte_sessionid = session_id(); session_regenerate_id(); $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/8B6VP
function name:  (null)
number of ops:  23
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        DO_ICALL                                                 
    9     7        INIT_FCALL                                               'session_id'
          8        DO_ICALL                                         $6      
          9        ASSIGN                                                   !1, $6
   11    10        ROPE_INIT                                     3  ~9      'Alte+Session%3A+'
         11        ROPE_ADD                                      1  ~9      ~9, !0
         12        ROPE_END                                      2  ~8      ~9, '%3Cbr%3E'
         13        ECHO                                                     ~8
   12    14        ROPE_INIT                                     3  ~12     'Neue+Session%3A+'
         15        ROPE_ADD                                      1  ~12     ~12, !1
         16        ROPE_END                                      2  ~11     ~12, '%3Cbr%3E'
         17        ECHO                                                     ~11
   14    18        INIT_FCALL                                               'print_r'
         19        FETCH_R                      global              ~14     '_SESSION'
         20        SEND_VAL                                                 ~14
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.73 ms | 1399 KiB | 21 Q