mysqli::thread_safe

mysqli_thread_safe

(PHP 5, PHP 7, PHP 8)

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

Description

Object-oriented style

public mysqli::thread_safe(): bool

Procedural style

mysqli_thread_safe(): bool

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

Parameters

This function has no parameters.

Return Values

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