3v4l.org

run code in 300+ PHP versions simultaneously
<?php $chars = str_split("The quick brown fox jumps over the lazy dog."); foreach ($chars as $char) { switch (strtoupper($char)) { case "A": case "E": case "I": case "O": case "U": case "Y": continue; } print $char; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 27
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 27
Branch analysis from position: 6
8 jumps found. (Code = 188) Position 1 = 23, Position 2 = 23, Position 3 = 23, Position 4 = 23, Position 5 = 23, Position 6 = 23, Position 7 = 24, Position 8 = 10
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 23
Branch analysis from position: 23
Branch analysis from position: 23
Branch analysis from position: 23
Branch analysis from position: 23
Branch analysis from position: 24
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 23
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 23
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 23
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 23
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 23
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 23
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
Branch analysis from position: 23
Branch analysis from position: 23
Branch analysis from position: 23
Branch analysis from position: 23
Branch analysis from position: 23
Branch analysis from position: 23
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
filename:       /in/qBcK4
function name:  (null)
number of ops:  29
compiled vars:  !0 = $chars, !1 = $char
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'str_split'
          1        SEND_VAL                                                 'The+quick+brown+fox+jumps+over+the+lazy+dog.'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4      > FE_RESET_R                                       $4      !0, ->27
          5    > > FE_FETCH_R                                               $4, !1, ->27
    4     6    >   INIT_FCALL                                               'strtoupper'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $5      
          9      > SWITCH_STRING                                            $5, [ 'A':->23, 'E':->23, 'I':->23, 'O':->23, 'U':->23, 'Y':->23, ], ->24
    5    10    >   CASE                                                     $5, 'A'
         11      > JMPNZ                                                    ~6, ->23
    6    12    >   CASE                                                     $5, 'E'
         13      > JMPNZ                                                    ~6, ->23
    7    14    >   CASE                                                     $5, 'I'
         15      > JMPNZ                                                    ~6, ->23
    8    16    >   CASE                                                     $5, 'O'
         17      > JMPNZ                                                    ~6, ->23
    9    18    >   CASE                                                     $5, 'U'
         19      > JMPNZ                                                    ~6, ->23
   10    20    >   CASE                                                     $5, 'Y'
         21      > JMPNZ                                                    ~6, ->23
         22    > > JMP                                                      ->24
   11    23    > > JMP                                                      ->24
         24    >   FREE                                                     $5
   14    25        ECHO                                                     !1
    3    26      > JMP                                                      ->5
         27    >   FE_FREE                                                  $4
   15    28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.75 ms | 1449 KiB | 15 Q