Re: [PHP-DEV] Interesting zend_executor_globals Find...

2005-07-12 Thread Jessie Hernandez
Andrei, Yes, I did a make clean before changing the struct on both occasions (putting it after class_table and at the end of the struct). -- Jessie "Andrei Zmievski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Did you recompile PHP completely after you changed the struct? If

Re: [PHP-DEV] Interesting zend_executor_globals Find...

2005-07-11 Thread Andrei Zmievski
Did you recompile PHP completely after you changed the struct? If not, it's very simple. When you insert a new variable into the middle of the structure, all the subsequent variables are shifted down. The ones that used to be at a certain offset can no longer be found there by the code in p

Re: [PHP-DEV] Interesting zend_executor_globals Find...

2005-07-11 Thread John Coggeshall
Perhaps this is the obvious answer, but I'm pretty sure a fair number of structures used in the engine are, memory-space wise, portions of larger structures defined elsewhere. This allows the larger structure to be type-cast to a smaller structure for certain operations easily. It is possible that