Documentation Home
Connectors and APIs Manual
Download this Manual
PDF (US Ltr) - 5.3Mb
PDF (A4) - 5.3Mb


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

7.3.8.54 mysqli::thread_safe, mysqli_thread_safe

Copyright 1997-2022 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.

Parameters

This function has no parameters.

Return Values

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