- rand: documentation ( source)
<?php
$clrs = array('red', 'blue');
$color = rand(0,1);
echo "Love is ",
(print !(print (
print ( ($color == $clrs[1])?
print $clrs[1] : print $clrs[0])?
"? true" : "? false")?
" (1) " : "")?: 24)?
'x7' : ' hours';