# tsrm_shutdown() and the CLI SAPI

- Thread: https://externals.io/message/23830
- Original archive: https://news-web.php.net/php.internals/23830
- Started by Frank M. Kromann on 2006-05-31T15:40:07+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #23830 — Frank M. Kromann — 2006-05-31T15:40:07+00:00

URL: https://externals.io/message/23830#23830

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

---

## #23831 — Steph Fox — 2006-05-31T15:54:01+00:00

URL: https://externals.io/message/23830#23831 · In reply to: #23830

> Hi Steph,
>
> > […]
> the
> > […]
>
> 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...

>
> - Frank
