Re: [PHP-DEV] dl() usage for cli php5

2005-01-03 Thread Andi Gutmans
I can't quite remember the exact explanation but I think we have a chicken and the egg problem :'( At 09:30 AM 1/1/2005 -0500, Wez Furlong wrote: This is still the broken shutdown order problem I've been moaning about for some time; we're unloading the modules before we call the dtors. If you uns

Re: [PHP-DEV] dl() usage for cli php5

2005-01-01 Thread Wez Furlong
This is still the broken shutdown order problem I've been moaning about for some time; we're unloading the modules before we call the dtors. If you unset or assign to null all references to objects in your extension before the script ends, you should end up with no segfault. --Wez. On Sat, 01 J

[PHP-DEV] dl() usage for cli php5

2004-12-31 Thread Alan Knowles
I'm getting segfaults at shutdown when using dl() with my extension - works perfectly if it's in php.ini (or if I run when compiled with --enable-debug a) is this a known issue? b) is it fixable for cli usage? I'm guessing this is because modules are destroyed before the objects that they crea