W3cubDocs

/PHP

mysqli::thread_safe

mysqli_thread_safe

(PHP 5, PHP 7)

mysqli::thread_safe -- mysqli_thread_safeReturns whether thread safety is given or not

Description

Object oriented style

public mysqli::thread_safe ( ) : void

Procedural style

mysqli_thread_safe ( ) : bool

Tells whether the client library is compiled as thread-safe.

Return Values

true if the client library is thread-safe, otherwise false.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/mysqli.thread-safe.php