3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array("AABBCC", "14CDF1","CDCCC0","5E9CF5","FFAFEE","30FC40","DF00FF","007EFC","FA9F01","00FFC0","4FD01F","C0F22F","4A9CE1","166FEC","4F991D","C0F22C","FAACC1","A9AC99","DFD01F","C0FC3A","A99F01","0AC4C0","2DA01F","CC652F","FA9881","00CFC0","4FD41F","CC92CF"); $x = '1324341625312666243113212535'; for($i=0;$i<strlen($x);$i++) print $a[$i].' '.$x[$i]."\n"; print $a[$i][(((int)$x[$i+1])-1)];
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 = 4
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 4
Branch analysis from position: 14
Branch analysis from position: 4
filename:       /in/mqEuo
function name:  (null)
number of ops:  22
compiled vars:  !0 = $a, !1 = $x, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, '1324341625312666243113212535'
    5     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->11
    6     4    >   FETCH_DIM_R                                      ~6      !0, !2
          5        CONCAT                                           ~7      ~6, '+'
          6        FETCH_DIM_R                                      ~8      !1, !2
          7        CONCAT                                           ~9      ~7, ~8
          8        CONCAT                                           ~10     ~9, '%0A'
          9        ECHO                                                     ~10
    5    10        PRE_INC                                                  !2
         11    >   STRLEN                                           ~12     !1
         12        IS_SMALLER                                               !2, ~12
         13      > JMPNZ                                                    ~13, ->4
    7    14    >   ADD                                              ~15     !2, 1
         15        FETCH_DIM_R                                      ~16     !1, ~15
         16        CAST                                          4  ~17     ~16
         17        SUB                                              ~18     ~17, 1
         18        FETCH_DIM_R                                      ~14     !0, !2
         19        FETCH_DIM_R                                      ~19     ~14, ~18
         20        ECHO                                                     ~19
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.26 ms | 1394 KiB | 13 Q