3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<!DOCTYPE html> <html> <body> <?php $x=array("Monday","Tuesday","Wednesday","Thursday","Friday"); foreach($x as $value){ echo $value."<br/>"; } ?> </body> </html>
based on M7CnQ
Output for 4.3.0 - 7.2.0
<!DOCTYPE html> <html> <body> Monday<br/>Tuesday<br/>Wednesday<br/>Thursday<br/>Friday<br/></body> </html>