Hi,
When I found a key in HashTable, I got a HashPosition
Now, is there any macros that converts it to a zval* ?
I wanted to use PHPWRITE to print it
--
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33
Hi,
When I found a key in HashTable, I got a HashPosition
Now, is there any macros that converts it to a zval* ?
It depends a bit on how you found that HashPosition. Usually, hash_find
already returns you the zval* and in most other cases you would rely on
the interal pointer and use zend_hash_get_current_data on the HashTable
with that internal pointer as first argument.
cheers,
Derick
--
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug
Posted with an email client that doesn't mangle email: alpine