From 39ef2908475f57accde31aa00bb59e276b9d7e2e Mon Sep 17 00:00:00 2001 From: Thomas Punt Date: Sun, 6 Aug 2017 08:52:35 +0000 Subject: [PATCH] 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 --- reference/pthreads/book.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reference/pthreads/book.xml b/reference/pthreads/book.xml index 292dbe94a2..ece0cfcfa4 100644 --- a/reference/pthreads/book.xml +++ b/reference/pthreads/book.xml @@ -18,6 +18,12 @@ Threading in PHP should therefore remain to CLI-based applications only. + + + The pthreads extension can only be used with PHP 7.2+. This is due to ZTS + mode being unsafe in prior PHP versions. + + The Threaded class forms the basis of the functionality that allows pthreads to operate. It exposes synchronization