mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00

Batch 1 of amending tests, so they can run in parallel. Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
25 lines
433 B
PHP
25 lines
433 B
PHP
--TEST--
|
|
function test: mysqli_stat
|
|
--EXTENSIONS--
|
|
mysqli
|
|
--SKIPIF--
|
|
<?php
|
|
require_once dirname(__DIR__) . "/test_setup/test_helpers.inc";
|
|
mysqli_check_skip_test();
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
require_once dirname(__DIR__) . "/test_setup/test_helpers.inc";
|
|
|
|
$link = default_mysqli_connect();
|
|
|
|
$status = mysqli_stat($link);
|
|
|
|
var_dump(strlen($status) > 0);
|
|
|
|
mysqli_close($link);
|
|
print "done!";
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|
|
done!
|