Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71385 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53348 invoked from network); 21 Jan 2014 21:42:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jan 2014 21:42:33 -0000 Authentication-Results: pb1.pair.com header.from=frederic.hardy@mageekbox.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=frederic.hardy@mageekbox.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mageekbox.net from 217.70.183.198 cause and error) X-PHP-List-Original-Sender: frederic.hardy@mageekbox.net X-Host-Fingerprint: 217.70.183.198 relay6-d.mail.gandi.net Received: from [217.70.183.198] ([217.70.183.198:52795] helo=relay6-d.mail.gandi.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6B/22-40896-7C9EED25 for ; Tue, 21 Jan 2014 16:42:32 -0500 Received: from mfilter4-d.gandi.net (mfilter4-d.gandi.net [217.70.178.134]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id 288E1FB882; Tue, 21 Jan 2014 22:42:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter4-d.gandi.net Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by mfilter4-d.gandi.net (mfilter4-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id OhficbEIH7wf; Tue, 21 Jan 2014 22:42:27 +0100 (CET) X-Originating-IP: 88.165.65.48 Received: from [192.168.0.2] (arb69-1-88-165-65-48.fbx.proxad.net [88.165.65.48]) (Authenticated sender: frederic.hardy@mageekbox.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 7C1484F1862; Tue, 21 Jan 2014 22:42:27 +0100 (CET) Content-Type: multipart/alternative; boundary="Apple-Mail=_813151F1-4D2C-4261-B5BF-17AEFAE65340" Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) In-Reply-To: Date: Tue, 21 Jan 2014 22:42:27 +0100 Cc: PHP internals Message-ID: References: To: Sara Golemon X-Mailer: Apple Mail (2.1827) Subject: Re: [PHP-DEV] [RFC] __debug_info() From: frederic.hardy@mageekbox.net (=?iso-8859-1?Q?Fr=E9d=E9ric_Hardy?=) --Apple-Mail=_813151F1-4D2C-4261-B5BF-17AEFAE65340 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi all ! Le 21 janv. 2014 =E0 22:26, Sara Golemon a =E9crit : > Something new to argue about: >=20 > https://wiki.php.net/rfc/debug-info Very interesting feature (i have personally thinking about that several = time in the past). However, i think that __dump() is a better name from the end user point = of view. __debug_info() is a good name from the point of view of a C developer = which works on the Zend Engine or on C extensions, but from the end user = point of view, it=92s not the case. And this new magical method is used internally by var_dump() so __dump() = seems to me a better name. Maybe __set_dump() is an alternative too, because __set_state() is used = internally by var_export(), but i=92m not sure that it=92s a better name = than __dump which is very explicit and intuitive. Best regards, Fred. --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Fr=E9d=E9ric Hardy : Directeur technique et fonctionnel agile CV : = http://blog.mageekbox.net/public/cv.frederic.hardy.pdf Blog : http://blog.mageekbox.net Twitter : http://twitter.com/mageekguy =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --Apple-Mail=_813151F1-4D2C-4261-B5BF-17AEFAE65340--