3v4l.org

run code in 300+ PHP versions simultaneously
<?php $post = 'aside'; if ($post == 'aside') { ?><h1>aside</h1><?php } elseif ($post == 'chat') { ?><h1>chat</h1><?php } elseif ($post == 'gallery') { ?><h1>gallery</h1><?php } elseif ($post == 'link') { ?>link<?php } elseif ($post == 'quote') { ?><h1>quote</h1><?php } elseif ($post == 'status') { ?><h1>status</h1><?php } elseif ($post == 'audio') { ?><h1>audio</h1><?php } elseif ($post == 'video') { ?><h1>video</h1><?php } else { ?><h1>standard</h1><?php } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
Branch analysis from position: 17
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 21
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
Branch analysis from position: 21
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 25
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
Branch analysis from position: 25
2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 29
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
Branch analysis from position: 29
2 jumps found. (Code = 43) Position 1 = 31, Position 2 = 33
Branch analysis from position: 31
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
Branch analysis from position: 33
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/g7VSh
function name:  (null)
number of ops:  35
compiled vars:  !0 = $post
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, 'aside'
    2     1        IS_EQUAL                                                 !0, 'aside'
          2      > JMPZ                                                     ~2, ->5
    3     3    >   ECHO                                                     '%3Ch1%3Easide%3C%2Fh1%3E'
          4      > JMP                                                      ->34
    4     5    >   IS_EQUAL                                                 !0, 'chat'
          6      > JMPZ                                                     ~3, ->9
    5     7    >   ECHO                                                     '%3Ch1%3Echat%3C%2Fh1%3E'
          8      > JMP                                                      ->34
    6     9    >   IS_EQUAL                                                 !0, 'gallery'
         10      > JMPZ                                                     ~4, ->13
    7    11    >   ECHO                                                     '%3Ch1%3Egallery%3C%2Fh1%3E'
         12      > JMP                                                      ->34
    8    13    >   IS_EQUAL                                                 !0, 'link'
         14      > JMPZ                                                     ~5, ->17
    9    15    >   ECHO                                                     'link'
         16      > JMP                                                      ->34
   10    17    >   IS_EQUAL                                                 !0, 'quote'
         18      > JMPZ                                                     ~6, ->21
   11    19    >   ECHO                                                     '%3Ch1%3Equote%3C%2Fh1%3E'
         20      > JMP                                                      ->34
   12    21    >   IS_EQUAL                                                 !0, 'status'
         22      > JMPZ                                                     ~7, ->25
   13    23    >   ECHO                                                     '%3Ch1%3Estatus%3C%2Fh1%3E'
         24      > JMP                                                      ->34
   14    25    >   IS_EQUAL                                                 !0, 'audio'
         26      > JMPZ                                                     ~8, ->29
   15    27    >   ECHO                                                     '%3Ch1%3Eaudio%3C%2Fh1%3E'
         28      > JMP                                                      ->34
   16    29    >   IS_EQUAL                                                 !0, 'video'
         30      > JMPZ                                                     ~9, ->33
   17    31    >   ECHO                                                     '%3Ch1%3Evideo%3C%2Fh1%3E'
         32      > JMP                                                      ->34
   19    33    >   ECHO                                                     '%3Ch1%3Estandard%3C%2Fh1%3E'
   20    34    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.51 ms | 1399 KiB | 13 Q