Re: Resource management (continued)

From: Date: Tue, 02 Nov 2004 18:49:15 +0000
Subject: Re: Resource management (continued)
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-1576@lists.php.net to get a copy of this message
> Then for the other two functions (the ones were I'm trying to use > resources) I was having this error in Apache when trying to run them: > > Warning: Unknown list entry type in request shutdown (0) in Unknown on > line 0 > > ZEND_FUNCTION(ssh_options_destroy) > SSH_OPTIONS *options; > ZEND_FETCH_RESOURCE(options, SSH_OPTIONS *, &o, -1, "ssh", > ^^^ These two lines are unnecessary since you're not actually doing anything with the resource data. You can loose them entirely. > But this didn't help. > I think I got something wrong in the pointers succession (SSH_OPTIONS > *options becomes zval *o and then there is this *rsrc which I don't know > how it's handeld and if I don't need to apply it the SSH_OPTIONS * > type...) > It would *really* help if you could just post your entire source file(s) somewhere so they can be seen as a whole. I've got five guys trying to tell me your code is either a tree, a snake, a sail, a rock, or a...hell something else, I forget the punchline.... -Sara

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