mysqli_init

Supported Versions: PHP 5, PHP 7, PHP 8
Initializes MySQLi and returns an object for use with mysqli_real_connect()
<?php public mysqli::init(): ?bool
<?php         iterable $preInitializers = [],

        iterable $postInitializers = []

    ) {

        $connection = mysqli_init();

        assert($connection !== false);



        foreach ($preInitializers as $initializer) {