3v4l.org

run code in 300+ PHP versions simultaneously
<?php $res = 680131659347; $letters = "acdegilmnoprstuw"; $len = strlen($letters); for ($i = $len - 1; $i > 0; $i--) { echo (($res - $i) / 37), PHP_EOL; }
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 = 14, Position 2 = 7
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 7
Branch analysis from position: 14
Branch analysis from position: 7
filename:       /in/k3VRo
function name:  (null)
number of ops:  15
compiled vars:  !0 = $res, !1 = $letters, !2 = $len, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 680131659347
    4     1        ASSIGN                                                   !1, 'acdegilmnoprstuw'
    5     2        STRLEN                                           ~6      !1
          3        ASSIGN                                                   !2, ~6
    6     4        SUB                                              ~8      !2, 1
          5        ASSIGN                                                   !3, ~8
          6      > JMP                                                      ->12
    7     7    >   SUB                                              ~10     !0, !3
          8        DIV                                              ~11     ~10, 37
          9        ECHO                                                     ~11
         10        ECHO                                                     '%0A'
    6    11        PRE_DEC                                                  !3
         12    >   IS_SMALLER                                               0, !3
         13      > JMPNZ                                                    ~13, ->7
    8    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.9 ms | 1393 KiB | 13 Q