3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
<!DOCTYPE html> <html> <body> Monday<br/>Tuesday<br/>Wednesday<br/>Thursday<br/>Friday<br/></body> </html>
Output for hhvm-3.10.0

Process exited with code 153.