PHP来自列表

1 php random

这样做的最佳方式是什么?

rand('Helloworld','Hi world');
Run Code Online (Sandbox Code Playgroud)

我知道这不起作用,因为rand需要最小和最大数量,但是这个解决方案是什么?