A forked child inherits the server's Mersenne Twister state. Once the
server has drawn one mt_rand() (react/dns does for DNS query ids), every
message child continued from the same state, so array_rand(), rand() and
shuffle() returned the same values in each one. In learn-atc,
question.random kept serving the same two questions in turn (#3088).
prepareChild() now calls mt_srand(), with a fork test for both the fix
and the failure mode.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>