3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "THEDLSDARNVNSCCVBXXMTGFRWSCVIYTVBVSDOPTRVBNMAITYSURFDMOTYYERSAWERTYMOITRUHDYRTBDIVNOWUNMBORNSTR"; for ($x=0 ; $x<strlen($str) ; ) { echo $str[$x - 1]; if ($x<2) { $x = $x + 1; } else { $x += $x; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 3
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 3
Branch analysis from position: 15
Branch analysis from position: 3
filename:       /in/EaveM
function name:  (null)
number of ops:  16
compiled vars:  !0 = $str, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'THEDLSDARNVNSCCVBXXMTGFRWSCVIYTVBVSDOPTRVBNMAITYSURFDMOTYYERSAWERTYMOITRUHDYRTBDIVNOWUNMBORNSTR'
    6     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->12
    7     3    >   SUB                                              ~4      !1, 1
          4        FETCH_DIM_R                                      ~5      !0, ~4
          5        ECHO                                                     ~5
    9     6        IS_SMALLER                                               !1, 2
          7      > JMPZ                                                     ~6, ->11
   10     8    >   ADD                                              ~7      !1, 1
          9        ASSIGN                                                   !1, ~7
         10      > JMP                                                      ->12
   13    11    >   ASSIGN_OP                                     1          !1, !1
    6    12    >   STRLEN                                           ~10     !0
         13        IS_SMALLER                                               !1, ~10
         14      > JMPNZ                                                    ~11, ->3
   15    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.58 ms | 1394 KiB | 13 Q