Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72479 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33426 invoked from network); 11 Feb 2014 21:45:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Feb 2014 21:45:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=cryptocompress@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cryptocompress@googlemail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 74.125.83.49 as permitted sender) X-PHP-List-Original-Sender: cryptocompress@googlemail.com X-Host-Fingerprint: 74.125.83.49 mail-ee0-f49.google.com Received: from [74.125.83.49] ([74.125.83.49:51923] helo=mail-ee0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BD/DE-62230-CD99AF25 for ; Tue, 11 Feb 2014 16:45:00 -0500 Received: by mail-ee0-f49.google.com with SMTP id d17so3899926eek.22 for ; Tue, 11 Feb 2014 13:44:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=RKY93z6q2CIXkHvIZGgKQzOC3mGvsYybMUJm0QuPhUI=; b=y6nEb8DkOW9O4LZp5HWsZZ/l18jcusnyHACGYC5SARZUpb/Pbl0ivlsFizJMxPuhL4 8YVLP+TPf+fVnoZHzYg8q+nNjzf2H9cvqRjV+Uy5IwDI6jKqC9pvTunkvUzYc+j7N7tq 4iuQslIxycr6PNq5Rjiu20T1Tadgj3ngaNjrM1NLOwP2Dqe7utOQBPUBJHx3mjzPBJoq 9QGgjAxy9ula9Fj+k3YAasqx6UzYDexgMD7OaVf1gLaNOZ9JdC2p/cZHwOek5M+A0RNC AgkFvgcYRnjDH7ME4dLHTBZiwSjoYbBzpXNzt9kjj/h+hahj8sApOQueyv1o30xxZ9bY QPIg== X-Received: by 10.15.94.135 with SMTP id bb7mr8903957eeb.48.1392155097580; Tue, 11 Feb 2014 13:44:57 -0800 (PST) Received: from [192.168.1.115] (mnch-5d8774be.pool.mediaWays.net. [93.135.116.190]) by mx.google.com with ESMTPSA id x2sm72513763eeo.8.2014.02.11.13.44.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Feb 2014 13:44:56 -0800 (PST) Message-ID: <52FA99C4.5080006@googlemail.com> Date: Tue, 11 Feb 2014 22:44:36 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: =?UTF-8?B?Sm9oYW5uZXMgU2NobMO8dGVy?= CC: Derick Rethans , PHP Developers Mailing List References: <52F00437.7010903@googlemail.com> <52FA71FE.8060808@googlemail.com> <1392151967.3990.11.camel@guybrush> <52FA90B3.5040205@googlemail.com> <1392153156.3990.13.camel@guybrush> In-Reply-To: <1392153156.3990.13.camel@guybrush> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] [RFC] [VOTE] __debugInfo() From: cryptocompress@googlemail.com (Crypto Compress) Am 11.02.2014 22:12, schrieb Johannes Schlüter: > On Tue, 2014-02-11 at 22:05 +0100, Crypto Compress wrote: >>> You can still see "the truth" via reflection and by using a proper debugger (like xdebug, I assume) >>> >> Reflection is mentioned in RFC. Sadly it does not solve the problem. >> Replaced output is *not* bypassable without external tools >> (xdebug/phpdbg). If i'am wrong correct me. > ReflectionObject provides access to an object and its properties. This > is not going to change in case this is accepted. It will be extended toe > able to *also* provide this debug info, this doesn't affect > ReflectionObject::getProperty() etc., though. > > johannes > > Sorry! We talk at cross purposes: - reflection is not changed - (array)$this is possible This is currently not needed nor related to var_dump(). This RFC changes var_dump/print_r output without a bypass option. Hacks are needed to get current behavior back. Indeed it may be possible to replace var_dump/print_r with something. This discussion is about this issue.