Re: tsrm_shutdown() and the CLI SAPI

php.internals

Frank M. Kromann

20 years ago
Hi Steph,
> Yes, it would, given the root cause - but would you really want to break
the
> whole of PHP for an academic exercise?
Changing the code locally just to test and see if it gave another clude to the problem would be my approach :-) - Frank

Steph

20 years ago
> Hi Steph, > >> Yes, it would, given the root cause - but would you really want to break > the >> whole of PHP for an academic exercise? > > Changing the code locally just to test and see if it gave another clude to > the problem would be my approach :-)
I don't need to... the current problem's bleedin' obvious :) However, that wasn't the problem 3 years ago when that ifdef was put there. It will most likely have been caused by various SAPIs loading various PHP/Zend includes in various orders, so some of them had the prerequisite define for the DL_UNLOAD call and others didn't. Dmitry's just brought the whole mess out into the open - they _all_ have it defined now. Still waiting for that fresh checkout...