mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
removed optional bloat from prototypes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62614 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
38c16fbc75
commit
0a09869a53
1 changed files with 7 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.68 $ -->
|
||||
<!-- $Revision: 1.69 $ -->
|
||||
<reference id="ref.mysql">
|
||||
<title>MySQL Functions</title>
|
||||
<titleabbrev>MySQL</titleabbrev>
|
||||
|
@ -238,10 +238,7 @@
|
|||
<funcdef>resource <function>mysql_connect</function></funcdef>
|
||||
<paramdef>string
|
||||
<parameter>
|
||||
<optional>hostname
|
||||
<optional>:port</optional>
|
||||
<optional>:/path/to/socket</optional>
|
||||
</optional>
|
||||
<optional>server</optional>
|
||||
</parameter>
|
||||
</paramdef>
|
||||
<paramdef>string
|
||||
|
@ -262,13 +259,13 @@
|
|||
<para>
|
||||
<function>mysql_connect</function> establishes a connection
|
||||
to a MySQL server. The following defaults are assumed for
|
||||
missing optional parameters: <parameter>host:port</parameter> =
|
||||
missing optional parameters: <parameter>server</parameter> =
|
||||
'localhost:3306', <parameter>username</parameter> = name of the
|
||||
user that owns the server process and
|
||||
<parameter>password</parameter> = empty password.
|
||||
</para>
|
||||
<para>
|
||||
The hostname string can also include a port
|
||||
The <paramter>server</parameter> parameter can also include a port
|
||||
number. eg. "hostname:port" or a path to a socket
|
||||
eg. ":/path/to/socket" for the localhost.
|
||||
<note>
|
||||
|
@ -1685,10 +1682,7 @@ echo "$num_rows Rows\n";
|
|||
<funcdef>resource <function>mysql_pconnect</function></funcdef>
|
||||
<paramdef>string
|
||||
<parameter>
|
||||
<optional>hostname
|
||||
<optional>:port</optional>
|
||||
<optional>:/path/to/socket</optional>
|
||||
</optional>
|
||||
<optional>server</optional>
|
||||
</parameter>
|
||||
</paramdef>
|
||||
<paramdef>string
|
||||
|
@ -1706,13 +1700,13 @@ echo "$num_rows Rows\n";
|
|||
<para>
|
||||
<function>mysql_pconnect</function> establishes a connection
|
||||
to a MySQL server. The following defaults are assumed for
|
||||
missing optional parameters: <parameter>host:port</parameter> =
|
||||
missing optional parameters: <parameter>server</parameter> =
|
||||
'localhost:3306', <parameter>username</parameter> = name of the
|
||||
user that owns the server process and
|
||||
<parameter>password</parameter> = empty password.
|
||||
</para>
|
||||
<para>
|
||||
The hostname string can also include a port
|
||||
The <paramter>server</parameter> parameter can also include a port
|
||||
number. eg. "hostname:port" or a path to a socket
|
||||
eg. ":/path/to/socket" for the localhost.
|
||||
<note>
|
||||
|
|
Loading…
Reference in a new issue