3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = 'PHP' ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title><?php $var ?></title> </head> <body> <h3><?php $var ?></h3> <form action="" method="post"> <h1>PLease input your name</h1> <input type="text" name="name"> <input type="submit" value="envoyer formulaire"> <?php $name = $_POST['name']; ?> <p>HELLO <?php $name ?>!</p> </form> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/M5chc
function name:  (null)
number of ops:  10
compiled vars:  !0 = $var, !1 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, 'PHP'
    2     1        ECHO                                                     '%3C%21DOCTYPE+html%3E%0A%3Chtml+lang%3D%22en%22%3E%0A%3Chead%3E%0A%09%3Cmeta+charset%3D%22UTF-8%22%3E%0A%09%3Ctitle%3E'
    6     2        ECHO                                                     '%3C%2Ftitle%3E%0A%3C%2Fhead%3E%0A%3Cbody%3E%0A%3Ch3%3E'
    9     3        ECHO                                                     '%3C%2Fh3%3E%0A%3Cform+action%3D%22%22+method%3D%22post%22%3E%0A%3Ch1%3EPLease+input+your+name%3C%2Fh1%3E%0A%3Cinput+type%3D%22text%22+name%3D%22name%22%3E%0A%3Cinput+type%3D%22submit%22+value%3D%22envoyer+formulaire%22%3E%0A'
   14     4        FETCH_R                      global              ~3      '_POST'
          5        FETCH_DIM_R                                      ~4      ~3, 'name'
          6        ASSIGN                                                   !1, ~4
   15     7        ECHO                                                     '%3Cp%3EHELLO+'
          8        ECHO                                                     '%21%3C%2Fp%3E%0A%3C%2Fform%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   18     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.23 ms | 1393 KiB | 13 Q