Re: [PHP4BETA] Extending PHP, Zend API

From: Date: Tue, 07 Mar 2000 20:15:39 +0000
Subject: Re: [PHP4BETA] Extending PHP, Zend API
References: 1 2 3 4 5 6 7  Groups: php.version4 
Request: Send a blank email to php-version4+get-11707@lists.php.net to get a copy of this message
On Tue, 07 Mar 2000, Paul S. Gumerman wrote: > Andrei, > > But there is no add_*() function for arrays, so I'm concerned that the arrays that I > create > inside my extension function are local to the function, and so causing the overrun errors > that I'm seeing in the log. No, but you were doing it properly. MAKE_STD_ZVAL() sets refcount to 1, and then you added that to the main array so it's the only one that keeps reference to it. -Andrei Computer, if you don't open that exit hatch this moment I shall zap straight off to your major data banks and reprogram you with a very large axe. -- Douglas Adams / The Hitchhiker's Guide to the Galaxy

« previous php.version4 (#11707) next »