Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112454 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 44730 invoked from network); 7 Dec 2020 14:42:31 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 7 Dec 2020 14:42:31 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 193C81804D1 for ; Mon, 7 Dec 2020 06:11:28 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 7 Dec 2020 06:11:27 -0800 (PST) Received: by mail-lf1-f50.google.com with SMTP id r24so18254155lfm.8 for ; Mon, 07 Dec 2020 06:11:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Yx5jTvSl6ckHKMBz2k0bFgI5Q9GKSiylu5ntUZs0kDM=; b=OWYkKt0q30Vv/tzOinh0fj/1C715LJcEz64PL/GHhKFu5JzngaH13jgSptn/DaFsBr nZci/ilWHGyIbW1swtgzciUSgr5vTYxXWapU5WL2BdrFkJfn1HgVdL58wzvkGHMg5OdV DgHiEJu+gprypWc0XLXHy+eLXitPmmJVAd+ZJatB/72ncuAoEYzt38aR6E4jqhwVl01E pqqASE2skNGA8m+IDIwvwUe0zG+bx2frWoy7IMoK6MliA3r23kmvjzxMXrvqnxnQaw+w 0gAyqif3VOF2ydcHC/g0wKJ7wp4Zn3jrDUfesuPVsf97VVW1hEaGL15GJBKL+lh2BV33 wsjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Yx5jTvSl6ckHKMBz2k0bFgI5Q9GKSiylu5ntUZs0kDM=; b=oWhptQU6YEHmdjL4JrIPQpf4rWZxKUpyMrneM+uWspxTewXyVSp0vZ8KHi7qng87xJ MOUoavb/9YAF2GTolRYjXRPQdrXz1FrquNPhEGCQj6NKaneMaHpZhYQThSrKZzpLLuVG MjWCLSymcppr7r/BgLyKIaC8898rGSCC12rtqkPp6sS8uLp+XxE9PoQwF8hgCGY5zoS3 FpebzN3m/FFSvWFCGYBnsCb2X4zRtuewZeca4eJlRg29NLYXwjiF5EjHzp1WMDgPAu00 BQR8EjZN4INW03QKpQs/8h/PUAgztbWJaBdTPk8SpAgHjNQmDI59NBYrjGirzJ6NWQrG iVAw== X-Gm-Message-State: AOAM53003LLI2n0Vu0ZvGWssKh8MSnnEY8gn3D2Q5q1589Ni+LYYk729 dbnxnEi33jkVYl2VRsTYWDzpkylly7clsdMmh4gavszFkCDaOQ== X-Google-Smtp-Source: ABdhPJwSdmDi76I6HGSDAzK04Y5lW8BsCajcMmD7L5eaTBU4ve6tlvX9ZLYAon80OguSH+ro0QCimTH+c6jd10Q9Tl8= X-Received: by 2002:a19:f605:: with SMTP id x5mr9152439lfe.290.1607350282816; Mon, 07 Dec 2020 06:11:22 -0800 (PST) MIME-Version: 1.0 Date: Mon, 7 Dec 2020 15:11:07 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000a310fe05b5e066a5" Subject: [RFC] Phasing out Serializable From: nikita.ppv@gmail.com (Nikita Popov) --000000000000a310fe05b5e066a5 Content-Type: text/plain; charset="UTF-8" Hi internals, Picking up a loose thread: https://wiki.php.net/rfc/custom_object_serialization introduced a replacement for Serializable in PHP 7.4, so it's time to think about deprecating and removing the old mechanism: https://wiki.php.net/rfc/phase_out_serializable This RFC follows a rather conversative approach. In PHP 8.1 there will be a deprecation warning if Serializable is implemented without also implementing __serialize() and __unserialize(). In PHP 9.0, support for Serializable is dropped internally, and only the interface retained. In PHP 10.0 the interface is dropped as well. Regards, Nikita --000000000000a310fe05b5e066a5--