Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98184 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1293 invoked from network); 4 Feb 2017 16:16:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2017 16:16:12 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.177 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.161.177 mail-yw0-f177.google.com Received: from [209.85.161.177] ([209.85.161.177:34382] helo=mail-yw0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AA/15-38491-A4EF5985 for ; Sat, 04 Feb 2017 11:16:11 -0500 Received: by mail-yw0-f177.google.com with SMTP id w75so28727681ywg.1 for ; Sat, 04 Feb 2017 08:16:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=r/+MtWRaL4PAyXupqPfSHrtsLVXQDjnrTnnvgXaGP/U=; b=qlW5PRkxWmHy0YXMXaizpDZd9a/BW1re8wcG2lr6C7DVgjTw9E9FjnVUyKw5IYaXYK 8CoEoE/YdLkDaQu7Eruwv5xKeRrYIehBEcrpGGXtZpNJ2Ec3Aq2/nx149QLDUN9DHssO TuJs4Jd2FS99614E2z7vnGlc7FFrizzh8+HfQ9ohpELlsSVH1W4ayssopWdNVClvDTUj xIDozL1EFT/Y4KjXXy+x4kmf+qU0DESNLoWDHRl789IfykCJVkTqnAVk+vLEyTxjPAE6 wUw8ZF5rYTtU6T6B0zc5Wsx/dKpbcXgoAWCWn0J5442rmm64lO3GYL0jj6bX2YEyvQYz zVTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=r/+MtWRaL4PAyXupqPfSHrtsLVXQDjnrTnnvgXaGP/U=; b=T86+nOWXCN8eRT3Dm5sDKBDIo8hyjUkJLPuK4EfWspuPQORR25/yIxRKCu/sS/hxZz gsAFAd0ujmg4i+owXNTdY0XLMlvy1NRk/QlDz6VqAOc9SXcrc8MhC7yCjHSEkgVrziXw +rk0h0Y+7up8zYdzLmyDLivUbW3I3pibtz9jSh3OHgfWlMpNAq9G+AfyCGEBeAcqMEcI M/9FRGQKt7LLckmD1Tio1z+jYSbD6gxxtRM4su4men+2G+HKoxE1+G2U0iWgy1oVpOUs ehqL1LRWII3PC1e8MOQgBcgMN+wyjiPrECd2BE/5Q5zPkKPadoP+2vTEXGATRkbVPzfq U0ww== X-Gm-Message-State: AIkVDXKQz1e7ijWwW5C7FS1zWYu+0jv56xL6arDJ/twRbAWUhUR6PxMpKdIqknROtwmHYLEjS4pLzoLxWIPU/w== X-Received: by 10.129.62.6 with SMTP id l6mr1587400ywa.271.1486224966931; Sat, 04 Feb 2017 08:16:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.80.215 with HTTP; Sat, 4 Feb 2017 08:16:06 -0800 (PST) In-Reply-To: References: Date: Sat, 4 Feb 2017 17:16:06 +0100 Message-ID: To: Scott Arciszewski Cc: PHP Internals Content-Type: multipart/alternative; boundary=f403045f29d835dc140547b6b75b Subject: Re: [PHP-DEV] [RFC] [VOTE] Libsodium as a core extension in PHP 7.2 From: nikita.ppv@gmail.com (Nikita Popov) --f403045f29d835dc140547b6b75b Content-Type: text/plain; charset=UTF-8 On Fri, Feb 3, 2017 at 9:44 PM, Scott Arciszewski wrote: > I've opened the vote for the libsodium RFC. > > https://wiki.php.net/rfc/libsodium > > See https://externals.io/thread/626 for the previous discussion topics. > > The vote closes at 21:00 UTC (4 PM Eastern Time) next Friday. > I just took a very quick look at the extension source. One question: Right now it throws recoverable fatal errors all over the place. Why doesn't it use exceptions instead? We replaced (to the most part) use of recoverable fatals with exceptions in PHP 7 and reintroducing them in this quantity would be highly dubious to me. Also a question on maintenance: If this extension is bundled, will the source compatibility with PHP 5 be removed, or do you plan on keeping a single code-base for the bundled extension and PECL, with support for PHP 5? None of the current bundled extensions do this, as it is a significant maintenance burden. Thanks, Nikita --f403045f29d835dc140547b6b75b--