Re: Refcount in var_dump()
| From: | Markus Fischer | Date: | Thu, 07 Feb 2002 06:32:37 +0000 |
| Subject: | Re: Refcount in var_dump() | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-79470@lists.php.net to get a copy of this message | ||
On Thu, Feb 07, 2002 at 07:17:52AM +0100, derick@php.net wrote :
> On Thu, 7 Feb 2002, Markus Fischer wrote:
>
> > > me. I think it would really confuse people. I suggest adding another
> > > function. It should probably be only enabled in debug builds because the
> > > end user shouldn't be worrying about refcounts. It's an internal thing.
> >
> > Certain function only available in a debug build!? Please
> > don't ...
>
> having var_dump_with_refcount on a production box makes no sense at all.
> (IE. You will never debug extensions on a production box). I'm for a new
> function which is disable in non debug builds.
Achja ? I don't think sometimes you suddenly just 'right now'
find a new bug in a code running on a production side. And
right now the dev-box isn't properly configured to test
exactly this environment. What now ?
IMHO it's a disaster to enable/disable function dependent on
--enable-debug or not. Does it hurt if it's always available?
Not really.
--
Please always Cc to me when replying to me on the lists.