3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.94 ms | 1400 KiB | 23 Q