3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = 0; $group = 0; $v1 = ''; $v2 = ''; while ( $count < 4 ) : // the_row(); if ($count % 4 == 0) { $group++; $v1 .= "<div class=\"intro row\">\n"; $v2 .= "<div class=\"expanded row\">\n"; } $v1 .= "<div class=\"item item-" . $count . "\"></div>\n"; $v2 .= "<div class=\"expand\" id=\"item-" . $count . "\"></div></div>\n"; if ($count % 4 == 3) { $v1 .= "</div>\n"; $v2 .= "</div>\n"; } $count++; endwhile; echo $v1 . $v2;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 5
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 22
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 5
Branch analysis from position: 25
Branch analysis from position: 5
Branch analysis from position: 22
Branch analysis from position: 11
filename:       /in/cKPP4
function name:  (null)
number of ops:  28
compiled vars:  !0 = $count, !1 = $group, !2 = $v1, !3 = $v2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 0
    6     1        ASSIGN                                                   !1, 0
    7     2        ASSIGN                                                   !2, ''
    8     3        ASSIGN                                                   !3, ''
    9     4      > JMP                                                      ->23
   12     5    >   MOD                                              ~8      !0, 4
          6        IS_EQUAL                                                 ~8, 0
          7      > JMPZ                                                     ~9, ->11
   13     8    >   PRE_INC                                                  !1
   15     9        ASSIGN_OP                                     8          !2, '%3Cdiv+class%3D%22intro+row%22%3E%0A'
   16    10        ASSIGN_OP                                     8          !3, '%3Cdiv+class%3D%22expanded+row%22%3E%0A'
   20    11    >   CONCAT                                           ~13     '%3Cdiv+class%3D%22item+item-', !0
         12        CONCAT                                           ~14     ~13, '%22%3E%3C%2Fdiv%3E%0A'
         13        ASSIGN_OP                                     8          !2, ~14
   21    14        CONCAT                                           ~16     '%3Cdiv+class%3D%22expand%22+id%3D%22item-', !0
         15        CONCAT                                           ~17     ~16, '%22%3E%3C%2Fdiv%3E%3C%2Fdiv%3E%0A'
         16        ASSIGN_OP                                     8          !3, ~17
   23    17        MOD                                              ~19     !0, 4
         18        IS_EQUAL                                                 ~19, 3
         19      > JMPZ                                                     ~20, ->22
   24    20    >   ASSIGN_OP                                     8          !2, '%3C%2Fdiv%3E%0A'
   25    21        ASSIGN_OP                                     8          !3, '%3C%2Fdiv%3E%0A'
   27    22    >   PRE_INC                                                  !0
    9    23    >   IS_SMALLER                                               !0, 4
         24      > JMPNZ                                                    ~24, ->5
   32    25    >   CONCAT                                           ~25     !2, !3
         26        ECHO                                                     ~25
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
273.24 ms | 1003 KiB | 13 Q