Quote:
Originally Posted by MysticalDragon
There is also a simpler method then this that will give you the same results.
PHP Code:
function onCreated(){ temp.images = { "test1", "test2"}; temp.random = randomstring(temp.images); echo(temp.random); }
|
Was randomstring ever fixed? Last post I can find about it is from December 2012 indicating it's still broken:
Quote:
Originally Posted by xXziroXx
It's not been fixed, I tried it a few days ago.
|
If it's still broken, I'd avoid it entirely (even if you're aware of how it's broken). You never know when somebody will change something without realizing you were relying on a broken function.
If it was fixed, I wouldn't use it until v6 is mandatory (or is it already?), since it's broken v5 clientside.