reference/oci8/functions/oci-new-connect.xml
ed6de1ae20ce16c0c7be0b3fef282b6065bebfac
...
...
@@ -9,12 +9,12 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>resource</type><methodname>oci_new_connect</methodname>
12
+
<type class="union"><type>resource</type><type>false</type></type><methodname>oci_new_connect</methodname>
13
13
<methodparam><type>string</type><parameter>username</parameter></methodparam>
14
14
<methodparam><type>string</type><parameter>password</parameter></methodparam>
15
-
<methodparam choice="opt"><type>string</type><parameter>connection_string</parameter></methodparam>
16
-
<methodparam choice="opt"><type>string</type><parameter>character_set</parameter></methodparam>
17
-
<methodparam choice="opt"><type>int</type><parameter>session_mode</parameter></methodparam>
15
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>connection_string</parameter><initializer>&null;</initializer></methodparam>
16
+
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter><initializer>""</initializer></methodparam>
17
+
<methodparam choice="opt"><type>int</type><parameter>session_mode</parameter><initializer><constant>OCI_DEFAULT</constant></initializer></methodparam>
18
18
</methodsynopsis>
19
19
<para>
20
20
Establishes a new connection to an Oracle server and logs on.
...
...
@@ -55,7 +55,7 @@
55
55
</listitem>
56
56
</varlistentry>
57
57
<varlistentry>
58
-
<term><parameter>character_set</parameter></term>
58
+
<term><parameter>encoding</parameter></term>
59
59
<listitem>
60
60
&oci.charset;
61
61
</listitem>
...
...
@@ -77,6 +77,28 @@
77
77
</para>
78
78
</refsect1>
79
79

80
+
<refsect1 role="changelog">
81
+
&reftitle.changelog;
82
+
<informaltable>
83
+
<tgroup cols="2">
84
+
<thead>
85
+
<row>
86
+
<entry>&Version;</entry>
87
+
<entry>&Description;</entry>
88
+
</row>
89
+
</thead>
90
+
<tbody>
91
+
<row>
92
+
<entry>8.0.0, PECL OCI8 3.0.0</entry>
93
+
<entry>
94
+
<parameter>connection_string</parameter> is now nullable.
95
+
</entry>
96
+
</row>
97
+
</tbody>
98
+
</tgroup>
99
+
</informaltable>
100
+
</refsect1>
101
+

80
102
<refsect1 role="examples">
81
103
&reftitle.examples;
82
104
<para>
...
...
@@ -146,7 +168,6 @@ query("new connection after commit", $c2);
146
168
</refsect1>
147
169

148
170
</refentry>
149
-

150
171
<!-- Keep this comment at the end of the file
151
172
Local variables:
152
173
mode: sgml
153
174