Schneespur — Open-source winter service documentation software (PWA + Admin). GPS tracking via OwnTracks, weather data, photo evidence, and legally compliant service records for winter maintenance operators. License: AGPL-3.0-or-later
20 lines
349 B
PHP
20 lines
349 B
PHP
<?php
|
|
|
|
namespace Safe;
|
|
|
|
use Safe\Exceptions\MysqliException;
|
|
|
|
/**
|
|
* @return array
|
|
* @throws MysqliException
|
|
*
|
|
*/
|
|
function mysqli_get_client_stats(): array
|
|
{
|
|
error_clear_last();
|
|
$safeResult = \mysqli_get_client_stats();
|
|
if ($safeResult === false) {
|
|
throw MysqliException::createFromPhpError();
|
|
}
|
|
return $safeResult;
|
|
}
|