3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $price_check = '0'; if($price_check < '0' || $filter='0') if($price_check <= '20' || $filter='200-500') if($price_check <= '50' || $filter='100-200') if($price_check <= '100' || $filter='100-200') if($price_check <= '200' || $filter='200-500') if($price_check <= '500' || $filter='0-20') echo $filter;
based on fEe6l
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
Jump found. Position 1 = 6, Position 2 = 32
Branch analysis from position: 6
Jump found. Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
Jump found. Position 1 = 11, Position 2 = 32
Branch analysis from position: 11
Jump found. Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
Jump found. Position 1 = 16, Position 2 = 32
Branch analysis from position: 16
Jump found. Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
Jump found. Position 1 = 21, Position 2 = 32
Branch analysis from position: 21
Jump found. Position 1 = 23, Position 2 = 25
Branch analysis from position: 23
Jump found. Position 1 = 26, Position 2 = 32
Branch analysis from position: 26
Jump found. Position 1 = 28, Position 2 = 30
Branch analysis from position: 28
Jump found. Position 1 = 31, Position 2 = 32
Branch analysis from position: 31
Jump found. Position 1 = -2
Branch analysis from position: 32
Branch analysis from position: 30
Branch analysis from position: 32
Branch analysis from position: 25
Branch analysis from position: 32
Branch analysis from position: 20
Branch analysis from position: 32
Branch analysis from position: 15
Branch analysis from position: 32
Branch analysis from position: 10
Branch analysis from position: 32
Branch analysis from position: 5
filename:       /in/aqHL3
function name:  (null)
number of ops:  33
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, ->32
   5     6    >   IS_SMALLER_OR_EQUAL                              ~5      !0, '20'
         7      > JMPNZ_EX                                         ~5      ~5, ->10
         8    >   ASSIGN                                           $6      !1, '200-500'
         9        BOOL                                             ~5      $6
        10    > > JMPZ                                                     ~5, ->32
   6    11    >   IS_SMALLER_OR_EQUAL                              ~7      !0, '50'
        12      > JMPNZ_EX                                         ~7      ~7, ->15
        13    >   ASSIGN                                           $8      !1, '100-200'
        14        BOOL                                             ~7      $8
        15    > > JMPZ                                                     ~7, ->32
   7    16    >   IS_SMALLER_OR_EQUAL                              ~9      !0, '100'
        17      > JMPNZ_EX                                         ~9      ~9, ->20
        18    >   ASSIGN                                           $10     !1, '100-200'
        19        BOOL                                             ~9      $10
        20    > > JMPZ                                                     ~9, ->32
   8    21    >   IS_SMALLER_OR_EQUAL                              ~11     !0, '200'
        22      > JMPNZ_EX                                         ~11     ~11, ->25
        23    >   ASSIGN                                           $12     !1, '200-500'
        24        BOOL                                             ~11     $12
        25    > > JMPZ                                                     ~11, ->32
   9    26    >   IS_SMALLER_OR_EQUAL                              ~13     !0, '500'
        27      > JMPNZ_EX                                         ~13     ~13, ->30
        28    >   ASSIGN                                           $14     !1, '0-20'
        29        BOOL                                             ~13     $14
        30    > > JMPZ                                                     ~13, ->32
  11    31    >   ECHO                                                     !1
        32    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0