Mention alternative to Threaded::getTerminationInfo

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342789 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Thomas Punt 2017-08-06 09:20:42 +00:00
parent e75898559e
commit 50a18ed5fc

View file

@ -10,7 +10,10 @@
<refsynopsisdiv>
<warning>
<para>
This method has been removed in pthreads v3.
This method has been removed in pthreads v3. Instead, the body of
<methodname>Threaded::run</methodname> can be wrapped in a try...catch
block to detect errors (since most errors in PHP 7 have been converted to
exceptions).
</para>
</warning>
</refsynopsisdiv>