3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.18 ms | 1399 KiB | 13 Q