3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($_SERVER["REQUEST_METHOD"] == "GET"){ include("form.phtml"); } elseif ($_SERVER["REQUEST_METHOD"] == "POST"){ // process the form request and show results }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 10
Branch analysis from position: 10
Branch analysis from position: 10
filename:       /in/V7Yb0
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_R                      global              ~0      '_SERVER'
          1        FETCH_DIM_R                                      ~1      ~0, 'REQUEST_METHOD'
          2        IS_EQUAL                                                 ~1, 'GET'
          3      > JMPZ                                                     ~2, ->6
    4     4    >   INCLUDE_OR_EVAL                                          'form.phtml', INCLUDE
          5      > JMP                                                      ->10
    5     6    >   FETCH_R                      global              ~4      '_SERVER'
          7        FETCH_DIM_R                                      ~5      ~4, 'REQUEST_METHOD'
          8        IS_EQUAL                                                 ~5, 'POST'
          9      > JMPZ                                                     ~6, ->10
    7    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.94 ms | 1397 KiB | 13 Q