There is a predefined constant PHP_ZTS available from PHP 5.2.7, but there is no documentation for it in the manual.
Can anyone explain what's its purpose?
PHP_ZTS is predefined constant which returns whether Zend Thread Safety (ZTS) is enabled or not.
PHP_ZTS (return value of "0" (false) indicates compiled php is non thead safe)
Some extensions need ZTS enabled to work properly with PHP; it's enabled using the option:
--enable-maintainer-zts
at PHP build time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With