3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $color = array('white', 'green', 'red', 'blue', 'black'); ?> <html> <head></head> <body> <script>"The memory of that scene for me is like a frame of film forever frozen at that moment: the "+$color[0]+" carpet, the "+$color[0]+" lawn, the "+$color[0]+", the leaden sky. The new president and his first lady. - Richard M. Nixon" </script> </body>
Output for 4.3.0 - 7.1.0
<html> <head></head> <body> <script>"The memory of that scene for me is like a frame of film forever frozen at that moment: the "+$color[0]+" carpet, the "+$color[0]+" lawn, the "+$color[0]+", the leaden sky. The new president and his first lady. - Richard M. Nixon" </script> </body>