News for hackers. Stuff that matters.
Re:A call to PHP's mt_rand generates only odd numbers by Buge on Friday July 24, 2015 @09:24AM (#9941777)
Shouldn't they cache the result?
Re:A call to PHP's mt_rand generates only odd numbers by dimino on Friday July 24, 2015 @10:49AM (#9942351)
A lesson they're learning right now, I suppose.
Re:A call to PHP's mt_rand generates only odd numbers by mojuba on Friday July 24, 2015 @11:54AM (#9942829)
To find out later that not everything can be cached, e.g. time(), rand(), file_get_contents()... to find out further that no sys or lib call that contains I/O can be cached. And then damn it, why bother caching at all?