MYSQLI_IS_MARIADB

ConstantDeprecated in PHP 8.2

MYSQLI_IS_MARIADB — Whether the mysqli extension has been built against a MariaDB client library. Available as of PHP 8.1.2.

PHP 5
PHP 7
PHP 8.0
PHP 8.1
Added
PHP 8.2
Deprecated
PHP 8.3
PHP 8.4
PHP 8.5
PHP 8.6
/** @deprecated Constant MYSQLI_IS_MARIADB is deprecated since 8.2, as it is always false */
MYSQLI_IS_MARIADB = FALSE;

Changes to the MYSQLI_IS_MARIADB Constant

PHP 8.2

  • Constant deprecated
var_dump(MYSQLI_IS_MARIADB);
// 
Constant MYSQLI_IS_MARIADB is deprecated

PHP 8.1

  • Constant added

MYSQLI_IS_MARIADB Constant Availability

PHP VersionAvailability
PHP 8.6Upcoming Release Yes Deprecated
PHP 8.5Supported (Latest) Yes Deprecated
PHP 8.4Supported Yes Deprecated
PHP 8.3Security-Fixes Only Yes Deprecated
PHP 8.2Security-Fixes Only Yes Deprecated
PHP 8.1Unsupported Yes
PHP 8.0Unsupported No
PHP 7.4Unsupported No
PHP 7.3Unsupported No
PHP 7.2Unsupported No
PHP 7.1Unsupported No
PHP 7.0Unsupported No
PHP 5.6Unsupported No
PHP 5.5Unsupported No
PHP 5.4Unsupported No
PHP 5.3Unsupported No