3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo session_id()." echo<br>"; session_name('a'.time().'a'); session_start(); echo session_id()."<br>"; if (session_id()!=='1337') echo "die<br>"; else echo "jupi<br>"; session_destroy(); $_SESSION['DobuleSynchronization']=time(); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 23
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3N8Qd
function name:  (null)
number of ops:  32
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'session_id'
          1        DO_ICALL                                         $0      
          2        CONCAT                                           ~1      $0, '+echo%3Cbr%3E'
          3        ECHO                                                     ~1
    3     4        INIT_FCALL                                               'session_name'
          5        INIT_FCALL                                               'time'
          6        DO_ICALL                                         $2      
          7        CONCAT                                           ~3      'a', $2
          8        CONCAT                                           ~4      ~3, 'a'
          9        SEND_VAL                                                 ~4
         10        DO_ICALL                                                 
    4    11        INIT_FCALL                                               'session_start'
         12        DO_ICALL                                                 
    6    13        INIT_FCALL                                               'session_id'
         14        DO_ICALL                                         $7      
         15        CONCAT                                           ~8      $7, '%3Cbr%3E'
         16        ECHO                                                     ~8
    7    17        INIT_FCALL                                               'session_id'
         18        DO_ICALL                                         $9      
         19        IS_NOT_IDENTICAL                                         $9, '1337'
         20      > JMPZ                                                     ~10, ->23
         21    >   ECHO                                                     'die%3Cbr%3E'
         22      > JMP                                                      ->24
    8    23    >   ECHO                                                     'jupi%3Cbr%3E'
    9    24    >   INIT_FCALL                                               'session_destroy'
         25        DO_ICALL                                                 
   10    26        INIT_FCALL                                               'time'
         27        DO_ICALL                                         $14     
         28        FETCH_W                      global              $12     '_SESSION'
         29        ASSIGN_DIM                                               $12, 'DobuleSynchronization'
         30        OP_DATA                                                  $14
   11    31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.06 ms | 1396 KiB | 23 Q