Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104169 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 83734 invoked from network); 5 Feb 2019 13:16:15 -0000 Received: from unknown (HELO poczta.brzuchalski.com) (188.165.245.118) by pb1.pair.com with SMTP; 5 Feb 2019 13:16:15 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by poczta.brzuchalski.com (Postfix) with ESMTP id 7FE1A298423B for ; Tue, 5 Feb 2019 10:57:21 +0100 (CET) Received: from poczta.brzuchalski.com ([127.0.0.1]) by localhost (poczta.brzuchalski.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0i9xKuRPYUJT for ; Tue, 5 Feb 2019 10:57:18 +0100 (CET) Received: from mail-lj1-f172.google.com (unknown [209.85.208.172]) by poczta.brzuchalski.com (Postfix) with ESMTPSA id 0790A2984239 for ; Tue, 5 Feb 2019 10:57:18 +0100 (CET) Received: by mail-lj1-f172.google.com with SMTP id v15-v6so2295630ljh.13 for ; Tue, 05 Feb 2019 01:57:17 -0800 (PST) X-Gm-Message-State: AHQUAuZVSvzzs6PjhAxPdq46R5CeENd4WMmwRrq9cvCD/KaNEtpPmbd8 RhtNRKngQNs+GjhUHvKkIV6gjXxhvpqd4y/2nXs= X-Google-Smtp-Source: AHgI3IaJ7qmZniHPUdG8Vh+RiixXDC3A7DRBvRo2KtJy9QEF++KlW//jVJ7dY6UwutzUw/YzPRjX7ktVrwEw+P0aNSo= X-Received: by 2002:a2e:3308:: with SMTP id d8-v6mr2380335ljc.38.1549360637473; Tue, 05 Feb 2019 01:57:17 -0800 (PST) MIME-Version: 1.0 References: <8287536.rOMEj9xvlM@mcmic-probook> In-Reply-To: <8287536.rOMEj9xvlM@mcmic-probook> Date: Tue, 5 Feb 2019 10:57:01 +0100 X-Gmail-Original-Message-ID: Message-ID: To: =?UTF-8?Q?C=C3=B4me_Chilliet?= Cc: PHP Internals List Content-Type: multipart/alternative; boundary="0000000000006cfa08058122a291" Subject: Re: [PHP-DEV] [VOTE] Making stdClass iterable From: michal@brzuchalski.com (=?UTF-8?Q?Micha=C5=82_Brzuchalski?=) --0000000000006cfa08058122a291 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable wt., 5 lut 2019 o 10:24 C=C3=B4me Chilliet napisa=C5=82= (a): > Hello, > > What is the usecase for this? > > The RFC does not explain what it would be useful for. > json_decode already provides an option for getting arrays instead of > objects. > > All in all the RFC does not provide enough information. As I understand i= t > if stdClass is Traversable then all objects are, no? > > stdClass is not a super class so none of the objects in core neither userland are derived from stdClass > C=C3=B4me > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --=20 regards / pozdrawiam, -- Micha=C5=82 Brzuchalski about.me/brzuchal brzuchalski.com --0000000000006cfa08058122a291--