3v4l.org

run code in 300+ PHP versions simultaneously
<form action="form.php" method="GET"> <input type="text" name="name"/> <input type="submit"> </form> <?PHP if (! empty($_GET['name'])){ echo 'Hello, ' . $_GET['name']; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/uUkZS
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Cform+action%3D%22form.php%22+method%3D%22GET%22%3E%0A%3Cinput+type%3D%22text%22+name%3D%22name%22%2F%3E%0A%3Cinput+type%3D%22submit%22%3E%0A%3C%2Fform%3E%0A%0A'
    7     1        FETCH_IS                                         ~0      '_GET'
          2        ISSET_ISEMPTY_DIM_OBJ                         1  ~1      ~0, 'name'
          3        BOOL_NOT                                         ~2      ~1
          4      > JMPZ                                                     ~2, ->9
    8     5    >   FETCH_R                      global              ~3      '_GET'
          6        FETCH_DIM_R                                      ~4      ~3, 'name'
          7        CONCAT                                           ~5      'Hello%2C+', ~4
          8        ECHO                                                     ~5
   10     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.68 ms | 1392 KiB | 13 Q