3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
192.81 ms | 1395 KiB | 19 Q