Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103828 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 60965 invoked from network); 24 Jan 2019 17:31:21 -0000 Received: from unknown (HELO mail-io1-f42.google.com) (209.85.166.42) by pb1.pair.com with SMTP; 24 Jan 2019 17:31:21 -0000 Received: by mail-io1-f42.google.com with SMTP id x6so4795200ioa.9 for ; Thu, 24 Jan 2019 06:09:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bm3YsNsDRgTO/CsvdXbAywLLfKeQt3RK/dTPJ6HNTaU=; b=OUWFapz3uUM25DWjnQ0ZC6pNSDjNZpohcqI82xhHgXxnTJYWc85b3Z7ROWh+8Jdsmz VlXph11ZTLlz7H4l9kNdSJJ5ygPYtt6P5rycqwS9L363b4QvoEHWD0F4k2JMGhGr1rR8 wDE8/3A7X8PchAPJQmcfNPnPsmcoGoYaaVjzWABrr6ECyK99sXyTewdkimEz4ZGOKzWK BEjY7JoZPIw7Ffba+xGiB+c0rY4C5Xxdv4dZz5DBD5kWJpDP9vnjXcR8qekWlQNSZUva XD02ccrUOHjLQn8E1Zqsc0pw4s3DXLasRl7JG3etNY4ypw2bEkV/X4bykvRe/xxXp4sJ sAog== 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=bm3YsNsDRgTO/CsvdXbAywLLfKeQt3RK/dTPJ6HNTaU=; b=pbNId2p4v0OupSlyzjUPMVtskwroaBly8kI9mv6a4tpXbTsD5F5z+agUfKyzofmKNp +za8xyhvjBDBEFKcNLckqBlboFato/vCMPTrObgIRSkrSQHdJOw2T9Vk8yNwc+mNEMr/ fcgPdceFg3RNmQPWP3tF6iB6zdTGgi/ntKbW500/rsl3nnP6CCTs5uGgV8hOwaCEz4fH 6W3SIsxXSif7J5M+LuuIrdoiqQnO0YRoawwKlmigeHMl1bouZtp41QWSGcsyyoWKTbS6 EHkCuAiNrgw5H19EnnRIImrJEgQv1GE6q47jHmpiojQ8sZodMOqO4Ooez1AjX5PD3A8e cTKg== X-Gm-Message-State: AHQUAuYdYIto3RI1vIeCaA8q6wdOGOKQNBwLxrC5QbmWsT644eJToXdN nCL+LthSa0ITddXH6FMKncfpMzcmdDKr1ZP9AF8= X-Google-Smtp-Source: AHgI3IbDcdITGaSJcrzql26MeAZ3/yBnqDMroNae+EPgLiNawQ0kH6mfF4zZ7OsSQqVI+PNyylY4/wETe89ydjTRzrQ= X-Received: by 2002:a5d:8ac6:: with SMTP id e6mr3474656iot.235.1548338970148; Thu, 24 Jan 2019 06:09:30 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 24 Jan 2019 15:09:17 +0100 Message-ID: To: Nikita Popov Cc: PHP internals , Nicolas Grekas Content-Type: multipart/alternative; boundary="0000000000004ec6f7058034c234" Subject: Re: [PHP-DEV] [RFC] New custom object serialization mechanism From: ocramius@gmail.com (Marco Pivetta) --0000000000004ec6f7058034c234 Content-Type: text/plain; charset="UTF-8" Not really fussed about having another implicit interface for serialization (via magic methods). Wouldn't a new interface make this clear, explicit, and make the deprecation path easier (together with the migration)? Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Thu, Jan 24, 2019 at 1:27 PM Nikita Popov wrote: > Hi internals, > > I'd like to propose a new custom object serialization mechanism intended to > replace the broken Serializable interface: > > https://wiki.php.net/rfc/custom_object_serialization > > This was already previously discussed in > https://externals.io/message/98834, > this just brings it into RFC form. The latest motivation for this is > https://bugs.php.net/bug.php?id=77302, a compatibility issue in 7.3 > affecting Symfony, caused by Serializable. We can't fix Serializable, but > we can at least make sure that a working alternative exists. > > Regards, > Nikita > --0000000000004ec6f7058034c234--