svn: /phpdoc/en/trunk/appendices/migration70/incompatible/ error-handling.xml

From: Date: Mon, 12 Oct 2015 20:12:00 +0000
Subject: svn: /phpdoc/en/trunk/appendices/migration70/incompatible/ error-handling.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-13790@lists.php.net to get a copy of this message
tpunt Mon, 12 Oct 2015 20:12:00 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=337990 Log: Document bc break of custom error handlers for migration guide Changed paths: U phpdoc/en/trunk/appendices/migration70/incompatible/error-handling.xml Modified: phpdoc/en/trunk/appendices/migration70/incompatible/error-handling.xml =================================================================== --- phpdoc/en/trunk/appendices/migration70/incompatible/error-handling.xml 2015-10-12 19:40:54 UTC (rev 337989) +++ phpdoc/en/trunk/appendices/migration70/incompatible/error-handling.xml 2015-10-12 20:12:00 UTC (rev 337990) @@ -8,10 +8,16 @@ Many fatal and recoverable fatal errors have been converted to exceptions in PHP 7. These error exceptions inherit from the <classname>Error</classname> class, which itself implements the <classname>Throwable</classname> - interface, which is now the base interface all exceptions inherit. + interface (the new base interface all exceptions inherit). </para> <para> + This means that custom error handlers may no longer be triggered because + exceptions may be thrown instead (causing new fatal errors for uncaught + <classname>Error</classname> exceptions). + </para> + + <para> A fuller description of how errors operate in PHP 7 can be found <link linkend="language.errors.php7">on the PHP 7 errors page</link>. This migration guide will merely enumerate the changes that affect backward

« previous php.doc.cvs (#13790) next »