PHP - Manual: mysqli::thread_safe
2025-02-27
(PHP 5, PHP 7, PHP 8)
mysqli::thread_safe -- mysqli_thread_safe — 返回是否线程安全
面向对象风格
过程化风格
告知本数据库客户端库是否编译为线程安全的。
此函数没有参数。
如果客户端线程安全为 true,否则为 false。
true
false
官方地址:https://www.php.net/manual/en/mysqli.thread-safe.php