__set __get __call in internal class

From: Date: Thu, 09 Sep 2004 00:05:11 +0000
Subject: __set __get __call in internal class
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-12654@lists.php.net to get a copy of this message
hi all, 1) i have to implement __set and __get methods in internal class but, actually, methods declared in the class function entry aren't recognized automatically like __construct, __destruct and __clone. i can see that in zend_register_functions ( zend_API.c # from l. 1308) to solve this problem, i do this when register the class : _______ if ( zend_hash_find( &myobject_ce->function_table, ZEND_SET_FUNC_NAME , strlen(ZEND_SET_FUNC_NAME) +1 , (void **) &f_set)==SUCCESS) myobject_ce->__set = f_set; _______ it work fine now ( with sub class, overloading, ... ) but i think, perhaps, it would be a good idea to make that automaically like the others ? 2 ) Another question, i try to use the zend_try ... macro but i have this error when i compile it with visual c++ (w2k). error LNK2001: unresolved external symbol _executor_globals_id error come from EG(***) but i can't find solution ! any help ? 3 ) for the Zend people, is engine-api-doc@lists.zend.com still active ? i want to register but no response ... regards Frédéric LECOINTRE

« previous php.internals (#12654) next »