3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Coffee = "tasty"; if (Coffee == tasty) { echo "Code is good"; } elseif (Coffee == strong) { echo "Code is clean"; } elseif (Coffee == tasty and Coffee == strong) { echo "Code is AMAZING!"; } else { echo "Programmer.exe has stopped working"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
Branch analysis from position: 13
2 jumps found. (Code = 46) Position 1 = 17, Position 2 = 21
Branch analysis from position: 17
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 24
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/AXmk0
function name:  (null)
number of ops:  26
compiled vars:  !0 = $Coffee
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'tasty'
    3     1        FETCH_CONSTANT                                   ~2      'Coffee'
          2        FETCH_CONSTANT                                   ~3      'tasty'
          3        IS_EQUAL                                                 ~2, ~3
          4      > JMPZ                                                     ~4, ->7
    4     5    >   ECHO                                                     'Code+is+good'
          6      > JMP                                                      ->25
    5     7    >   FETCH_CONSTANT                                   ~5      'Coffee'
          8        FETCH_CONSTANT                                   ~6      'strong'
          9        IS_EQUAL                                                 ~5, ~6
         10      > JMPZ                                                     ~7, ->13
    6    11    >   ECHO                                                     'Code+is+clean'
         12      > JMP                                                      ->25
    7    13    >   FETCH_CONSTANT                                   ~8      'Coffee'
         14        FETCH_CONSTANT                                   ~9      'tasty'
         15        IS_EQUAL                                         ~10     ~8, ~9
         16      > JMPZ_EX                                          ~10     ~10, ->21
         17    >   FETCH_CONSTANT                                   ~11     'Coffee'
         18        FETCH_CONSTANT                                   ~12     'strong'
         19        IS_EQUAL                                         ~13     ~11, ~12
         20        BOOL                                             ~10     ~13
         21    > > JMPZ                                                     ~10, ->24
    8    22    >   ECHO                                                     'Code+is+AMAZING%21'
         23      > JMP                                                      ->25
   10    24    >   ECHO                                                     'Programmer.exe+has+stopped+working'
   12    25    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.93 ms | 1395 KiB | 13 Q