Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107398 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 47590 invoked from network); 7 Oct 2019 13:42:34 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 7 Oct 2019 13:42:34 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id 77EAB2C044B for ; Mon, 7 Oct 2019 04:24:41 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Virus: No Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Mon, 7 Oct 2019 04:24:41 -0700 (PDT) Received: by mail-io1-xd30.google.com with SMTP id n26so27568197ioj.8 for ; Mon, 07 Oct 2019 04:24:41 -0700 (PDT) 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=GVzY996inST7mbJYwq+40U08U4FznWxH06uRjnnodeE=; b=QzjUz3NVjxX08c4fVdU3gbVbOYsXXKTWcWhFtu68rrMZ5brjRlIZkrY9dBkUpEz4gz jIXZ4VRxZ1iUlBiHUN5PzIrnhiq35qv/REzW3Ovy2/ETEm8qiTthfPlaOvvUw9gnzUIu s3Xl+750ClTjxGbIWkDiV4001RG8JtELPxC+LM8RDhWgwnKXXhfNWr/T4mZ5Bujz8+yW w6PpJifaKLusUpn/URBhXuE972WwXLSvGy0zhQBqElt4nxz1YR7RRXbISAcesV1BA6qX MB+mDEb8yvhYynFu0VEfmLwcohZW2L3/uO0E6AoTROXF4hyn0oEvunW1qC7oqKypLumu 5ldA== 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=GVzY996inST7mbJYwq+40U08U4FznWxH06uRjnnodeE=; b=ozwMTKo0GR3bLzFmotxfQQXUdLycV9LYi2uteo1ws7fB92hIekBbNqJZRYBA2Luk4P IhuuAdA2SN5tQvRhgGQcZ6LdZF8FVQLYIO/l3GoDoXU4mpAyYwWKZKSpaNyhYK1mNVcK mndp1xgpYQhOU7KvDtjexV14DKwVV1lyGCWLUBkXM61zePJCAKA2niCQhFh3jlsMYIVr QS281tr/+1Hpgpoq9Z4bW9ZD+IUznt4kPRrqktkp1Mseet0gZYs3YEHI0/4wS9PP4mKY 2SyondZ9/x0zUJlujU3kff8nGcRpF4NLv+KxM9/XJwn6nMHsuFmffqt2EgPZouX9jb9x Q2LA== X-Gm-Message-State: APjAAAXqw6A6KQ/ID5/hojuKaRI8ZHIn9bLZMf4yo8NZgoAuqznluZuX Si03KvlmbatDrfurwn+DOxjd6tnzeg/5Hnu/I5ASLq+f X-Google-Smtp-Source: APXvYqys2cWwfEZb0XByUK3GgEzZFpwFviiCn6RwTZR4ttGobX+w2FuBpydU/zpYG5whIaKz1+WBQeU1VGmkgx5RPcY= X-Received: by 2002:a92:4648:: with SMTP id t69mr12586830ila.282.1570447480077; Mon, 07 Oct 2019 04:24:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 7 Oct 2019 13:24:23 +0200 Message-ID: To: =?UTF-8?Q?Micha=C5=82_Brzuchalski?= Cc: PHP Internals List Content-Type: multipart/alternative; boundary="0000000000003043d40594504cd1" X-Envelope-From: Subject: Re: [PHP-DEV] Re: [VOTE] Object Initializer From: ocramius@gmail.com (Marco Pivetta) --0000000000003043d40594504cd1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hey Michal, Overall, I like the idea of simplifying constructors. I downvoted the RFC because: * I don't like/want co-existence of ctor and initializer * `__set` interactions seem to also be a lot of non-trivial added complexity. If this was a short-hand for a constructor replacement (exposed in the same way downstream and in reflection) I'd totally be for it, but as it is it blurs the entire class definition by a lot, making things very difficult to anything reflection-ish based. On Mon, Oct 7, 2019, 13:18 Micha=C5=82 Brzuchalski wrote: > Hi all, > > A follow-up note. > There is no implementation of a patch yet. > > BR, > Micha=C5=82 Brzuchalski > > pon., 7 pa=C5=BA 2019 o 13:00 Micha=C5=82 Brzuchalski > napisa=C5=82(a): > > > Hi all, > > > > the discussion period was long and discussion I think quite > comprehensive. > > > > The RFC is at https://wiki.php.net/rfc/object-initializer and is up for > > voting now. > > The voting will take 2 weeks from 11:00 UTC 7th till 11:00 UTC 21st of > > October 2019. > > > > BR, > > Micha=C5=82 Brzuchalski > > > > > -- > regards / pozdrawiam, > -- > Micha=C5=82 Brzuchalski > about.me/brzuchal > brzuchalski.com > --0000000000003043d40594504cd1--