3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i10 = 4; $i100 = 4; $cond = ( ( ( ($i10 >= 2 && $i10 <= 4) && !($i100 >= 12 && $i100 <= 14) ) ? 1 : 0 ) ); var_dump($cond);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 13
Branch analysis from position: 7
2 jumps found. (Code = 46) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 16
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
Branch analysis from position: 13
Branch analysis from position: 6
filename:       /in/6p3fH
function name:  (null)
number of ops:  22
compiled vars:  !0 = $i10, !1 = $i100, !2 = $cond
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 4
    4     1        ASSIGN                                                   !1, 4
    9     2        IS_SMALLER_OR_EQUAL                              ~5      2, !0
          3      > JMPZ_EX                                          ~5      ~5, ->6
          4    >   IS_SMALLER_OR_EQUAL                              ~6      !0, 4
          5        BOOL                                             ~5      ~6
          6    > > JMPZ_EX                                          ~5      ~5, ->13
          7    >   IS_SMALLER_OR_EQUAL                              ~7      12, !1
          8      > JMPZ_EX                                          ~7      ~7, ->11
          9    >   IS_SMALLER_OR_EQUAL                              ~8      !1, 14
         10        BOOL                                             ~7      ~8
         11    >   BOOL_NOT                                         ~9      ~7
         12        BOOL                                             ~5      ~9
         13    > > JMPZ                                                     ~5, ->16
   10    14    >   QM_ASSIGN                                        ~10     1
         15      > JMP                                                      ->17
         16    >   QM_ASSIGN                                        ~10     0
    6    17    >   ASSIGN                                                   !2, ~10
   14    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !2
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.65 ms | 1395 KiB | 15 Q