3v4l.org

run code in 300+ PHP versions simultaneously
<?php if($_SERVER['REQUEST_METHOD']=="POST") { if(isset($_POST['edit'])) { if(isset($_GET['id'])) { // wijzig de boel. } } elseif(isset($_POST['delete'])) { if(isset($_GET['id'])) { // wijzig de boel. } } else { echo "Onbekende actie! Wat wil je nou precies doen?"; } } else { // hier je formulier met twee submit-knoppen, genaamd 'edit' en 'delete' } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 20
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 11
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 10
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 18
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 17
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 17
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
Branch analysis from position: 20
filename:       /in/FWKXv
function name:  (null)
number of ops:  21
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_R                      global              ~0      '_SERVER'
          1        FETCH_DIM_R                                      ~1      ~0, 'REQUEST_METHOD'
          2        IS_EQUAL                                                 ~1, 'POST'
          3      > JMPZ                                                     ~2, ->20
    3     4    >   FETCH_IS                                         ~3      '_POST'
          5        ISSET_ISEMPTY_DIM_OBJ                         0          ~3, 'edit'
          6      > JMPZ                                                     ~4, ->11
    4     7    >   FETCH_IS                                         ~5      '_GET'
          8        ISSET_ISEMPTY_DIM_OBJ                         0          ~5, 'id'
          9      > JMPZ                                                     ~6, ->10
         10    > > JMP                                                      ->19
    7    11    >   FETCH_IS                                         ~7      '_POST'
         12        ISSET_ISEMPTY_DIM_OBJ                         0          ~7, 'delete'
         13      > JMPZ                                                     ~8, ->18
    8    14    >   FETCH_IS                                         ~9      '_GET'
         15        ISSET_ISEMPTY_DIM_OBJ                         0          ~9, 'id'
         16      > JMPZ                                                     ~10, ->17
         17    > > JMP                                                      ->19
   12    18    >   ECHO                                                     'Onbekende+actie%21+Wat+wil+je+nou+precies+doen%3F'
         19    > > JMP                                                      ->20
   17    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.79 ms | 1395 KiB | 13 Q