Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103330 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 34305 invoked from network); 18 Oct 2018 19:57:04 -0000 Received: from unknown (HELO mail-qt1-f175.google.com) (209.85.160.175) by pb1.pair.com with SMTP; 18 Oct 2018 19:57:04 -0000 Received: by mail-qt1-f175.google.com with SMTP id d8-v6so34851028qtk.13 for ; Thu, 18 Oct 2018 09:10:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uiXjaXsQjjdZvfPdpZvC8Bpt3VkAdRowKGEraryYntQ=; b=FbUQWPHmHvX45R2R2b01S0p8oS6iLzFVWTvgK4jhGeP292HwJj6hBtgVlUa96XedOQ dl2ejg9lK35iaxqKXiYiYrIVwEAtK2JQFvr3mwHVJS9RHQLUWVREjRr45T7XRBa8oD4H Iuln0aZr7Bq3DC6SLfzvCto+6bcJdUTkT5qlVBuyWXGBf/JJ+GWOOTp9wFkO4jvjWxXt OVoBd+GOZTTGvSLHADQyBAzZNICJOrJ/NiFPEui/cZRVxhG0y3k5xToeQqHKCSni010/ /CsJ78JQB0Y2o0k43IkMs90cb/il9sIaXQzO6g9tPc1GV4KrsqdIbwDMLka1psJF5HYX 1Udw== X-Gm-Message-State: ABuFfoiYkXzmc6yrnBkFHMZ2mkBgQ45EXOymS4w4usrWAJLP3Wx/kteQ 1Sr8brz2ts0o1BLBf1+5i79+fqTUvG2N4Ld5ddc/+Q== X-Google-Smtp-Source: ACcGV625B8cBCsmFtpEN7Gf++/CbqBfLB/aQKFOeGBCi+DTJdMNUezL8uNn2ANQaCyo/XVpD76gL75h7eReUa9EOppU= X-Received: by 2002:a0c:8bc1:: with SMTP id a1mr25451035qvc.115.1539879043782; Thu, 18 Oct 2018 09:10:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 18 Oct 2018 11:10:32 -0500 Message-ID: To: Rowan Collins Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Password Digest Registry From: pollita@php.net (Sara Golemon) On Thu, Oct 18, 2018 at 9:18 AM Sara Golemon wrote: > On Thu, Oct 18, 2018 at 9:16 AM Rowan Collins wrote: > > If so, we could keep BC by having a validate method in each handler, but only call it for hashes with the given prefix, and return an error if it returns false. > > > That would address this, *and* provide that more-general mechanism. +1 > I think you've also convinced me it's worth switching to string identifiers from the current integers, even with the minor BC break. I've updated the PR and RFC to reflect this.