3v4l.org

run code in 300+ PHP versions simultaneously
<?php $letters = "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z"; $let_arr = explode(" ", $letters); $str = ""; while (strlen($str) != (strlen($letters)-(count($let_arr)*2))+4) { $tr = strlen($str);if ($tr > 0) {if ($tr > 1) {$str .= $let_arr[0]; }else{$str .= $let_arr[12];} }else{$str .= $let_arr[8];} }echo $str;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 8
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 20
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 17
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 8
Branch analysis from position: 30
Branch analysis from position: 8
filename:       /in/1AdCj
function name:  (null)
number of ops:  32
compiled vars:  !0 = $letters, !1 = $let_arr, !2 = $str, !3 = $tr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'A+B+C+D+E+F+G+H+I+J+K+L+M+N+O+P+Q+R+S+T+U+V+W+X+Y+Z'
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '+'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !1, $5
          6        ASSIGN                                                   !2, ''
    4     7      > JMP                                                      ->22
    5     8    >   STRLEN                                           ~8      !2
          9        ASSIGN                                                   !3, ~8
         10        IS_SMALLER                                               0, !3
         11      > JMPZ                                                     ~10, ->20
         12    >   IS_SMALLER                                               1, !3
         13      > JMPZ                                                     ~11, ->17
         14    >   FETCH_DIM_R                                      ~12     !1, 0
         15        ASSIGN_OP                                     8          !2, ~12
         16      > JMP                                                      ->19
    6    17    >   FETCH_DIM_R                                      ~14     !1, 12
         18        ASSIGN_OP                                     8          !2, ~14
    5    19    > > JMP                                                      ->22
    6    20    >   FETCH_DIM_R                                      ~16     !1, 8
         21        ASSIGN_OP                                     8          !2, ~16
    4    22    >   STRLEN                                           ~18     !2
         23        STRLEN                                           ~19     !0
         24        COUNT                                            ~20     !1
         25        MUL                                              ~21     ~20, 2
         26        SUB                                              ~22     ~19, ~21
         27        ADD                                              ~23     ~22, 4
         28        IS_NOT_EQUAL                                             ~18, ~23
         29      > JMPNZ                                                    ~24, ->8
    7    30    >   ECHO                                                     !2
    8    31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.68 ms | 1437 KiB | 14 Q