reference/pdo_firebird/reference.xml
40e3ec6efd533c7e729335a30057b1e036f6178d
...
...
@@ -62,6 +62,16 @@
62
62
</para>
63
63
</listitem>
64
64
</varlistentry>
65
+
<varlistentry>
66
+
<term><literal>dialect</literal></term>
67
+
<listitem>
68
+
<para>
69
+
The dialect of the database; either <literal>1</literal> or <literal>3</literal>.
70
+
If not specified, the dialect defaults to <literal>3</literal>.
71
+
Available as of PHP 7.4.0.
72
+
</para>
73
+
</listitem>
74
+
</varlistentry>
65
75
</variablelist>
66
76
</para>
67
77
</refsect1>
...
...
@@ -101,6 +111,19 @@ firebird:dbname=localhost:/var/lib/firebird/2.5/data/employee.fdb
101
111
</programlisting>
102
112
</para>
103
113
</example>
114
+
<example>
115
+
<title>PDO_FIREBIRD DSN to connect to a dialect 1 database</title>
116
+
<para>
117
+
The following example shows a PDO_FIREBIRD DSN for connecting to
118
+
a Firebird database test.fdb which has been created using dialect 1.
119
+
This is only supported as of PHP 7.4.0.
120
+
</para>
121
+
<programlisting>
122
+
<![CDATA[
123
+
firebird:dbname=localhost:/var/lib/firebird/2.5/data/test.fdb;charset=utf-8;dialect=1
124
+
]]>
125
+
</programlisting>
126
+
</example>
104
127
</para>
105
128
</refsect1>
106
129
</refentry>
107
130