3v4l.org

run code in 300+ PHP versions simultaneously
<?php $limit = 100; $offset = 0; $limit = (int) $limit; $offset = (int) $offset; if ($limit && $offset) { echo '$limit && $offset'; } elseif ($limit && ! $offset) { echo '$limit && ! $offset'; } elseif ( ! $limit && $offset) { echo '! $limit && $offset'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 46) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
Branch analysis from position: 17
2 jumps found. (Code = 46) Position 1 = 19, Position 2 = 20
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 22
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
Branch analysis from position: 20
Branch analysis from position: 14
Branch analysis from position: 8
filename:       /in/hTMOS
function name:  (null)
number of ops:  23
compiled vars:  !0 = $limit, !1 = $offset
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 100
    3     1        ASSIGN                                                   !1, 0
    5     2        CAST                                          4  ~4      !0
          3        ASSIGN                                                   !0, ~4
    6     4        CAST                                          4  ~6      !1
          5        ASSIGN                                                   !1, ~6
    8     6      > JMPZ_EX                                          ~8      !0, ->8
          7    >   BOOL                                             ~8      !1
          8    > > JMPZ                                                     ~8, ->11
    9     9    >   ECHO                                                     '%24limit+%26%26+%24offset'
         10      > JMP                                                      ->22
   10    11    > > JMPZ_EX                                          ~9      !0, ->14
         12    >   BOOL_NOT                                         ~10     !1
         13        BOOL                                             ~9      ~10
         14    > > JMPZ                                                     ~9, ->17
   11    15    >   ECHO                                                     '%24limit+%26%26+%21+%24offset'
         16      > JMP                                                      ->22
   12    17    >   BOOL_NOT                                         ~11     !0
         18      > JMPZ_EX                                          ~11     ~11, ->20
         19    >   BOOL                                             ~11     !1
         20    > > JMPZ                                                     ~11, ->22
   13    21    >   ECHO                                                     '%21+%24limit+%26%26+%24offset'
   14    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.06 ms | 1395 KiB | 13 Q