On Fri, 16 Mar 2001, Stig Venaas wrote:
> It seems like this is a common problem, I think perhaps most of the
> PHP code (the C code) could be made cleaner if the Zend API separated
> pointers from the array structure. So that one could create a pointer
> and pass it as an argument to Zend hash functions, or something like
> that. It could be useful to have several pointers at once. One other
> option could be to have a pointer stack per hash, with two hash
> functions for pushing and popping the current pointer on/off the
> stack.

All this is already possible and has existed in Zend since exactly 1
year ago when I put it in... Extension authors can use *_ex versions of
hash functions and supply their own HashPosition parameter.

-Andrei

Documentation is worth it just to be able
to answer all your mail with 'RTFM'. -- Alan Cox

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to