Documentation Home
Connectors and APIs Manual
Download this Manual

Connectors and APIs Manual  /  ...  /  mysqli::thread_safe, mysqli_thread_safe

7.3.8.54 mysqli::thread_safe, mysqli_thread_safe

Copyright 1997-2021 the PHP Documentation Group.

  • mysqli::thread_safe

    mysqli_thread_safe

    Returns whether thread safety is given or not

Description

Object oriented style

public bool mysqli::thread_safe();

Procedural style

bool mysqli_thread_safe();

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

Return Values

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