3v4l.org

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