3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = 'PHP Tutorial' ?> <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> </HEAD> <BODY> <H3><?php echo $var;?></H3> </BODY> </HTML>
Output for 4.3.0 - 7.1.0
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> </HEAD> <BODY> <H3>PHP Tutorial</H3> </BODY> </HTML>