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 [EMAIL PROTECTED] still active ?
i want  to register but no response ...

regards


Frédéric LECOINTRE

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to