如何轮换两个或更多字符串–kohana3使用手册
Text::alternate()方法接受两个或更多字符串参数,并且会在它每次被调用时返回不同的字符窜
echo Text::alternate(‘You are cool’,'You are smart’,'You are funny’);
echo Text::alternate(‘You are nice’,'You are happy’,'You are stinky’);
echo Text::alternate(‘You are ugly’,'You are sleepy’,'You are bored’);
将返回
You are cool
You are happy
You are bored