3v4l.org

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