3v4l.org

run code in 300+ PHP versions simultaneously
<?php $item = 0; switch($item){ case ( ($item>=0) ($item<=16)): var_dump('case 1'); break; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
filename:       /in/VWcGD
function name:  (null)
number of ops:  14
compiled vars:  !0 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    6     1        IS_SMALLER_OR_EQUAL                              ~3      0, !0
          2        INIT_DYNAMIC_CALL                                        ~3
          3        IS_SMALLER_OR_EQUAL                              ~4      !0, 16
          4        SEND_VAL_EX                                              ~4
          5        DO_FCALL                                      0  $5      
          6        IS_EQUAL                                                 !0, $5
          7      > JMPNZ                                                    ~2, ->9
          8    > > JMP                                                      ->13
    7     9    >   INIT_FCALL                                               'var_dump'
         10        SEND_VAL                                                 'case+1'
         11        DO_ICALL                                                 
    8    12      > JMP                                                      ->13
    9    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.9 ms | 942 KiB | 16 Q