3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('X-foo: bar'); session_id('foobar'); var_dump(session_id()); session_id(''); var_dump(session_id()); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uT00O
function name:  (null)
number of ops:  20
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_id'
         12        SEND_VAL                                                 ''
         13        DO_ICALL                                                 
    6    14        INIT_FCALL                                               'var_dump'
         15        INIT_FCALL                                               'session_id'
         16        DO_ICALL                                         $5      
         17        SEND_VAR                                                 $5
         18        DO_ICALL                                                 
    7    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.45 ms | 1386 KiB | 19 Q