Skip to content

Conversation

@spaze
Copy link

@spaze spaze commented Sep 28, 2025

In my case host_info returns "Localhost via UNIX socket" meaning "Localhost" won't be found in the $localhosts array.

"Localhost" is also mentioned in the host_info manual page in the example output.

In my case host_info returns "Localhost via UNIX socket" meaning "Localhost" won't be found in the $localhosts array.

"Localhost" is also mentioned in https://www.php.net/manual/en/mysqli.get-host-info.php in the example output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant