Skip to content

Commit a714378

Browse files
kamil-tekielacmb69
authored andcommitted
Remove PHP 5 info from mysqli, PDO_MySQL and mysqlnd
Co-authored-by: Anna Filina <afilina@gmail.com> Closes GH-253.
1 parent 86a02ef commit a714378

File tree

22 files changed

+39
-402
lines changed

22 files changed

+39
-402
lines changed

reference/mysqli/constants.xml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
<listitem>
5151
<para>
5252
Convert integer and float columns back to PHP numbers. Only valid for mysqlnd.
53-
Available since PHP 5.3.0.
5453
</para>
5554
</listitem>
5655
</varlistentry>
@@ -59,7 +58,6 @@
5958
<listitem>
6059
<para>
6160
The size of the internal command/network buffer. Only valid for mysqlnd.
62-
Available since PHP 5.3.0.
6361
</para>
6462
</listitem>
6563
</varlistentry>
@@ -68,15 +66,15 @@
6866
<listitem>
6967
<para>
7068
Maximum read chunk size in bytes when reading the body of a MySQL command packet.
71-
Only valid for mysqlnd. Available since PHP 5.3.0.
69+
Only valid for mysqlnd.
7270
</para>
7371
</listitem>
7472
</varlistentry>
7573
<varlistentry xml:id="constantmysqli-opt-ssl-verify-server-cert">
7674
<term><constant>MYSQLI_OPT_SSL_VERIFY_SERVER_CERT</constant></term>
7775
<listitem>
7876
<para>
79-
Available since PHP 5.3.0. (MySQL 5.1.10 and up)
77+
Requires MySQL 5.1.10 and up
8078
</para>
8179
</listitem>
8280
</varlistentry>
@@ -531,23 +529,23 @@
531529
<term><constant>MYSQLI_DATA_TRUNCATED</constant></term>
532530
<listitem>
533531
<para>
534-
Data truncation occurred. Available since PHP 5.1.0 and MySQL 5.0.5.
532+
Data truncation occurred. Available since MySQL 5.0.5.
535533
</para>
536534
</listitem>
537535
</varlistentry>
538536
<varlistentry xml:id="constantmysqli-enum-flag">
539537
<term><constant>MYSQLI_ENUM_FLAG</constant></term>
540538
<listitem>
541539
<para>
542-
Field is defined as <literal>ENUM</literal>. Available since PHP 5.3.0.
540+
Field is defined as <literal>ENUM</literal>.
543541
</para>
544542
</listitem>
545543
</varlistentry>
546544
<varlistentry xml:id="constantmysqli-binary-flag">
547545
<term><constant>MYSQLI_BINARY_FLAG</constant></term>
548546
<listitem>
549547
<para>
550-
Field is defined as <literal>BINARY</literal>. Available since PHP 5.3.0.
548+
Field is defined as <literal>BINARY</literal>.
551549
</para>
552550
</listitem>
553551
</varlistentry>
@@ -673,7 +671,6 @@
673671
<term><constant>MYSQLI_SERVER_PUBLIC_KEY</constant></term>
674672
<listitem>
675673
<para>
676-
Available since PHP 5.5.0.
677674
</para>
678675
</listitem>
679676
</varlistentry>
@@ -816,7 +813,7 @@
816813
<term><constant>MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT</constant></term>
817814
<listitem>
818815
<para>
819-
Available since PHP 5.6.16. (MySQL 5.6.5 and up)
816+
Requires MySQL 5.6.5 and up.
820817
</para>
821818
</listitem>
822819
</varlistentry>

