3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); $old_sessionid = session_id(); session_regenerate_id(); $new_sessionid = session_id(); var_dump($old_sessionid === $new_sessionid);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4kXsa
function name:  (null)
number of ops:  15
compiled vars:  !0 = $old_sessionid, !1 = $new_sessionid
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'session_start'
          1        DO_ICALL                                                 
    4     2        INIT_FCALL                                               'session_id'
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    6     5        INIT_FCALL                                               'session_regenerate_id'
          6        DO_ICALL                                                 
    8     7        INIT_FCALL                                               'session_id'
          8        DO_ICALL                                         $6      
          9        ASSIGN                                                   !1, $6
   10    10        INIT_FCALL                                               'var_dump'
         11        IS_IDENTICAL                                     ~8      !0, !1
         12        SEND_VAL                                                 ~8
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.1 ms | 1394 KiB | 21 Q