3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 42
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 42
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 38
Branch analysis from position: 38
2 jumps found. (Code = 44) Position 1 = 40, Position 2 = 21
Branch analysis from position: 40
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 21
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 26
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 40, Position 2 = 21
Branch analysis from position: 40
Branch analysis from position: 21
Branch analysis from position: 26
2 jumps found. (Code = 44) Position 1 = 40, Position 2 = 21
Branch analysis from position: 40
Branch analysis from position: 21
Branch analysis from position: 42
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 42
filename:       /in/V24ff
function name:  (null)
number of ops:  44
compiled vars:  !0 = $array, !1 = $chunks, !2 = $span_classes, !3 = $chunk, !4 = $count, !5 = $span_class, !6 = $i, !7 = $last, !8 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 11
          3        DO_ICALL                                         $9      
          4        ASSIGN                                                   !0, $9
    4     5        INIT_FCALL                                               'array_chunk'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 4
          8        DO_ICALL                                         $11     
          9        ASSIGN                                                   !1, $11
    6    10        ASSIGN                                                   !2, <array>
    8    11      > FE_RESET_R                                       $14     !1, ->42
         12    > > FE_FETCH_R                                               $14, !3, ->42
    9    13    >   ECHO                                                     '%3Cdiv+class%3D%22item%22%3E%0A'
   10    14        COUNT                                            ~15     !3
         15        ASSIGN                                                   !4, ~15
   11    16        SUB                                              ~17     !4, 1
         17        FETCH_DIM_R                                      ~18     !2, ~17
         18        ASSIGN                                                   !5, ~18
   12    19        ASSIGN                                                   !6, 0
         20      > JMP                                                      ->38
   13    21    >   SUB                                              ~21     !4, 1
         22        IS_EQUAL                                                 !6, ~21
         23      > JMPZ                                                     ~22, ->26
         24    >   QM_ASSIGN                                        ~23     '+last'
         25      > JMP                                                      ->27
         26    >   QM_ASSIGN                                        ~23     ''
         27    >   ASSIGN                                                   !7, ~23
   14    28        FETCH_DIM_R                                      ~25     !3, !6
         29        ASSIGN                                                   !8, ~25
   15    30        ROPE_INIT                                     6  ~28     '%3Cspan+class%3D%22'
         31        ROPE_ADD                                      1  ~28     ~28, !5
         32        ROPE_ADD                                      2  ~28     ~28, !7
         33        ROPE_ADD                                      3  ~28     ~28, '%22%3E'
         34        ROPE_ADD                                      4  ~28     ~28, !8
         35        ROPE_END                                      5  ~27     ~28, '%3C%2Fspan%3E%0A'
         36        ECHO                                                     ~27
   12    37        PRE_INC                                                  !6
         38    >   IS_SMALLER                                               !6, !4
         39      > JMPNZ                                                    ~32, ->21
   17    40    >   ECHO                                                     '%3C%2Fdiv%3E%0A'
    8    41      > JMP                                                      ->12
         42    >   FE_FREE                                                  $14
   18    43      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.92 ms | 973 KiB | 15 Q