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 previously compiled modules and you are very likely to
end up with a segfault.
-Andrei
On Jul 11, 2005, at 9:36 PM, Jessie Hernandez wrote:
Does anyone know why this happens?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php