[php-src] Issue #10293: ext-soap throws uncatchable errors
| From: | jack-worman | Date: | Wed, 11 Jan 2023 22:44:01 +0000 |
| Subject: | [php-src] Issue #10293: ext-soap throws uncatchable errors | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-243418@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/10293
Author: jack-worman
### Description
I am writing a SOAP server, but the soap extension throws uncatchable errors.
For example, "Procedure '...' not present" happens when the client asks for a
function that is not supported by the server. And when
$soapServer->handle(...) is
called, the script throws a fatal error and outputs its own response.
I should be able to catch any error and handle it however I want. \SoapServer::handle()
should never kill my script.
### PHP Version
PHP 8.1.14
### Operating System
_No response_