3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $name = "Arman"; ?> <html> <body> <input type="text" name="name" /> <input type="submit" value="submit" onclick="<?php echo $name; ?>"> </body> </html>
Output for 4.3.0 - 7.2.0
<html> <body> <input type="text" name="name" /> <input type="submit" value="submit" onclick="Arman"> </body> </html>