Re: [PHP-DEV] Refcount in var_dump()

2002-02-10 Thread Stig S. Bakken
On Thu, 2002-02-07 at 07:17, [EMAIL PROTECTED] 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

Re: [PHP-DEV] Refcount in var_dump()

2002-02-08 Thread Yasuo Ohgaki
Derick Rethans wrote: > On Fri, 8 Feb 2002, Yasuo Ohgaki wrote: > > >>Hi, >> >>If dump_internals() is going to be enabled only for DEBUG build, >>could you make it a module? >> >>It's much easier for me to load/unload module rather than swithing >>builds. >> > > A module for one function wo

Re: [PHP-DEV] Refcount in var_dump()

2002-02-07 Thread Derick Rethans
On Fri, 8 Feb 2002, Yasuo Ohgaki wrote: > Hi, > > If dump_internals() is going to be enabled only for DEBUG build, > could you make it a module? > > It's much easier for me to load/unload module rather than swithing > builds. A module for one function would be waaay too much of an overki

Re: [PHP-DEV] Refcount in var_dump()

2002-02-07 Thread Jason Greene
I was planning on just adding it to /ext/standard, and building it whether or not php is in debug mode. -Jason On Thu, 2002-02-07 at 19:41, Yasuo Ohgaki wrote: > Hi, > > If dump_internals() is going to be enabled only for DEBUG build, > could you make it a module? > > It's much easier for me t

Re: [PHP-DEV] Refcount in var_dump()

2002-02-07 Thread Yasuo Ohgaki
Hi, If dump_internals() is going to be enabled only for DEBUG build, could you make it a module? It's much easier for me to load/unload module rather than swithing builds. -- Yasuo Ohagaki Jason Greene wrote: > Ya, I guess this could be confusing to most users. I don't think this > should

Re: [PHP-DEV] Refcount in var_dump()

2002-02-07 Thread Andi Gutmans
At 06:52 AM 2/7/2002 +0100, Markus Fischer wrote: >On Thu, Feb 07, 2002 at 07:21:07AM +0200, Andi Gutmans wrote : > > At 11:03 PM 2/6/2002 -0600, Jason Greene wrote: > > > > >Would anyone object if I added refcount information to var_dump? > > > > me. I think it would really confuse people. I sug

Re: [PHP-DEV] Refcount in var_dump()

2002-02-07 Thread Jason Greene
Ya, I guess this could be confusing to most users. I don't think this should be a debug only item because this could be used to help an extension developer get useful debug info from a bug reporter, and I can see no possible harm in having an extra function. How about dump_internals() ? I was t

Re: [PHP-DEV] Refcount in var_dump()

2002-02-06 Thread Yasuo Ohgaki
Markus Fischer wrote: > On Thu, Feb 07, 2002 at 07:17:52AM +0100, [EMAIL PROTECTED] 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 >>

Re: [PHP-DEV] Refcount in var_dump()

2002-02-06 Thread Markus Fischer
On Thu, Feb 07, 2002 at 07:17:52AM +0100, [EMAIL PROTECTED] 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

Re: [PHP-DEV] Refcount in var_dump()

2002-02-06 Thread derick
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

Re: [PHP-DEV] Refcount in var_dump()

2002-02-06 Thread Markus Fischer
On Thu, Feb 07, 2002 at 07:21:07AM +0200, Andi Gutmans wrote : > At 11:03 PM 2/6/2002 -0600, Jason Greene wrote: > > >Would anyone object if I added refcount information to var_dump? > > me. I think it would really confuse people. I suggest adding another > function. It should probably be onl

Re: [PHP-DEV] Refcount in var_dump()

2002-02-06 Thread Andi Gutmans
At 11:03 PM 2/6/2002 -0600, Jason Greene wrote: >Would anyone object if I added refcount information to var_dump? 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