Re: Re: calling protected PHP_METHOD via call_user_function; missing context ??

From: Date: Tue, 06 Jan 2009 10:13:47 +0000
Subject: Re: Re: calling protected PHP_METHOD via call_user_function; missing context ??
References: 1 2 3 4 5 6 7 8  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-6042@lists.php.net to get a copy of this message
About the zend_call_method_with_0_params you need to include the zend_interfaces.h in the code (seems that php.h does not include that header). Nice tip on that case sensitivity matter... I'll keep that in mind :) Good luck there with your ext! Henrique On Mon, Jan 5, 2009 at 8:58 PM, Nathan Nobbe <quickshiftin@gmail.com> wrote: > On Mon, Jan 5, 2009 at 7:56 PM, Nathan Nobbe <quickshiftin@gmail.com>wrote: > >> >> so, i realized i had this code *above* the code i was struggling w/, and >> it wasnt even working; i just glossed over it in haste or something, >> >> if(zend_hash_exists(&puremvc_macrocommand_ce->function_table, >> "addsubcommand", strlen("addSubCommand")+1)) { >> > > whoops; i meant > > "addSubCommand", strlen("addSubCommand")+1)) { > > i had to change that arg to all lowercase; sorry for the noise. > > -nathan >

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