3v4l.org

run code in 300+ PHP versions simultaneously
<?php $v = 17; const A = 16; const B = 31; if ($v >= A and $v <= B) {echo "inside\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
Branch analysis from position: 9
filename:       /in/9N77o
function name:  (null)
number of ops:  12
compiled vars:  !0 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 17
          1        DECLARE_CONST                                            'A', 16
          2        DECLARE_CONST                                            'B', 31
          3        FETCH_CONSTANT                                   ~2      'A'
          4        IS_SMALLER_OR_EQUAL                              ~3      ~2, !0
          5      > JMPZ_EX                                          ~3      ~3, ->9
          6    >   FETCH_CONSTANT                                   ~4      'B'
          7        IS_SMALLER_OR_EQUAL                              ~5      !0, ~4
          8        BOOL                                             ~3      ~5
          9    > > JMPZ                                                     ~3, ->11
         10    >   ECHO                                                     'inside%0A'
         11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.23 ms | 1393 KiB | 13 Q