3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "THEDLSDARNVNSCCVBXXMTGFRWSCVIYTVBVSDOPTRVBNMAITYSURFDMOTYYERSAWERTYMOITRUHDYRTBDIVNOWUNMBORNSTR"; for ($x=0 ; $x<strlen($str) ; ) { echo $str[$x]; if ($x<2) { $x = $x + 1; } else { $x += $x; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
Branch analysis from position: 3
filename:       /in/RPmod
function name:  (null)
number of ops:  15
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                                                      ->11
    7     3    >   FETCH_DIM_R                                      ~4      !0, !1
          4        ECHO                                                     ~4
    9     5        IS_SMALLER                                               !1, 2
          6      > JMPZ                                                     ~5, ->10
   10     7    >   ADD                                              ~6      !1, 1
          8        ASSIGN                                                   !1, ~6
          9      > JMP                                                      ->11
   13    10    >   ASSIGN_OP                                     1          !1, !1
    6    11    >   STRLEN                                           ~9      !0
         12        IS_SMALLER                                               !1, ~9
         13      > JMPNZ                                                    ~10, ->3
   15    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.32 ms | 1393 KiB | 13 Q