3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.43 ms | 1399 KiB | 13 Q