PHP Weekly on Nostr: Anyone knows why array_rand(), if given array length as a second parameter, doesn't ...
Published at
2024-06-04 19:20:26Event JSON
{
"id": "b5672f52503e423c22a00ed981d4f8b3ec0246806445b4d0933924d2ed60cd6c",
"pubkey": "3dcae08b0e7437a1b13dc9e74c8fabda0f3e1559e5aa17fc5929d01028371a40",
"created_at": 1717528826,
"kind": 1,
"tags": [
[
"t",
"php"
],
[
"t",
"programming"
],
[
"proxy",
"https://mastodon.social/users/php_discussions/statuses/112559969181512420",
"activitypub"
]
],
"content": "Anyone knows why array_rand(), if given array length as a second parameter, doesn't randomize at all?\n\nhttps://3v4l.org/TnQX7\n\nDiscussions: https://discu.eu/q/https://3v4l.org/TnQX7\n\n#php #programming",
"sig": "b7c6178974a6f1b2c1549113970c2e3ed3af02a997e23db6c37c76b54bad8eef31429fc51e4bfc0500f4f47bfe47a67821715a34639c08688e94d4595df7bb18"
}