Req #73451 [Opn->Csd]: fatal errors instead exceptions

From: Date: Fri, 23 Mar 2018 11:46:53 +0000
Subject: Req #73451 [Opn->Csd]: fatal errors instead exceptions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-214451@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73451&edit=1 ID: 73451 Updated by: nikic@php.net Reported by: spam2 at rhsoft dot net Summary: fatal errors instead exceptions -Status: Open +Status: Closed Type: Feature/Change Request Package: SOAP related Operating System: Linux PHP Version: 7.0.12 -Assigned To: +Assigned To: nikic Block user comment: N Private report: N New Comment: This should be fixed in 7.1.14 / 7.2.2 as part of bug #70469. Soap error handling is still a huge mess, but at least this specific problem (fatal error thrown by SoapClient if exception mode is enabled) shouldn't occur anymore. Previous Comments: ------------------------------------------------------------------------ [2017-04-08 10:36:24] nikic@php.net Looks like fatal erros in SOAP were for some reason not part of https://wiki.php.net/rfc/throw_error_in_extensions -- probably because SOAP uses non-standard macros to generate them. ------------------------------------------------------------------------ [2017-04-08 10:03:38] spam2 at rhsoft dot net damend even try/catch with "Throwable" don't work and it's ridiculous have a hard stop because some 3rd party data is not perfectly encoded [08-Apr-2017 02:10:28 Europe/Vienna] PHP Fatal error: SOAP-ERROR: Encoding: string 'g\xf6...' is not a valid utf-8 string in *** on line 993 try { } catch(Throwable $exception) { } ------------------------------------------------------------------------ [2016-11-03 11:10:03] spam2 at rhsoft dot net Description: ------------ it would be *really* nice if such errors could be an exception to have the capability for proper error handling inside the application [03-Nov-2016 11:55:35 Europe/Vienna] PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://**.**.**.**:8731/WWTSTicketService/?wsdl' : failed to load external entity "http://**.**.**.**:8731/WWTSTicketService/?wsdl" ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73451&edit=1

« previous php.bugs (#214451) next »