Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91682 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16566 invoked from network); 15 Mar 2016 18:17:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2016 18:17:44 -0000 Authentication-Results: pb1.pair.com header.from=scott@paragonie.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=scott@paragonie.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain paragonie.com designates 209.85.218.52 as permitted sender) X-PHP-List-Original-Sender: scott@paragonie.com X-Host-Fingerprint: 209.85.218.52 mail-oi0-f52.google.com Received: from [209.85.218.52] ([209.85.218.52:35667] helo=mail-oi0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 57/23-00207-5C158E65 for ; Tue, 15 Mar 2016 13:17:42 -0500 Received: by mail-oi0-f52.google.com with SMTP id c203so19813656oia.2 for ; Tue, 15 Mar 2016 11:17:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragonie-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=qkYf4d/Ej8o22t6i3tujmFw98edFPrQF6E01c0M5vE0=; b=JEJybFaN6zHwW/DqY6e4afFrUvzjmO0YelpLsQm01ojoRRiLRV+P3GnkuTODLuL/ew O21n5TyjnnUQCJVxHiXxZ3dazTzrqFgg0A38fuKrMAe/27Xoij68Zjrvqa5a+N7lHdpZ IaU0nbw4TnA8hMufqNUlvY/OW/onabQ+mE5IcSzicQs45bSAdMKwVekKhVB8UqMcKFoq Ay5gcyGiDLUu807VHUB08AKiPeorccmxcF+3yDJviZyuUwuZaWn1jxZD9qlpI7YXHc3d YnUwVwPoiwiXjL4YdbCQx8Z5WJ2CGUrcSM0qrnlB+ggW2Tr5UkE1a/dC0Jl9Q3w5C96U vgZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=qkYf4d/Ej8o22t6i3tujmFw98edFPrQF6E01c0M5vE0=; b=D2JsZ06cMIV1TVHYUeXBrw3XCc2Gbvyad0BZiYouRmXDaH7J3pEKBXlkbNCJ2xOh91 tyNdEPckDFAK1oSbfkF40uomjcznAC4xjisl68nvKsQ2ynJbdDo0UjxAIojjfcTP3CRC 39CZEJzGA0eHIoIQJBQlsoEQAP8jeSj+YcO7h9akIyGvLbSFzMepnvfecjqqR/zBhzJY jNYonqSuVR5pjPdt609/7e01AOaZn6iqLVdSag8nqDqzwuOycDrkYrKqEEslk/G+fo4T ERUZrws09OVPtFvJ98sfX7iFdLYLlEltT287b9X7n8SF4CxBU4kEuMUvnwPwKJ+nLEJ8 MA4Q== X-Gm-Message-State: AD7BkJKCPTzX2A6Ia7HbvcQx+Irxs2nzP0ft+Vvb3N+oMP9AZVuvVomMDEAPfdA1u4QQVGg9qENYjb0qkUuY7A== MIME-Version: 1.0 X-Received: by 10.202.50.5 with SMTP id y5mr15720141oiy.54.1458065858266; Tue, 15 Mar 2016 11:17:38 -0700 (PDT) Received: by 10.157.14.47 with HTTP; Tue, 15 Mar 2016 11:17:38 -0700 (PDT) In-Reply-To: <56E84D8D.6040706@fleshgrinder.com> References: <56E84D8D.6040706@fleshgrinder.com> Date: Tue, 15 Mar 2016 14:17:38 -0400 Message-ID: To: PHP Internals Content-Type: multipart/alternative; boundary=001a113cf1e08acfea052e1a69c0 Subject: Re: [PHP-DEV] [RFC] Libsodium (bump) From: scott@paragonie.com (Scott Arciszewski) --001a113cf1e08acfea052e1a69c0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Mar 15, 2016 at 1:59 PM, Fleshgrinder wrote: > On 3/15/2016 6:40 PM, Scott Arciszewski wrote: > > Link to RFC: https://wiki.php.net/rfc/libsodium > > > > I'd like to bump the RFC to make Libsodium a core extension, as per > > Ferenc's suggestion on the mcrypt RFC. > > > > Question: If this extension is adopted, which syntax would you prefer? > > > > \Sodium\func() > > Sodium::func() > > sodium_func() > > > > As it currently stands, the PHP extension in PECL uses a namespace + > > function format. > > > > Scott Arciszewski > > Chief Development Officer > > Paragon Initiative Enterprises > > > > The third option (*sodium_func()*) as per coding standard: > > https://github.com/php/php-src/blob/master/CODING_STANDARDS#L110-L125 > > I do not think that it makes sense to provide a static class for this > functionality, correct me if I am wrong. > > It definitely makes no sense to namespace the stuff if you want it in > core and it violate the coding standards (for a good reason). > > -- > Richard "Fleshgrinder" Fussenegger > > =E2=80=8BOkay, I missed that detail somehow.=E2=80=8B =E2=80=8BI talked with Frank and the current plan of action as I understand= it is: 1. Finish libsodium 1.0.9 2. Finish libsodium-php 1.0.3 3. Create a branch for this RFC that conforms to the coding standards 4. If the RFC passes, send a pull request to add the standards-conforming version of the sodium PHP extension to core I'll hold off on opening the vote until there's something concrete and meaningful for everyone to test. Are there any other concerns, questions, comments, etc. that haven't already been addressed in the previous thread? =E2=80=8B Scott Arciszewski Chief Development Officer Paragon Initiative Enterprises =E2=80=8B --001a113cf1e08acfea052e1a69c0--