
Druckansicht von http://www.php-homepage.de/manual/mysqli.get-host-info.php
mysqli::$host_infomysqli_get_host_info(PHP 5) mysqli::$host_info -- mysqli_get_host_info — Returns a string representing the type of connection used BeschreibungObjektorientierter Stil string $mysqli->host_info;
Prozeduraler Stil
Returns a string describing the connection represented by
the Parameter-Liste
RückgabewerteA character string representing the server hostname and the connection type. BeispieleBeispiel #1 $mysqli->host_info example Objektorientierter Stil
<?phpProzeduraler Stil
<?phpDie obigen Bespiele erzeugen folgende Ausgabe: Host info: Localhost via UNIX socket |