Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104586 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 82352 invoked from network); 5 Mar 2019 15:47:36 -0000 Received: from unknown (HELO mail-io1-f43.google.com) (209.85.166.43) by pb1.pair.com with SMTP; 5 Mar 2019 15:47:36 -0000 Received: by mail-io1-f43.google.com with SMTP id x3so6887853ior.6 for ; Tue, 05 Mar 2019 04:35:44 -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=rzOLWEUe3+o1zpvwnFC2fOSoUqZ/V9xKRukzTCXYEF4=; b=qCE+7sednM7tWq6eGkjTeaNIb6OKtIV0/h9Slc7y1doAQaeXTffbEObHdNWhn5crCf WRVDQvOgAW93J701H2vYhi45Hr8sPzVvi7g7K8WdcKxEuwXs+FVL2v4jAsukA6t/FHWP CdOouD//jMJw7t4nv/nYcG3VPCYbSzfYWOdTo+oMJaJq5dZaBc0mHtgI6idVCIpGEKbn E+zcajYTQtRKfFOlSUJ1BJc9Ch3qp53DOsNQYUvurvs/VBhoi5CbmpE4OBlCLNcUcaE7 g3LJDURLryZg4qD+i+AD6O5moQ068pv96pABnkNiZlssC6WKxhavCPFF/nJNJhVH7xUx ji/g== 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=rzOLWEUe3+o1zpvwnFC2fOSoUqZ/V9xKRukzTCXYEF4=; b=SSX32vjQEXiyzhSDICOz9z4yh+kOrMSTZQI/tKwf7/at025IuuAumC8QA/C3y70tpR 7mHtKrCmXacXZJsmWEs/qc7lMok+a8x1C4LuCzYhYK3H4MuxVWx+sPWgqUHgq9JSUGQi MCgN4xvP370m5p3QaOSOxQO1kxEm5Uf0+yoG9ro4ePjug6JK8/nRePvD7KdruAQB3Cys jbEgWqU/ZVFB5g5bfyyjvGlMMYGKzFXCI02NNBRfqILsJ94GeQGYrEl8Ca2lGmrS8e0R 1lnWqoGDym/Atuu2ZAejeBA8HHRFtVHsjlzinkaD1QSsWflyLMprR+o3ZqenDU6C/+WA 6mKA== X-Gm-Message-State: APjAAAWqneo+yCwkTjwKstdMtg1FoBB7P0G0tp9c68TsCqzyUXrPxr2j ZOoWIvHPr/r8WPLwPoQR/ugjR0/FGZ8zA2jH5Kb++g== X-Google-Smtp-Source: APXvYqyG80ns8/FryHZGSW1HoKL4a1Sf0iE47E3G7T8kx69Q+BdTw8DicG8+YfGEYg5UDmHpHIx4PSyOpDRgb3URKj4= X-Received: by 2002:a5d:91d3:: with SMTP id k19mr12729363ior.258.1551789344214; Tue, 05 Mar 2019 04:35:44 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 5 Mar 2019 13:35:25 +0100 Message-ID: To: Sebastian Bergmann Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000a0d4ce0583581cea" Subject: Re: [PHP-DEV] [VOTE] New custom object serialization mechanism From: nikita.ppv@gmail.com (Nikita Popov) --000000000000a0d4ce0583581cea Content-Type: text/plain; charset="UTF-8" On Tue, Mar 5, 2019 at 1:18 PM Sebastian Bergmann wrote: > Am 01.03.2019 um 16:08 schrieb Nikita Popov: > > I have opened voting on > https://wiki.php.net/rfc/custom_object_serialization. > > The vote will be open until 2019-03-15. > > I voted "No" because this adds a third mechanism without a concrete plan > to phase out the existing two mechanisms. > Good concern. How do people feel about deprecating Serializable in 7.4 and removing in 8.0 (not as part of this RFC but a separate one)? The deprecation warning would only be thrown if Serializable is implemented but the class has no __serialize/__unserialize. The timeline would be a bit aggressive in that we'd be introducing the replacement in the same release as the deprecation, something I'd usually try to avoid. Nikita --000000000000a0d4ce0583581cea--