Mention that pthreads is only compatible with PHP 7.2+

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342784 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Thomas Punt 2017-08-06 08:52:35 +00:00
parent a816d3565e
commit 39ef290847

View file

@ -18,6 +18,12 @@
Threading in PHP should therefore remain to CLI-based applications only.
</para>
</warning>
<warning>
<para>
The pthreads extension can only be used with PHP 7.2+. This is due to ZTS
mode being unsafe in prior PHP versions.
</para>
</warning>
<para>
The <classname>Threaded</classname> class forms the basis of the
functionality that allows pthreads to operate. It exposes synchronization