Re: Refcount in var_dump()
| From: | Stig S. Bakken | Date: | Thu, 07 Feb 2002 07:35:59 +0000 |
| Subject: | Re: Refcount in var_dump() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-79891@lists.php.net to get a copy of this message | ||
On Thu, 2002-02-07 at 07:17, 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.
Non-debug PHP != Production Box
For example, if you want to use Zend products during development, you
need to run a non-debug PHP. Changing var_dump is not a good idea, so
if someone has the need for more details, a new function would be good
IMHO.
- Stig