Re: [PHP-DEV] Re: Get object name

2002-03-04 Thread Hartmut Holzgraefe
l0t3k wrote: > you can do this only with a not-so nice hack. essentially you have to > manually search the active symbol table stack for a zval * which equals your > variable. zend_hash_find wont help you, since you're doing a "reverse" > lookup. ... and your chances of getting the right name in

[PHP-DEV] Re: Get object name

2002-03-04 Thread l0t3k
you can do this only with a not-so nice hack. essentially you have to manually search the active symbol table stack for a zval * which equals your variable. zend_hash_find wont help you, since you're doing a "reverse" lookup. so the process is something like (totally OTTOMH) HashTable *table