mysqli::thread_safe mysqli_thread_safe (PHP 5, PHP 7, PHP 8)mysqli::thread_safe -- mysqli_thread_safe — 返回是否线程安全 说明 面向对象风格 public mysqli::thread_safe(): bool 过程化风格 mysqli_thread_safe(): bool 告知本数据库客户端库是否编译为线程安全的。 参数 此函数没有参数。 返回值 如果客户端线程安全为 true,否则为 false。