From 0a09869a53f6c88db95dc781c0f6f8ba8a44b0fa Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Fri, 16 Nov 2001 22:22:18 +0000 Subject: [PATCH] removed optional bloat from prototypes git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62614 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/mysql.xml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/functions/mysql.xml b/functions/mysql.xml index eb27ade4a8..1012d6be27 100644 --- a/functions/mysql.xml +++ b/functions/mysql.xml @@ -1,5 +1,5 @@ - + MySQL Functions MySQL @@ -238,10 +238,7 @@ resource mysql_connect string - hostname - :port - :/path/to/socket - + server string @@ -262,13 +259,13 @@ mysql_connect establishes a connection to a MySQL server. The following defaults are assumed for - missing optional parameters: host:port = + missing optional parameters: server = 'localhost:3306', username = name of the user that owns the server process and password = empty password. - The hostname string can also include a port + The server parameter can also include a port number. eg. "hostname:port" or a path to a socket eg. ":/path/to/socket" for the localhost. @@ -1685,10 +1682,7 @@ echo "$num_rows Rows\n"; resource mysql_pconnect string - hostname - :port - :/path/to/socket - + server string @@ -1706,13 +1700,13 @@ echo "$num_rows Rows\n"; mysql_pconnect establishes a connection to a MySQL server. The following defaults are assumed for - missing optional parameters: host:port = + missing optional parameters: server = 'localhost:3306', username = name of the user that owns the server process and password = empty password. - The hostname string can also include a port + The server parameter can also include a port number. eg. "hostname:port" or a path to a socket eg. ":/path/to/socket" for the localhost.