3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ( $imageIndex == 1 || ( $imageIndex >= 6 && ( $imageIndex - 6 ) % 4 == 0 ) ) $frameClass .= " last"; /* This is a hack to make images wrap around the search sidebar */ ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 2, Position 2 = 9
Branch analysis from position: 2
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 8
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
Branch analysis from position: 8
Branch analysis from position: 9
filename:       /in/oEgeb
function name:  (null)
number of ops:  12
compiled vars:  !0 = $imageIndex, !1 = $frameClass
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   IS_EQUAL                                         ~2      !0, 1
          1      > JMPNZ_EX                                         ~2      ~2, ->9
          2    >   IS_SMALLER_OR_EQUAL                              ~3      6, !0
          3      > JMPZ_EX                                          ~3      ~3, ->8
          4    >   SUB                                              ~4      !0, 6
          5        MOD                                              ~5      ~4, 4
          6        IS_EQUAL                                         ~6      ~5, 0
          7        BOOL                                             ~3      ~6
          8    >   BOOL                                             ~2      ~3
          9    > > JMPZ                                                     ~2, ->11
    3    10    >   ASSIGN_OP                                     8          !1, '+last'
    5    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.83 ms | 1393 KiB | 13 Q