Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65036 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55698 invoked from network); 20 Jan 2013 13:08:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jan 2013 13:08:12 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.48 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.215.48 mail-la0-f48.google.com Received: from [209.85.215.48] ([209.85.215.48:34459] helo=mail-la0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BF/31-25745-C3CEBF05 for ; Sun, 20 Jan 2013 08:08:12 -0500 Received: by mail-la0-f48.google.com with SMTP id fq13so155448lab.35 for ; Sun, 20 Jan 2013 05:08:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=uBCdXCgVJvc2XtzUCBt0kM31Nu7ipb/BTrfBs2sYP1s=; b=pxE2yH4NA26/du+kG6XERboA/8Z0RSlX/vtRHPA8hraDAOSUd04VOzczjfbCRFSFmz j9XcMatitU3jmJVLX++aSkZ28xdWhvyk+ypJvpLMWpKlXDex4qynHDe00ueS1XbX+HSl r0tqEMQBprrQurVPmNuQ/0+4EznDGr8be42HWiMI15XToLVx1Xb3gk1ewkYctjZK0LJ4 zHxW6wRD+RZWMtqnLjo6EunpgRN9xtJhrj7WyjKc3g+ckCYiW4uh6ol6fFnnh/JEzLb3 2OabYZG3VLN9rbtSNQbIVd4dWSPMLM+dgF+DkugDaeoWahs+nalDAFrM4HxBg2RgYcL0 7ErQ== MIME-Version: 1.0 X-Received: by 10.152.105.203 with SMTP id go11mr14190881lab.53.1358687289270; Sun, 20 Jan 2013 05:08:09 -0800 (PST) Received: by 10.112.138.131 with HTTP; Sun, 20 Jan 2013 05:08:09 -0800 (PST) In-Reply-To: References: <50F840F4.7080704@zerocue.com> <50F87A23.60808@mrclay.org> <50F8A88D.1000409@zerocue.com> Date: Sun, 20 Jan 2013 14:08:09 +0100 Message-ID: To: Sherif Ramadan Cc: Clint Priest , Steve Clay , PHP Internals Content-Type: multipart/alternative; boundary=f46d04083e333ce19604d3b809d8 Subject: Re: [PHP-DEV] [VOTE] Property Accessors for 5.5 From: nikita.ppv@gmail.com (Nikita Popov) --f46d04083e333ce19604d3b809d8 Content-Type: text/plain; charset=ISO-8859-1 On Sun, Jan 20, 2013 at 5:46 AM, Sherif Ramadan wrote: > I'm not sure if this has already come up in past discussion or not. So > I apologize in advance if this is repetitive. The discussion for property > accessors has been so lengthy I couldn't find the time to keep up with it > all. > > However, I found some time to play around with the patch today and I > noticed something that might use improving. When you use var_dump() on the > object properties that have defined get accessors don't produce any useful > output with var_dump. Is this fixable? > The var_dump will output the state of the object, i.e. the values that are internally stored. It will not go through the get accessors, rather it will directly give you the value of the underlying property. If the underlying property is not used, then it will just give you NULL. Nikita --f46d04083e333ce19604d3b809d8--