TDJ>> Thanks for your response!  While it does not cause a crash, your
TDJ>> function doesn't do what I expected.  Do you know where I went
TDJ>> wrong?

OK, looking again on the matter in depth, it seems to me that you cannot 
do it from C function either, due to the way in which parameters are 
passed in the engine. What you can do is to pass names and then work with 
symbols tables (either global or local) directly. You'll also have to take 
care to properly destroy old destination value and properly separate the 
source value. You can look on ASSIGN_REF opcode in zend_execute.c for 
example (yes, it's a bit messy, I know). 

-- 
Stanislav Malyshev, Zend Products Engineer   
[EMAIL PROTECTED]  http://www.zend.com/ +972-3-6139665 ext.109



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

Reply via email to