3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (isset($_GET['prenom']) AND isset($_GET['nom']) AND isset($_GET['repeter'])) { // 1 : On force la conversion en nombre entier $_GET['repeter'] = (int) $_GET['repeter']; // 2 : Le nombre doit être compris entre 1 et 100 if ($_GET['repeter'] >= 1 AND $_GET['repeter'] <= 100) { for ($i = 0 ; $i < $_GET['repeter'] ; $i++) { echo 'Bonjour ' . $_GET['prenom'] . ' ' . $_GET['nom'] . ' !<br />'; } } } else { echo 'Il faut renseigner un nom, un prénom et un nombre de répétitions !'; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 3, Position 2 = 6
Branch analysis from position: 3
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 43
Branch analysis from position: 11
2 jumps found. (Code = 46) Position 1 = 21, Position 2 = 25
Branch analysis from position: 21
2 jumps found. (Code = 43) Position 1 = 26, Position 2 = 42
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 38
Branch analysis from position: 38
2 jumps found. (Code = 44) Position 1 = 42, Position 2 = 28
Branch analysis from position: 42
1 jumps found. (Code = 42) Position 1 = 44
Branch analysis from position: 44
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 42, Position 2 = 28
Branch analysis from position: 42
Branch analysis from position: 28
Branch analysis from position: 42
Branch analysis from position: 25
Branch analysis from position: 43
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
Branch analysis from position: 6
filename:       /in/5ViXo
function name:  (null)
number of ops:  45
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_IS                                         ~1      '_GET'
          1        ISSET_ISEMPTY_DIM_OBJ                         0  ~2      ~1, 'prenom'
          2      > JMPZ_EX                                          ~2      ~2, ->6
          3    >   FETCH_IS                                         ~3      '_GET'
          4        ISSET_ISEMPTY_DIM_OBJ                         0  ~4      ~3, 'nom'
          5        BOOL                                             ~2      ~4
          6    > > JMPZ_EX                                          ~2      ~2, ->10
          7    >   FETCH_IS                                         ~5      '_GET'
          8        ISSET_ISEMPTY_DIM_OBJ                         0  ~6      ~5, 'repeter'
          9        BOOL                                             ~2      ~6
         10    > > JMPZ                                                     ~2, ->43
    5    11    >   FETCH_R                      global              ~9      '_GET'
         12        FETCH_DIM_R                                      ~10     ~9, 'repeter'
         13        CAST                                          4  ~11     ~10
         14        FETCH_W                      global              $7      '_GET'
         15        ASSIGN_DIM                                               $7, 'repeter'
         16        OP_DATA                                                  ~11
    8    17        FETCH_R                      global              ~12     '_GET'
         18        FETCH_DIM_R                                      ~13     ~12, 'repeter'
         19        IS_SMALLER_OR_EQUAL                              ~14     1, ~13
         20      > JMPZ_EX                                          ~14     ~14, ->25
         21    >   FETCH_R                      global              ~15     '_GET'
         22        FETCH_DIM_R                                      ~16     ~15, 'repeter'
         23        IS_SMALLER_OR_EQUAL                              ~17     ~16, 100
         24        BOOL                                             ~14     ~17
         25    > > JMPZ                                                     ~14, ->42
   10    26    >   ASSIGN                                                   !0, 0
         27      > JMP                                                      ->38
   12    28    >   FETCH_R                      global              ~19     '_GET'
         29        FETCH_DIM_R                                      ~20     ~19, 'prenom'
         30        CONCAT                                           ~21     'Bonjour+', ~20
         31        CONCAT                                           ~22     ~21, '+'
         32        FETCH_R                      global              ~23     '_GET'
         33        FETCH_DIM_R                                      ~24     ~23, 'nom'
         34        CONCAT                                           ~25     ~22, ~24
         35        CONCAT                                           ~26     ~25, '+%21%3Cbr+%2F%3E'
         36        ECHO                                                     ~26
   10    37        PRE_INC                                                  !0
         38    >   FETCH_R                      global              ~28     '_GET'
         39        FETCH_DIM_R                                      ~29     ~28, 'repeter'
         40        IS_SMALLER                                               !0, ~29
         41      > JMPNZ                                                    ~30, ->28
         42    > > JMP                                                      ->44
   18    43    >   ECHO                                                     'Il+faut+renseigner+un+nom%2C+un+pr%C3%A9nom+et+un+nombre+de+r%C3%A9p%C3%A9titions+%21'
   20    44    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.78 ms | 1403 KiB | 13 Q