mysqli::thread_safe

mysqli_thread_safe

(PHP 5, PHP 7, PHP 8)

mysqli::thread_safe -- mysqli_thread_safe返回是否是線(xiàn)程安全的

說(shuō)明

過(guò)程化風(fēng)格

mysqli_thread_safe(): bool

告知本數(shù)據(jù)庫(kù)客戶(hù)端庫(kù)是否編譯為線(xiàn)程安全的。 Tells whether the client library is compiled as thread-safe.

返回值

如果是的話(huà),返回true,否則返回false。