It's not quite as simple as that. To qualify dynamically loadable
extensions, you will need "debug-zval / non-debug-zval" in addition to
the existing debug/non-debug + zts/no-zts. Or it can be made part of
debug mode, but then the API number has to be bumped, which requires a
minor version change
Actually, I found the code reasonably clear - a kudos to someone.
The points about the footprint and performance are well taken.
Because the feature is most important before any customers see the
latest rev of product, the feature would be just as useful as
an optional part of the php build. It's
At 09:25 PM 3/3/2004 +0100, Derick Rethans wrote:
On Wed, 3 Mar 2004, Todd Ruth wrote:
> Finding those bugs when you have tens of thousands of lines of
> php can be a real headache. That's why I'd very much like
> a disallow_copies function.
But as you demonstrated with your patch you need to mod
On Wed, 3 Mar 2004, Todd Ruth wrote:
> Finding those bugs when you have tens of thousands of lines of
> php can be a real headache. That's why I'd very much like
> a disallow_copies function.
But as you demonstrated with your patch you need to modify some of the
basic data types that PHP uses an
Thanks for the replies.
First, in response to Stefan...
> [EMAIL PROTECTED]:~$ php -r '$a = 2; $b = $a; debug_zval_dump($a);'
> long(2) refcount(3)
> [EMAIL PROTECTED]:~$
I missed that one. Thanks! With that I'd at least be
able to implement ref_count in php.
And then in response to Adam...
> ref_count(mixed var)
Just a quick note, do you know debug_zval_dump()?
[EMAIL PROTECTED]:~$ php -r '$a = 2; $b = $a; debug_zval_dump($a);'
long(2) refcount(3)
[EMAIL PROTECTED]:~$
--
Regards,
Stefan Walk
<[EMAIL PROTECTED]>
--
PHP Internals - PHP Runtime Developme
On Tue, 2004-03-02 at 20:49, Todd Ruth wrote:
> I work for a company that is using php and would like to
> contribute a few helper functions that we find useful.
> They are most helpful for anyone doing OO work (especially
> if using singletons) who isn't ready to move to php5.
> Two of the three a
I work for a company that is using php and would like to
contribute a few helper functions that we find useful.
They are most helpful for anyone doing OO work (especially
if using singletons) who isn't ready to move to php5.
Two of the three are trivial to incorporate, but
for the third I'm looking