Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87591 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96299 invoked from network); 4 Aug 2015 00:51:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Aug 2015 00:51:07 -0000 Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.17.20 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.17.20 mout.gmx.net Received: from [212.227.17.20] ([212.227.17.20:61765] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5F/F2-11948-97C00C55 for ; Mon, 03 Aug 2015 20:51:06 -0400 Received: from [192.168.0.100] ([95.89.139.132]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MXEs5-1ZJW8R1oRh-00WET5; Tue, 04 Aug 2015 02:51:02 +0200 Message-ID: <55C00C78.5030109@gmx.de> Date: Tue, 04 Aug 2015 02:51:04 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Rowan Collins , internals@lists.php.net References: <55B2E975.50607@gmail.com> <55B377D5.8060602@gmx.de> <55B39A54.3030502@gmail.com> In-Reply-To: <55B39A54.3030502@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:llZB3Pf6amrpbvIyyp1g4IVSGgzCrAANYnNZxIAYy71+Y3VgfC5 rQl8tssR7V8daN6wT2+6Wqyj8lh4L9rQwpOpFwhHWr0ayklvznUPhnf+tmvZ7RycPDJd0Vq pkx/Wi20nzj5bmQdzpB3zBNOhNOtNqMC4hydO/cj9OsHd8PBiIDRtHyc+WAeea5tbMO8IiG K3U/IV+C/S+lDT3ORiM8w== X-UI-Out-Filterresults: notjunk:1;V01:K0:IMZfIHibDoA=:x5j1ooPY6laU2gJp3aswCP NsUc1XUDMzYXvf0zLhcJkcEkiWPs705Zi/CNywM4iw1ky5R8awGzhj+vgaD+XXJiDMngK3KyC joBFAbKxN//1VQKfkpeEPdk9ZdI0V377yYvvbPY8LJsMz4p9VFv61rxEOusvZM9s+xI8iYzeM uPx7Yw+ZxW9YpH8UMjmbvTGujU7kZUOCmchkV04hNYwNUv/6rMfM8I5TMxo5uZrknzpNXnwWY ETAiklhduKw1Q/lK5D0vGyu9tL1GUVfUBhHRuQkaCVxkjygx8slHvJ40qJZKak0fZmA1BeHQT tgJntqxYjXa+JfNJkg0UEzhw1yYDQSIodF7wnY3rIIcRua4Ew+XT1YQurzNWEGj/wfq/laWQ/ B5NGqWBkmgZyum0rLaEybQoDgUZEZKYzoqgdIkDLtFwhnQxtgx6yIn88xuzkm9mY2etw2Ymxt MeJMXdlw106CsA8TK24EwIQy28IOtzB/1AEZ1eIQ6QqVjd0tuJPrpaFhhYr8oQkWaqndfWP/y CpyCRsou99mQ9SlFd84cvcTfJJQJVl5Y7BWzdoOJt2IcggJVku5c+Fq2atDw0lN5YBa9HYxfi gfvW/x11hsdngRcOQpPr2MKeSsUtkyq2T1wuDTjnpNwQUV+fVXTChLExRGQcqqKord7qgywKz 2rA/y/oZ3c5z3hygYE0wETZ4kLxyyRRScsHzjSUBnPnTCbqVunquYKa9B2fFp7UxyRIc= Subject: Re: [PHP-DEV] Make debug_zval_dump prints int as long From: cmbecker69@gmx.de (Christoph Becker) On 25.07.2015 at 16:16, Rowan Collins wrote: > On 25/07/2015 12:49, Christoph Becker wrote: >> I agree that the manual page needs an update, but it seems that would >> result in an even more lengthy explanation of the caveats due to the >> different behavior under PHP 5 and PHP 7, respectively. > > Well, the current manual page is invalid for any version of PHP which is > currently maintained, since 5.3 is EOL, and 5.4 raises a fatal error for > the first example. > > That actually simplifies things a little bit, because you don't need all > the caveats about whether the variable is passed by reference or not, > that's can just be a historical footnote. I agree, but even then it's a bit tricky, and the doc team seems to be shorthanded currently. You may consider to give a helping hand. :) > If we're not going to make any attempt at accuracy, then rather than > making cosmetic changes like "int" for "long", we should be adding an > E_DEPRECATED flag and leaving the function to die quietly. I guess that might require an RFC. -- Christoph M. Becker