[php-src] Issue #8377: Call to undefined function mysqli_connect()

From: Date: Fri, 15 Apr 2022 05:28:46 +0000
Subject: [php-src] Issue #8377: Call to undefined function mysqli_connect()
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-240980@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8377 Author: L-Ascorbic-acid ### Description The following code: ```php <?php $link=mysqli_connect("localhost","root","root")or die("false to connect".mysqli_connect_error()); echo ("OK"); ?> ``` Resulted in this output: ``` Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in E:\connect.php:8 Stack trace: #0 {main} thrown in E:\connect.php on line 8 ``` But I expected this output instead: ``` OK ``` ### PHP Version PHP 8.1.4 ### Operating System Windows 10

« previous php.bugs (#240980) next »