Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4603 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52772 invoked by uid 1010); 29 Sep 2003 07:10:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 52736 invoked from network); 29 Sep 2003 07:10:50 -0000 Received: from unknown (HELO is.magroup.ru) (213.147.47.162) by pb1.pair.com with SMTP; 29 Sep 2003 07:10:50 -0000 Received: from grp-dovgal.MEDIA-ARTS.RU ([192.168.3.226]) by is.magroup.ru with Microsoft SMTPSVC(5.0.2195.5329); Mon, 29 Sep 2003 11:10:20 +0400 Date: Mon, 29 Sep 2003 11:10:20 +0400 To: internals@lists.php.net Message-ID: <20030929111020.44b2cee4.tony2001@phpclub.net> In-Reply-To: References: X-Mailer: Sylpheed version 0.9.5 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 Sep 2003 07:10:20.0265 (UTC) FILETIME=[BE314590:01C38658] Subject: Re: [PHP-DEV] Change var_dump to return information From: tony2001@phpclub.net (Antony Dovgal) On Sun, 28 Sep 2003 23:51:12 +0200 "Dennis Sterzenbach" wrote: > Hi, > > I got in mind, that it might be interesting for debug purpose, > to obtain information like the output of var_dump() to a string. > > Really would be nice being able to have something like > $debug_info_obj = var_dump($obj); > > or even by introducing a new function like $info=var_info($var); > > What do you think about it? I think you can use var_export(); in this case. --- WBR, Antony Dovgal aka tony2001 tony2001@phpclub.net