3v4l.org

run code in 300+ PHP versions simultaneously
<?php @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/sulUp
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   BEGIN_SILENCE                                    ~0      
          1        INIT_FCALL                                               'session_id'
          2        SEND_VAL                                                 'foobar'
          3        DO_ICALL                                                 
          4        END_SILENCE                                              ~0
    3     5        BEGIN_SILENCE                                    ~2      
          6        INIT_FCALL                                               'session_id'
          7        SEND_VAL                                                 ''
          8        DO_ICALL                                                 
          9        END_SILENCE                                              ~2
    4    10        INIT_FCALL                                               'var_dump'
         11        INIT_FCALL                                               'session_id'
         12        DO_ICALL                                         $4      
         13        SEND_VAR                                                 $4
         14        DO_ICALL                                                 
    5    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.1 ms | 1398 KiB | 17 Q