3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($f=file(__FILE__),$i=0;$i<10;$i++) { echo $f[$i]; } $l=0; foreach($_SERVER as $s) { if ($s=='ROZWAL') $l++; } if ($l!=40) { die(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 6
Branch analysis from position: 11
2 jumps found. (Code = 77) Position 1 = 14, Position 2 = 19
Branch analysis from position: 14
2 jumps found. (Code = 78) Position 1 = 15, Position 2 = 19
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 18
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
Branch analysis from position: 18
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 23
Branch analysis from position: 22
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 6
Branch analysis from position: 11
Branch analysis from position: 6
filename:       /in/68riZ
function name:  (null)
number of ops:  24
compiled vars:  !0 = $f, !1 = $i, !2 = $l, !3 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file'
          1        SEND_VAL                                                 '%2Fin%2F68riZ'
          2        DO_ICALL                                         $4      
          3        ASSIGN                                                   !0, $4
          4        ASSIGN                                                   !1, 0
          5      > JMP                                                      ->9
    3     6    >   FETCH_DIM_R                                      ~7      !0, !1
          7        ECHO                                                     ~7
    2     8        PRE_INC                                                  !1
          9    >   IS_SMALLER                                               !1, 10
         10      > JMPNZ                                                    ~9, ->6
    5    11    >   ASSIGN                                                   !2, 0
    6    12        FETCH_R                      global              ~11     '_SERVER'
         13      > FE_RESET_R                                       $12     ~11, ->19
         14    > > FE_FETCH_R                                               $12, !3, ->19
    7    15    >   IS_EQUAL                                                 !3, 'ROZWAL'
         16      > JMPZ                                                     ~13, ->18
         17    >   PRE_INC                                                  !2
    6    18    > > JMP                                                      ->14
         19    >   FE_FREE                                                  $12
   10    20        IS_NOT_EQUAL                                             !2, 40
         21      > JMPZ                                                     ~15, ->23
   11    22    > > EXIT                                                     
   12    23    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.55 ms | 1388 KiB | 15 Q