Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96403 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58455 invoked from network); 18 Oct 2016 05:15:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Oct 2016 05:15:46 -0000 Authentication-Results: pb1.pair.com header.from=daniel@honestempire.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=daniel@honestempire.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain honestempire.com designates 66.111.4.25 as permitted sender) X-PHP-List-Original-Sender: daniel@honestempire.com X-Host-Fingerprint: 66.111.4.25 out1-smtp.messagingengine.com Received: from [66.111.4.25] ([66.111.4.25:58587] helo=out1-smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 70/C1-40890-000B5085 for ; Tue, 18 Oct 2016 01:15:44 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C4892206CE for ; Tue, 18 Oct 2016 01:15:41 -0400 (EDT) Received: from web1 ([10.202.2.211]) by compute4.internal (MEProxy); Tue, 18 Oct 2016 01:15:41 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=honestempire.com; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=kxhyi748VYg8EBq2g9mEmFt0Bh4=; b=w5Uk+n Otr97XrSbAL+1bgsrE8opHky/agOnNi3pHWFt+yOBIgSx9Y5Vn2C0/27jt4cgbcK gGD6xiN9H+/00LPXv045id5eJAj7dQ3NmS2gZUHMjN9xASKiiTpVhjLJwgZR56pU 0f/B60PXLmm3CtBiAfoTxW3H8IORtq2vJMEJc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=kxhyi748VYg8EBq 2g9mEmFt0Bh4=; b=BNZkgXNY51jG2WDkQp5qIxyttxHd/V50Ogq5lqQchYQX2De zayUcDXKRE09xgcrEMcpEzdS3V9xyBEtn7MOMY3yoS8WmE0i5DgbDXoUCkp/IgIj f9QlKeXBFcbGsvZSuqzMPx0jNuvLltsXqNof5jVVOFYNUPfCY8WtEvT7jjUM= Received: by mailuser.nyi.internal (Postfix, from userid 99) id 8A2C29E37B; Tue, 18 Oct 2016 01:15:41 -0400 (EDT) Message-ID: <1476767741.1032218.759226577.108F3E58@webmail.messagingengine.com> X-Sasl-Enc: 5xEjRPn16vS76VbHLSZ6Mn4AChKRpgZBs97yKcn4asCT 1476767741 To: internals@lists.php.net MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-cdbff290 In-Reply-To: References: Date: Tue, 18 Oct 2016 06:15:41 +0100 Subject: Re: [PHP-DEV] [RFC] OpenSSL BigNum support From: daniel@honestempire.com (Daniel Morris) I realise this is only exposing functionality already available with OpenSSL but is it worth adding tests that cover some arbitrary precision arithmetic? The tests at the moment cover integers that PHP already handles natively without requiring either GMP or BCMath. There's usage of zend_parse_parameters_throw, is it possible to change this to use the fast parameter parsing API within PHP_METHOD or is that reserved only for PHP_FUNCTION at the moment?