Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<mysqli::$thread_idmysqli::use_result>
^mysqliLast updated: Mon, 26 Oct 2026

mysqli::thread_safe

mysqli_thread_safe

(PHP 5, PHP 7, PHP 8)

mysqli::thread_safe -- mysqli_thread_safe — Returns whether thread safety is given or not

Description

Object-oriented style

public function mysqli::thread_safe(): bool

Procedural style

function 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.


<mysqli::$thread_idmysqli::use_result>
^mysqliLast updated: Mon, 26 Oct 2026