# How do I detect a script failure in an extension's PHP_RSHUTDOWN_FUNCTION callback?

- Thread: https://externals.io/message/84356
- Original archive: https://news-web.php.net/php.internals/84356
- Started by Richard Quadling on 2015-03-05T21:02:52+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

---

## #84356 — Richard Quadling — 2015-03-05T21:02:52+00:00

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

Hi.

There is a bug report for the win32service pecl extension (
https://bugs.php.net/bug.php?id=69170).

As a past contributor to this extension, I want to offer some help, even
though I'm not on Windows any more (nor have access to a license).

What I would like to provide is the ability to detect the nature of the
scripts termination (for example, but not limited to, fatal error,
unhandled exception, parse error - maybe, exit(n), etc.)

Is this possible?

If so, some suggestions would be nice.

Thanks.

Richard.

-- 
Richard Quadling
Twitter : @RQuadling

---

## #84364 — Jan Ehrhardt — 2015-03-05T22:20:33+00:00

URL: https://externals.io/message/84356#84364 · In reply to: #84356

Richard Quadling in php.internals (Thu, 5 Mar 2015 21:02:52 +0000):
>There is a bug report for the win32service pecl extension (
>https://bugs.php.net/bug.php?id=69170).

Quote from your reply in the bug report:
"Unfortunately, I'm not on a windows environment anymore and don't have
a license for a VM."

You do not need a license ;-)
https://www.modern.ie/en-us/virtualization-tools

Jan
