Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9927 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95825 invoked by uid 1010); 18 May 2004 07:47:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 95643 invoked from network); 18 May 2004 07:47:30 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 18 May 2004 07:47:30 -0000 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.10/8.12.10) with ESMTP id i4I7lTef026720; Tue, 18 May 2004 09:47:29 +0200 Date: Tue, 18 May 2004 09:47:29 +0200 (CEST) X-X-Sender: derick@localhost To: Sara Golemon cc: internals@lists.php.net In-Reply-To: <20040518040006.36155.qmail@pb1.pair.com> Message-ID: References: <20040518040006.36155.qmail@pb1.pair.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] protected/private access and var_dump/print_r From: derick@php.net (Derick Rethans) On Mon, 17 May 2004, Sara Golemon wrote: > var_dump($someobject); shows only public properties (as I'd expect), but > print_r($someobject) shows all properties (explicitly identifying > protected/private props). > > Am I wrong in thinking that's not right? I think the current way is perfectly alright. regards, Derick