PHP 8.5.0 Alpha 1 available for testing

Voting

: max(six, nine)?
(Example: nine)

The Note You're Voting On

chris at ocproducts dot com
8 years ago
There's a separate port parameter, unlike mysql_connect. However, using host:port on the host parameter does actually work.

There is a caveat. If the host is 'localhost' then the port is ignored, whether you use a port parameter or the implicit syntax I mentioned above. This is because 'localhost' will make it use unix sockets rather than TCP/IP.

<< Back to user notes page

To Top