Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113322 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 90120 invoked from network); 27 Feb 2021 21:27:47 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 27 Feb 2021 21:27:47 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2E8A51804D1 for ; Sat, 27 Feb 2021 13:17:23 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 ; Sat, 27 Feb 2021 13:17:22 -0800 (PST) Received: by mail-lf1-f44.google.com with SMTP id z11so19239233lfb.9 for ; Sat, 27 Feb 2021 13:17:22 -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=66lIVxgcNzsaM+4pQUPbVZcqOWIlGBp60o1t0RjSAoo=; b=GePwvbLLI28EzB3D7FunZPw/c0yKRxzMAhCW3ZrGXU8A88+BUUdHcOcD4wq/aayUPg 5yS5LGCIiiNhajD9fIjRKYuYo6UJ5f5OYYWWW/UAUmYmAF+OZoNq5QYCDV4HImYIgnsS dzgOE3MljefRSLWjbCY8CRvYOd/ZeslY6dLtk8hkJR7AwqYhbh9snbuNsZVncD1EVmlM WT/5FEFKuzEgUg+6SEhZosL8idnRK7dVIlcd+sIsKeR6kZNAGbBhYmext/Ze4jIjcHs5 v8OXYcHTU0knsZX0x+itt82viEQD3p1SihkmETtMeQnkbhLoEDTRdoLnep43FwI13zEf kNIQ== 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=66lIVxgcNzsaM+4pQUPbVZcqOWIlGBp60o1t0RjSAoo=; b=J7x9oeeT8Ql3Kzjn7YTBMWtj28wH8Ne8+2qRtOXrAUAjWcBbwRvAc4h6XOzIKbaqeb iy1mjvBjfUWO4httPhQBuayE3gS9ewy3luiWadeBS11qXlHN60P6vr7UTimjjBcGZ9rP z0E7u3+HKxDcHZ7KsXzMPBqZVP0Uyx9ImVIAx3DiotIDf0jVuQjmblZmSDhMDu/xvJIV h/eSixYFWAuffuI3Q5FOso9pucderzmfTHQAEZAkd77OqpC6HMrFZBaa/z1NRNwUKcJW WN+UL3/B8e3jMRdvV1BDSpwbg4otaIbzYeI+cP55fto0avKCa9VNDT8GmBBj9dnYmCbw o5+Q== X-Gm-Message-State: AOAM532FcYkxQMPTn0t7OYw0qmnY28VEW3+RtorHOZRP/P0yRFoAkcyE 8DNbRfZq600o7cqk6a5dye1FKbBTyEG8i8kakvdG61RQtgE= X-Google-Smtp-Source: ABdhPJwWQ33IPKk+SepPjQOOIP84yowAhi+4mTfDPQa+GomwfJ2x5D6Ob7zIXnhEsQOFkOqnJToGMkJMotOgOnsNBmc= X-Received: by 2002:ac2:5df6:: with SMTP id z22mr5401989lfq.485.1614460640420; Sat, 27 Feb 2021 13:17:20 -0800 (PST) MIME-Version: 1.0 References: <62243527-96EC-4234-AD50-EDB6333628D5@gmail.com> <9bb410ab-0306-5180-82d3-7ee28d5fcd60@gmail.com> In-Reply-To: <9bb410ab-0306-5180-82d3-7ee28d5fcd60@gmail.com> Date: Sat, 27 Feb 2021 22:17:04 +0100 Message-ID: To: Rowan Tommins Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000f9ea1205bc57e85a" Subject: Re: [PHP-DEV] Deprecate debug_zval_dump? From: nikita.ppv@gmail.com (Nikita Popov) --000000000000f9ea1205bc57e85a Content-Type: text/plain; charset="UTF-8" On Sat, Feb 27, 2021 at 10:12 PM Rowan Tommins wrote: > On 27/02/2021 20:05, Nikita Popov wrote: > > If we additionally change it to explicitly print reference wrappers, I > > believe that debug_zval_dump() will produce a faithful representation. > > > Is that even possible without either accepting parameters by reference, > or taking a variable name like the XDebug version does? > The root value cannot be a reference, but nested values can be. Nikita --000000000000f9ea1205bc57e85a--