<?php $colors = array('red', 'red', 'red', 'black'); echo $colors[array_rand($colors)];
Standard input is empty
red
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!