reference/mysqli/ini.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<entry><link linkend="ini.mysqli.allow-local-infile">mysqli.allow_local_infile</link></entry>
2121
<entry>"0"</entry>
2222
<entry>PHP_INI_SYSTEM</entry>
23-
<entry>Available as of PHP 5.2.4. Before PHP 7.2.16 and 7.3.3 the default was "1".</entry>
23+
<entry>Before PHP 7.2.16 and 7.3.3 the default was "1".</entry>
2424
</row>
2525
<row>
2626
<entry><link linkend="ini.mysqli.local-infile-directory">mysqli.local_infile_directory</link></entry>
@@ -32,13 +32,13 @@
3232
<entry><link linkend="ini.mysqli.allow-persistent">mysqli.allow_persistent</link></entry>
3333
<entry>"1"</entry>
3434
<entry>PHP_INI_SYSTEM</entry>
35-
<entry>Available as of PHP 5.3.0.</entry>
35+
<entry></entry>
3636
</row>
3737
<row>
3838
<entry><link linkend="ini.mysqli.max-persistent">mysqli.max_persistent</link></entry>
3939
<entry>"-1"</entry>
4040
<entry>PHP_INI_SYSTEM</entry>
41-
<entry>Available as of PHP 5.3.0.</entry>
41+
<entry></entry>
4242
</row>
4343
<row>
4444
<entry><link linkend="ini.mysqli.max-links">mysqli.max_links</link></entry>
@@ -86,7 +86,7 @@
8686
<entry><link linkend="ini.mysqli.rollback-on-cached-plink">mysqli.rollback_on_cached_plink</link></entry>
8787
<entry>TRUE</entry>
8888
<entry>PHP_INI_SYSTEM</entry>
89-
<entry>Available as of PHP 5.6.0.</entry>
89+
<entry></entry>
9090
</row>
9191
</tbody>
9292
</tgroup>

reference/mysqli/mysqli/commit.xml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -69,31 +69,6 @@
6969
</note>
7070
</refsect1>
7171

72-
<refsect1 role="changelog">
73-
&reftitle.changelog;
74-
<para>
75-
<informaltable>
76-
<tgroup cols="2">
77-
<thead>
78-
<row>
79-
<entry>&Version;</entry>
80-
<entry>&Description;</entry>
81-
</row>
82-
</thead>
83-
<tbody>
84-
<row>
85-
<entry>5.5.0</entry>
86-
<entry>
87-
Added <parameter>flags</parameter> and <parameter>name</parameter>
88-
parameters.
89-
</entry>
90-
</row>
91-
</tbody>
92-
</tgroup>
93-
</informaltable>
94-
</para>
95-
</refsect1>
96-
9772
<refsect1 role="examples">
9873
&reftitle.examples;
9974
<para>

