Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78594 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94487 invoked from network); 3 Nov 2014 21:28:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Nov 2014 21:28:17 -0000 Authentication-Results: pb1.pair.com header.from=damz@damz.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=damz@damz.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain damz.org designates 209.85.217.175 as permitted sender) X-PHP-List-Original-Sender: damz@damz.org X-Host-Fingerprint: 209.85.217.175 mail-lb0-f175.google.com Received: from [209.85.217.175] ([209.85.217.175:60810] helo=mail-lb0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F5/43-10620-E63F7545 for ; Mon, 03 Nov 2014 16:28:15 -0500 Received: by mail-lb0-f175.google.com with SMTP id n15so2093293lbi.6 for ; Mon, 03 Nov 2014 13:28:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=damz.org; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TuAK95x0zFqKnSjgnRKqhvvVWhLgvQhJSSUu3bRCRE4=; b=bylDozHTcfcjoHloXYtLIcmPMS0vLVqr7FCSlBU3+OgsvTs0pBNhirFbi2A+QgX1jr m4zlHL5TylYmKP+a1jZENLPKxEALqTCvTgV26CRSoispvea7q0362o7h1LA6Ml3UeMZT ONPELR3AouldtKvm/z8XATcHwvSbfK3N6U/Kc= 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:cc:content-type; bh=TuAK95x0zFqKnSjgnRKqhvvVWhLgvQhJSSUu3bRCRE4=; b=hNG6E0/g5dnl40WlhJa1L7KogTf6jaN2ZdY0ffeQZgpISBlzks/ikgYwR5y8glFUtX kfIWzSWDUCpXrRxF2VJeKHJyP2QaYnA6+J9BBCwk79L9xENo1u2/v8gnu5zbYXeyU6+X OeHYy67lCkky5tXiyitfNGBUWYz/8mYiVYGh+fY3rgnmfhzhs6WWDh/vbN/X9pHeaffU SNyfICjQg63R8EUeWS/0LaE5u1e5rMMFlIJ7TLxGpgUzAG04AtflPBp12FS36IBwYuX7 w2UywFgRT8Gh3d+8BNJkN0Wcj1af5lURFSMlAaOAKZom5vbyYGmG0dQizkBa8Fm09I0r lNRQ== X-Gm-Message-State: ALoCoQngKic8dwHTZ87umCOHNGTNLXVzT2NqdCgJHmqa2+ADOOy+/6k1W6OwGqIgi7oNIWqO2O8s MIME-Version: 1.0 X-Received: by 10.112.87.162 with SMTP id az2mr53439841lbb.15.1415050091291; Mon, 03 Nov 2014 13:28:11 -0800 (PST) Received: by 10.25.12.200 with HTTP; Mon, 3 Nov 2014 13:28:11 -0800 (PST) X-Originating-IP: [88.142.167.194] In-Reply-To: <5457EF60.1020103@sugarcrm.com> References: <5457EF60.1020103@sugarcrm.com> Date: Mon, 3 Nov 2014 22:28:11 +0100 Message-ID: To: Stas Malyshev Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] [VOTE] Filtered unserialize() From: damz@damz.org (Damien Tournoud) On Mon, Nov 3, 2014 at 10:10 PM, Stas Malyshev wrote: > I'd like to put to vote my proposal about the filtered unserialize(): > > https://wiki.php.net/rfc/secure_unserialize Hi, Coming late to the discussion. Was there any discussion to make the new argument a callback instead? Pass it the fully-qualified class name, have it return true (the class should be loaded) or false (the class should not be loaded). Deprecate the `unserialize_callback_func` mechanism at the same time. Damien