3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('X-foo: bar'); session_id('foobar'); var_dump(session_id()); session_write_close(); session_id(''); var_dump(session_id()); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OVbja
function name:  (null)
number of ops:  22
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'X-foo%3A+bar'
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'session_id'
          4        SEND_VAL                                                 'foobar'
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'session_id'
          8        DO_ICALL                                         $2      
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                                 
    5    11        INIT_FCALL                                               'session_write_close'
         12        DO_ICALL                                                 
    6    13        INIT_FCALL                                               'session_id'
         14        SEND_VAL                                                 ''
         15        DO_ICALL                                                 
    7    16        INIT_FCALL                                               'var_dump'
         17        INIT_FCALL                                               'session_id'
         18        DO_ICALL                                         $6      
         19        SEND_VAR                                                 $6
         20        DO_ICALL                                                 
    8    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.64 ms | 1395 KiB | 21 Q