reference/mysqli/mysqli/connect-error.xml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
<?php
4040
$mysqli = @new mysqli('localhost', 'fake_user', 'my_password', 'my_db');
4141
42-
// Works as of PHP 5.2.9 and 5.3.0.
4342
if ($mysqli->connect_error) {
4443
die('Connect Error: ' . $mysqli->connect_error);
4544
}
@@ -67,18 +66,6 @@ Connect Error: Access denied for user 'fake_user'@'localhost' (using password: Y
6766
</example>
6867
</refsect1>
6968

70-
<refsect1 role="notes">
71-
&reftitle.notes;
72-
<warning>
73-
<para>
74-
The mysqli-&gt;connect_error property only works properly
75-
as of PHP versions 5.2.9 and 5.3.0.
76-
Use the <function>mysqli_connect_error</function>
77-
function if compatibility with earlier PHP versions is required.
78-
</para>
79-
</warning>
80-
</refsect1>
81-
8269
<refsect1 role="seealso">
8370
&reftitle.seealso;
8471
<para>

reference/mysqli/mysqli/real-connect.xml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -190,30 +190,6 @@
190190
</variablelist>
191191
</para>
192192
</refsect1>
193-
194-
<refsect1 role="changelog"><!-- {{{ -->
195-
&reftitle.changelog;
196-
<para>
197-
<informaltable>
198-
<tgroup cols="2">
199-
<thead>
200-
<row>
201-
<entry>&Version;</entry>
202-
<entry>&Description;</entry>
203-
</row>
204-
</thead>
205-
<tbody>
206-
<row>
207-
<entry>5.6.16</entry>
208-
<entry>
209-
Added the <constant>MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT</constant> flag for MySQL Native Driver
210-
</entry>
211-
</row>
212-
</tbody>
213-
</tgroup>
214-
</informaltable>
215-
</para>
216-
</refsect1><!-- }}} -->
217193

218194
<refsect1 role="returnvalues">
219195
&reftitle.returnvalues;

reference/mysqli/mysqli/rollback.xml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -69,31 +69,6 @@
6969
</note>
7070
</refsect1>
7171

72-
<refsect1 role="changelog">
73-
&reftitle.changelog;
74-
<para>
75-
<informaltable>
76-
<tgroup cols="2">
77-
<thead>
78-
<row>
79-
<entry>&Version;</entry>
80-
<entry>&Description;</entry>
81-
</row>
82-
</thead>
83-
<tbody>
84-
<row>
85-
<entry>5.5.0</entry>
86-
<entry>
87-
Added <parameter>flags</parameter> and <parameter>name</parameter>
88-
parameters.
89-
</entry>
90-
</row>
91-
</tbody>
92-
</tgroup>
93-
</informaltable>
94-
</para>
95-
</refsect1>
96-
9772
<refsect1 role="examples">
9873
&reftitle.examples;
9974
<para>

reference/mysqli/mysqli/ssl-set.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,6 @@
3434
nothing unless OpenSSL support is enabled.
3535
</para>
3636

37-
<para>
38-
Note that MySQL Native Driver does not support SSL before PHP 5.3.3,
39-
so calling this function when using MySQL Native Driver will result
40-
in an error. MySQL Native Driver is enabled by default on Microsoft
41-
Windows from PHP version 5.3 onwards.
42-
</para>
43-
4437
</refsect1>
4538

4639
<refsect1 role="parameters">

reference/mysqli/mysqli/store-result.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
mysqlnd will use a reference logic to avoid copying and duplicating results held in memory.
5454
For certain result sets, for example, result sets with many small rows, the copy approach can
5555
reduce the overall memory usage because PHP variables holding results may be
56-
released earlier (available with mysqlnd only, since PHP 5.6.0)</entry>
56+
released earlier (available with mysqlnd only)</entry>
5757
</row>
5858
</tbody>
5959
</tgroup>

reference/mysqli/mysqli_result.xml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,6 @@
1212
<para>
1313
Represents the result set obtained from a query against the database.
1414
</para>
15-
16-
<para>
17-
<emphasis role="bold">&Changelog;</emphasis>
18-
</para>
19-
20-
<table>
21-
<title>&Changelog;</title>
22-
<tgroup cols="2">
23-
<thead>
24-
<row>
25-
<entry>&Version;</entry>
26-
<entry>&Description;</entry>
27-
</row>
28-
</thead>
29-
<tbody>
30-
<row>
31-
<entry>5.4.0</entry>
32-
<entry>
33-
<classname>Iterator</classname> support was added, as <classname>mysqli_result</classname>
34-
now implements <classname>Traversable</classname>.
35-
</entry>
36-
</row>
37-
</tbody>
38-
</tgroup>
39-
</table>
40-
4115
</section>
4216
<!-- }}} -->
4317

reference/mysqli/mysqli_result/fetch-field.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@
7474
</row>
7575
<row>
7676
<entry>db</entry>
77-
<entry>Database (since PHP 5.3.6)</entry>
77+
<entry>The name of the database</entry>
7878
</row>
7979
<row>
8080
<entry>catalog</entry>
81-
<entry>The catalog name, always "def" (since PHP 5.3.6)</entry>
81+
<entry>The catalog name, always "def"</entry>
8282
</row>
8383
<row>
8484
<entry>max_length</entry>

0 commit comments

Comments
 (0)