Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87883 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51429 invoked from network); 23 Aug 2015 17:48:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Aug 2015 17:48:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.162 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.162 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.162] ([81.169.146.162:39076] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FA/84-27100-5670AD55 for ; Sun, 23 Aug 2015 13:48:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1440352098; l=1495; s=domk; d=kelunik.com; h=Content-Type:Cc:To:From:Subject:Date:References:In-Reply-To: MIME-Version; bh=e7o+FHP9o/TEx9b7t4tZ2l/7K9XJGn9hnDxMwkIXeXA=; b=TFqaVpfr1GzW7vqGYSs2/0RqZmHPZpmBBA384AV9ndiX7bEKrNgKMSHKiSsS/nQ8FHK GpseGvgYyynpdB+o8mHx/1sLZhQRNW3H3Z/+hEML2vGtBTlKEFhsMSrQjt8FSGkT1mPii ENoaQul1SboiWxryNiHTYyOu6uryroLKYfo= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLDup6E67mzuoNIBqDwsmo= X-RZG-CLASS-ID: mo00 Received: from mail-lb0-f182.google.com ([209.85.217.182]) by smtp.strato.de (RZmta 37.11 AUTH) with ESMTPSA id j01159r7NHmIcVX (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Sun, 23 Aug 2015 19:48:18 +0200 (CEST) Received: by lbbpu9 with SMTP id pu9so67905128lbb.3 for ; Sun, 23 Aug 2015 10:48:18 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.112.158.70 with SMTP id ws6mr16770053lbb.28.1440352098285; Sun, 23 Aug 2015 10:48:18 -0700 (PDT) Received: by 10.114.98.104 with HTTP; Sun, 23 Aug 2015 10:48:18 -0700 (PDT) In-Reply-To: <20150823165230.99CBE26052F@dd15934.kasserver.com> References: <20150823003346.A6E6B2617DA@dd15934.kasserver.com> <55D9F2AB.8040404@garfieldtech.com> <20150823165230.99CBE26052F@dd15934.kasserver.com> Date: Sun, 23 Aug 2015 19:48:18 +0200 Message-ID: To: Thomas Bley Cc: PHP Internals , Larry Garfield Content-Type: multipart/alternative; boundary=001a11c238862b830d051dfe1b9c Subject: Re: [PHP-DEV] [RFC] [Discuss] Random Functions Throwing Exceptions in PHP 7.0.0 From: me@kelunik.com (Niklas Keller) --001a11c238862b830d051dfe1b9c Content-Type: text/plain; charset=UTF-8 > > I guess people continue to use rand() or mt_rand() if they skip the > documentation. > Even frameworks which are advertised with 100% php7 compatibility use > mt_rand(). > There's nothing wrong with mt_rand() in non-security contexts, it's still there in PHP 7. If anyone is using mt_rand() in security related code in PHP 5, they're doing it wrong. It doesn't have anything to do with PHP 7 compatibility. Regards, Niklas --001a11c238862b830d051dfe1b9c--