3v4l.org

run code in 300+ PHP versions simultaneously
<?php $option = 2; switch($option) { case "2 belli ki doğru seçenek değil"; echo "İlk seçenek seçildi!"; break; case 2: echo "İkinci seçenek seçildi!"; break; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 3, Position 2 = 6
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 5, Position 2 = 8
Branch analysis from position: 5
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: 8
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
filename:       /in/TgJ3W
function name:  (null)
number of ops:  11
compiled vars:  !0 = $option
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 2
    5     1        IS_EQUAL                                                 !0, '2+belli+ki+do%C4%9Fru+se%C3%A7enek+de%C4%9Fil'
          2      > JMPNZ                                                    ~2, ->6
    8     3    >   IS_EQUAL                                                 !0, 2
          4      > JMPNZ                                                    ~2, ->8
          5    > > JMP                                                      ->10
    6     6    >   ECHO                                                     '%C4%B0lk+se%C3%A7enek+se%C3%A7ildi%21'
    7     7      > JMP                                                      ->10
    9     8    >   ECHO                                                     '%C4%B0kinci+se%C3%A7enek+se%C3%A7ildi%21'
   10     9      > JMP                                                      ->10
   11    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.63 ms | 1441 KiB | 13 Q