Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75595 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24060 invoked from network); 16 Jul 2014 18:00:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jul 2014 18:00:38 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.207 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.207 imap2-2.ox.privateemail.com Received: from [192.64.116.207] ([192.64.116.207:59603] helo=imap2-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/F3-31820-5CDB6C35 for ; Wed, 16 Jul 2014 14:00:38 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 027658C0082; Wed, 16 Jul 2014 14:00:35 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap2.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap2.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qVa6A2zIld2u; Wed, 16 Jul 2014 14:00:34 -0400 (EDT) Received: from [192.168.0.15] (unknown [90.210.122.167]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 5A2438C0081; Wed, 16 Jul 2014 14:00:32 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) In-Reply-To: <53C6BCD2.4020605@gmail.com> Date: Wed, 16 Jul 2014 19:00:28 +0100 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <408D7421-502D-4113-80AA-CC244412A60F@ajf.me> References: <53C6BCD2.4020605@gmail.com> To: Rowan Collins X-Mailer: Apple Mail (2.1878.6) Subject: Re: [PHP-DEV] Use of php_mt_rand() rather than php_rand() From: ajf@ajf.me (Andrea Faulds) On 16 Jul 2014, at 18:56, Rowan Collins wrote: > Do you propose making rand() a synonym for mt_rand()? If so, wouldn't = it make sense for srand() to become a synonym for mt_srand()? Whether that=92s what Yasuo proposes or not, I=92d like to see this. = It=92s rather silly that rand() isn=92t the proper one, and that = mt_rand() is. We could always rename rand() to legacy_rand() or = something. -- Andrea Faulds http://ajf.me/