MySQLi
PHP Manual

mysqli::thread_safe

mysqli_thread_safe

(PHP 5)

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

说明

过程化风格

bool mysqli_thread_safe ( void )

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

返回值

TRUE if the client library is thread-safe, otherwise FALSE.


MySQLi
PHP Manual