3v4l.org

run code in 300+ PHP versions simultaneously
<?php switch($_GET[a]) { case 4: case 41: case 1: echo 1234; case 41: }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 5, Position 2 = 12
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
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: 13
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
Branch analysis from position: 12
filename:       /in/pejkg
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_CONSTANT                                   ~1      'a'
          1        FETCH_R                      global              ~0      '_GET'
          2        FETCH_DIM_R                                      ~2      ~0, ~1
    4     3        CASE                                                     ~2, 4
          4      > JMPNZ                                                    ~3, ->12
    5     5    >   CASE                                                     ~2, 41
          6      > JMPNZ                                                    ~3, ->12
    6     7    >   CASE                                                     ~2, 1
          8      > JMPNZ                                                    ~3, ->12
    8     9    >   CASE                                                     ~2, 41
         10      > JMPNZ                                                    ~3, ->13
         11    > > JMP                                                      ->13
    7    12    >   ECHO                                                     1234
    8    13    >   FREE                                                     ~2
    9    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.95 ms | 1393 KiB | 13 Q