3v4l.org

run code in 300+ PHP versions simultaneously
<?php $price_check = '0'; if($price_check > '0' || $filter='0') if($price_check < '20' || $filter='200-500') echo"1";$filter='501'; if($price_check < '50' || $filter='100-200') echo"2"; if($price_check < '100' || $filter='50-100' ) echo"3"; if($price_check < '200' || $filter='20-50' ) echo"4"; if($price_check < '500' || $filter='0-20' ) echo"5"; echo $filter;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 12
Branch analysis from position: 6
2 jumps found. (Code = 47) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 12
Branch analysis from position: 11
2 jumps found. (Code = 47) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 19
Branch analysis from position: 18
2 jumps found. (Code = 47) Position 1 = 21, Position 2 = 23
Branch analysis from position: 21
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 25
Branch analysis from position: 24
2 jumps found. (Code = 47) Position 1 = 27, Position 2 = 29
Branch analysis from position: 27
2 jumps found. (Code = 43) Position 1 = 30, Position 2 = 31
Branch analysis from position: 30
2 jumps found. (Code = 47) Position 1 = 33, Position 2 = 35
Branch analysis from position: 33
2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 37
Branch analysis from position: 36
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 37
Branch analysis from position: 35
Branch analysis from position: 31
Branch analysis from position: 29
Branch analysis from position: 25
Branch analysis from position: 23
Branch analysis from position: 19
Branch analysis from position: 17
Branch analysis from position: 12
Branch analysis from position: 10
Branch analysis from position: 12
Branch analysis from position: 5
filename:       /in/3pKGu
function name:  (null)
number of ops:  39
compiled vars:  !0 = $price_check, !1 = $filter
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '0'
    4     1        IS_SMALLER                                       ~3      '0', !0
          2      > JMPNZ_EX                                         ~3      ~3, ->5
          3    >   ASSIGN                                           ~4      !1, '0'
          4        BOOL                                             ~3      ~4
          5    > > JMPZ                                                     ~3, ->12
    5     6    >   IS_SMALLER                                       ~5      !0, '20'
          7      > JMPNZ_EX                                         ~5      ~5, ->10
          8    >   ASSIGN                                           ~6      !1, '200-500'
          9        BOOL                                             ~5      ~6
         10    > > JMPZ                                                     ~5, ->12
         11    >   ECHO                                                     '1'
         12    >   ASSIGN                                                   !1, '501'
    6    13        IS_SMALLER                                       ~8      !0, '50'
         14      > JMPNZ_EX                                         ~8      ~8, ->17
         15    >   ASSIGN                                           ~9      !1, '100-200'
         16        BOOL                                             ~8      ~9
         17    > > JMPZ                                                     ~8, ->19
         18    >   ECHO                                                     '2'
    7    19    >   IS_SMALLER                                       ~10     !0, '100'
         20      > JMPNZ_EX                                         ~10     ~10, ->23
         21    >   ASSIGN                                           ~11     !1, '50-100'
         22        BOOL                                             ~10     ~11
         23    > > JMPZ                                                     ~10, ->25
         24    >   ECHO                                                     '3'
    8    25    >   IS_SMALLER                                       ~12     !0, '200'
         26      > JMPNZ_EX                                         ~12     ~12, ->29
         27    >   ASSIGN                                           ~13     !1, '20-50'
         28        BOOL                                             ~12     ~13
         29    > > JMPZ                                                     ~12, ->31
         30    >   ECHO                                                     '4'
    9    31    >   IS_SMALLER                                       ~14     !0, '500'
         32      > JMPNZ_EX                                         ~14     ~14, ->35
         33    >   ASSIGN                                           ~15     !1, '0-20'
         34        BOOL                                             ~14     ~15
         35    > > JMPZ                                                     ~14, ->37
         36    >   ECHO                                                     '5'
   11    37    >   ECHO                                                     !1
         38      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.06 ms | 1399 KiB | 13 Q