Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111929 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 55738 invoked from network); 23 Sep 2020 14:40:07 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 23 Sep 2020 14:40:07 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0F9FD1804DA for ; Wed, 23 Sep 2020 06:50:15 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) (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 ; Wed, 23 Sep 2020 06:50:14 -0700 (PDT) Received: by mail-io1-f45.google.com with SMTP id d190so23759108iof.3 for ; Wed, 23 Sep 2020 06:50:14 -0700 (PDT) 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=RHMDE/2lj2ZhNhEt31Mq4PPM/jA3nbaLR5gYF6auCvQ=; b=YSB7NV0rpfxsfLTkON1CeRjgu4LSWKT2tb8tp5am2Xi5OnuICiPM/OQn8On9o0xmA8 R4WoxfH3zP42e+BeLRq2/G4rvBAPNi0fdQTzz3T1O8fZamism+hsRkfqlLgLmJFZOy2S vST9Mft5vDT+GGNl0n+sFdGnUuf+h/s+r9nH802q5KxT2t81cQekIa3UfD/RnbgxVXDk x5hM4X/6PxZxI+obZ/G5gQmNwNQFvHwOoqVW0oBFXdMwys6dW9N5QH/8/uug6luX1m4C iuQZXimG3gmtLDxiwy4AbpRd2oG5Hw+PVKQBT1ej1YTF3xm8CFbtyqJFXgqHnZZtGzbu D8DA== X-Gm-Message-State: AOAM531m72b2bVRShcDTOk7a7B8BQYfbU+LJjuDCP2LcUWHtSwE+wyce Cx16SMdw2tIERtuSKWBhpnziu90jEcfgaQ== X-Google-Smtp-Source: ABdhPJyAjctYWMIEr81Q53wH0BYjU2bIllhcGEhUijHS/tvB5ZqjVUqa3xd0xs9KQu93eMWOYElWiA== X-Received: by 2002:a05:6602:22ca:: with SMTP id e10mr7111131ioe.88.1600869013468; Wed, 23 Sep 2020 06:50:13 -0700 (PDT) Received: from mail-io1-f42.google.com (mail-io1-f42.google.com. [209.85.166.42]) by smtp.gmail.com with ESMTPSA id t12sm10951380ilh.18.2020.09.23.06.50.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Sep 2020 06:50:13 -0700 (PDT) Received: by mail-io1-f42.google.com with SMTP id r25so23794167ioj.0 for ; Wed, 23 Sep 2020 06:50:12 -0700 (PDT) X-Received: by 2002:a6b:ba89:: with SMTP id k131mr7306792iof.141.1600869012609; Wed, 23 Sep 2020 06:50:12 -0700 (PDT) MIME-Version: 1.0 References: <1cf5a130-b7ff-274e-77a9-0e196f18413f@php.net> In-Reply-To: Date: Wed, 23 Sep 2020 15:50:00 +0200 X-Gmail-Original-Message-ID: Message-ID: To: Michael Wallner Cc: PHP Internals Content-Type: multipart/alternative; boundary="000000000000d4232405affb5c01" Subject: Re: [PHP-DEV] Re: Array recursion detection in PHP 8 From: carusogabriel@php.net (Gabriel Caruso) --000000000000d4232405affb5c01 Content-Type: text/plain; charset="UTF-8" On Wed, Sep 23, 2020, 14:38 Michael Wallner wrote: > On 23/09/2020 14:07, Michael Wallner wrote: > > Hi, > > > > I wondered about PHP 8 detecting recursion earlier than used to and what > > caused that, respectively why it's caused. Compare the following output: > > > > https://3v4l.org/J7Niu > > Could it be that var_dump() was just adjusted to the output of print_r? > > https://3v4l.org/QVJS4 > > Then, sorry for the noise... ;) > > > -- > Regards, > Mike > It was changed via https://github.com/php/php-src/pull/5171. > --000000000000d4232405affb5c01--