Fix for #64450

From: Date: Thu, 21 Mar 2013 16:46:49 +0000
Subject: Fix for #64450
Groups: php.internals 
Request: Send a blank email to internals+get-66741@lists.php.net to get a copy of this message
Hi Dmitry, I developed a patch for this one https://bugs.php.net/bug.php?id=64450 . It's regarding to the long overflow in mt_rand(). The main idea is to work with the args as double internally and then return php float if it exceeds the LONG_MAX. I strived to let the old behavior to be unchanged, all the older tests pass. Please take a look. Regards Anatol

« previous php.internals (#66741) next »