3v4l.org

run code in 300+ PHP versions simultaneously
<?php $language_array = array("en", "de", "fr"); $language = 'fr'; if (!in_array($language, $language_array)) { $language = 'en'; } include 'inc/header.php'; $page = isset($_GET['page']) ? $_GET['page'] : null; if (!include 'pages' . $page . '.php') { //header("HTTP/1.1 404 Not Found"); echo '404'; } include 'inc/footer.php'; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 17
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 25
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
Branch analysis from position: 17
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 25
Branch analysis from position: 24
Branch analysis from position: 25
Branch analysis from position: 9
filename:       /in/WrStE
function name:  (null)
number of ops:  27
compiled vars:  !0 = $language_array, !1 = $language, !2 = $page
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 'fr'
    6     2        INIT_FCALL                                               'in_array'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        BOOL_NOT                                         ~6      $5
          7      > JMPZ                                                     ~6, ->9
    7     8    >   ASSIGN                                                   !1, 'en'
   11     9    >   INCLUDE_OR_EVAL                                          'inc%2Fheader.php', INCLUDE
   13    10        FETCH_IS                                         ~9      '_GET'
         11        ISSET_ISEMPTY_DIM_OBJ                         0          ~9, 'page'
         12      > JMPZ                                                     ~10, ->17
         13    >   FETCH_R                      global              ~11     '_GET'
         14        FETCH_DIM_R                                      ~12     ~11, 'page'
         15        QM_ASSIGN                                        ~13     ~12
         16      > JMP                                                      ->18
         17    >   QM_ASSIGN                                        ~13     null
         18    >   ASSIGN                                                   !2, ~13
   14    19        CONCAT                                           ~15     'pages', !2
         20        CONCAT                                           ~16     ~15, '.php'
         21        INCLUDE_OR_EVAL                                  $17     ~16, INCLUDE
         22        BOOL_NOT                                         ~18     $17
         23      > JMPZ                                                     ~18, ->25
   16    24    >   ECHO                                                     '404'
   19    25    >   INCLUDE_OR_EVAL                                          'inc%2Ffooter.php', INCLUDE
   21    26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.41 ms | 1396 KiB | 15 Q