3v4l.org

run code in 300+ PHP versions simultaneously
<?php switch($fghfghfgh) { 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 = 2, Position 2 = 9
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
Branch analysis from position: 9
filename:       /in/CE3mK
function name:  (null)
number of ops:  11
compiled vars:  !0 = $fghfghfgh
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   IS_EQUAL                                                 !0, 4
          1      > JMPNZ                                                    ~1, ->9
    5     2    >   IS_EQUAL                                                 !0, 41
          3      > JMPNZ                                                    ~1, ->9
    6     4    >   IS_EQUAL                                                 !0, 1
          5      > JMPNZ                                                    ~1, ->9
    8     6    >   IS_EQUAL                                                 !0, 41
          7      > JMPNZ                                                    ~1, ->10
          8    > > JMP                                                      ->10
    7     9    >   ECHO                                                     1234
    9    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.81 ms | 1397 KiB | 13 Q