php8.5
Home/ Manual/ mysqli / mysqli/ mysqli::thread_safe

mysqli::thread_safe

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Returns whether thread safety is given or not

Description

Oop

mysqli::thread_safe(): bool

Procedural

mysqli_thread_safe(): bool

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

Parameters Parameters

Return Values

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

Source: reference/mysqli/mysqli/thread-safe.xml · from the official PHP manual (php/doc-en)