Re: PHP_MINIT and ZEND_REGISTER_RESOURCE

From: Date: Fri, 13 Jun 2008 13:47:46 +0000
Subject: Re: PHP_MINIT and ZEND_REGISTER_RESOURCE
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5526@lists.php.net to get a copy of this message
Antony Dovgal pisze:
On 13.06.2008 01:01, Adam Klobukowski wrote:
Can I use ZEND_REGISTER_RESOURCE in PHP_MINIT?
No, at this point nothing is ready for that yet.
Yep, I realized this was kind of stupid half an hour after I sent it. Anyway, it sorks in PHP_RINIT, and it is pretty good for me.
If not what can I use instead?
Global variables.
That is still a problem for me (at least in PHP). Good thing PECL page offers some nice howtos which pushed my work a bit ahead. Still, the lack of good PHP internals reference is a bit frustrating. It makes my do a lot of trial&error stuff which is a bit tedious :( Thanks for your patience. Adam Klobukowski

« previous php.pecl.dev (#5526) next »