Dharman
be526864c9
Updating mysqli docs: mysqli::__construct
...
Co-authored-by: Anna Filina <afilina@gmail.com>
Closes GH-178.
2021-01-12 16:10:33 +01:00
Dharman
2bd21ff7be
Updating mysqli: fixing mysqli_report
...
Co-authored-by: Anna Filina <afilina@gmail.com>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-180.
2021-01-10 13:28:10 +01:00
Dharman
a714378ed8
Remove PHP 5 info from mysqli, PDO_MySQL and mysqlnd
...
Co-authored-by: Anna Filina <afilina@gmail.com>
Closes GH-253.
2021-01-10 12:47:52 +01:00
Kamil Tekiela
72880807af
Fix double full stop in several places.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352282 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-29 17:43:02 +00:00
Christoph Michael Becker
038bdb1d98
Remove introductory MySQLi example
...
This example does not use modern best practices to avoid security issues
(prepared statements, proper output escaping), and is heavily criticized for
that. Fixing that would make the introductory example even more complex;
turning that section into a small tutorial (what was likely the original
intent) would make sense, but apparently nobody ever worked on that, so we
remove this example section altogether.
Cf. <https://github.com/php/doc-en/pull/278 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352184 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 11:55:03 +00:00
Kamil Tekiela
ce753ccd3d
Doc Bug #72393 mysqli_stmt_field_count undocumented
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352160 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-21 23:07:01 +00:00
Christoph Michael Becker
4473119c07
Revert revision 352076 from phpdoc/en/trunk/reference/mysqli:
...
MySQL's utf8 has *at* *most* 3 byte per codepoint
........
As pointed out by dharman, the new info is wrong.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352139 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-19 16:46:03 +00:00
Christoph Michael Becker
d2dd88a60c
MySQL's utf8 has *at* *most* 3 byte per codepoint
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352076 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-14 19:14:32 +00:00
Christoph Michael Becker
ee4558e955
utf8 has been deprecated for past 10 years
...
Closes GH-252.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352075 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-14 19:07:56 +00:00
Christoph Michael Becker
053609a5c9
Updating mysqli: free result
...
Closes GH-240.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352045 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 22:26:28 +00:00
Christoph Michael Becker
b9ba4fca83
Updating mysqli: Remove pre-deprecation notice
...
Closes GH-247.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352044 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 22:15:36 +00:00
Christoph Michael Becker
f8d26b8229
Update mysqli/options.xml
...
We document the most important missing options, and remove obsolete
PHP 5 specific info.
Closes GH-245.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351748 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-29 15:01:45 +00:00
Christoph Michael Becker
8bacb88eb4
Actually remove mysqli_warning::__construct() docs
...
Cf. <https://github.com/php/doc-en/pull/248 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351738 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 23:26:18 +00:00
Christoph Michael Becker
e476d30297
Remove mysqli_warning::__construct
...
Closes GH-248.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351737 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 23:24:09 +00:00
Christoph Michael Becker
d6882d8c73
mysqli_warning is final (at least as of PHP 7.0.0)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351736 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 23:21:03 +00:00
Christoph Michael Becker
e41806c30b
Revert revision(s) 351724 from phpdoc/en/trunk:
...
Document false and null return types
Cf. <https://news-web.php.net/php.doc.cvs/17645 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker
4754397753
Revert revision 351727 from phpdoc/en/trunk:
...
Document false and null return types
Cf. <https://news-web.php.net/php.doc.cvs/17645 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b
Document false and null return types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Jakub Vrana
c80da7c04a
Document false and null return types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
Christoph Michael Becker
854af29294
MYSQLI_OPT_READ_TIMEOUT is available as of PHP 7.2.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351425 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-18 13:44:17 +00:00
Christoph Michael Becker
d0c49dec8d
Document MYSQLI_OPT_READ_TIMEOUT on mysqli::options page
...
Patch contributed by daverandom.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351420 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-18 00:04:47 +00:00
Chris Wright
2a4707655b
Add MYSQLI_OPT_READ_TIMEOUT
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351419 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-17 23:28:16 +00:00
Christoph Michael Becker
97986d5b11
MYSQLI_REPORT_OFF is the default mode
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351394 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-15 12:59:47 +00:00
Christoph Michael Becker
cea4f10f29
mysqli works with objects, not resources
...
We also remove the strange bracketed info on the summary page. Maybe it was
meant to say "Not *when* called on an object, as it returns a $mysqli object",
but that's not true, because "$mysqli->init()" just returns NULL. Of course,
that doesn't make sense, and likely mysqli::init() was supposed to be called
statically, but that is no longer supported anyway.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351331 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-08 15:27:46 +00:00
Christoph Michael Becker
14ba1dcb17
Updating mysqli: bring overview up to date
...
Patch contributed by Dharman <tekiela246@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351329 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-08 12:25:50 +00:00
Christoph Michael Becker
63319dea7d
Update mysqli api support for transactions
...
* MySQL calls it autocommit mode:
https://dev.mysql.com/doc/refman/8.0/en/innodb-autocommit-commit-rollback.html
* Fix examples. Enable error reporting and remove closing tag
* Fixed the two broken links and added mysqli::begin_transaction
Patch contributed by Dharman <tekiela246@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351328 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-08 12:05:52 +00:00
Christoph Michael Becker
819cd5d7d1
Remove non-existent functions and remove Embedded server support from overview
...
Patch contributed by Dharman <tekiela246@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351293 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-07 21:11:47 +00:00
Christoph Michael Becker
50a0ec797b
Use proper variadics instead of pseudo variadics
...
Apparently, these have been overlooked so far.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351234 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 18:07:20 +00:00
Christoph Michael Becker
4ec4293189
Remove obsolete PHP 5 specific mysqli docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351218 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 12:44:36 +00:00
Christoph Michael Becker
b95d28e6ec
Fix return types
...
Functions which return false on failure should state that in their
signature as well.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker
86e6094e86
Use canonical type names
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
3742d36be1
Improve transaction examples for mysqli
...
A correct example was provided in begin_transaction() and commit()
& rollback are linked. For autocommit the example was expanded to
show how one can use autocommit to create transactions. This
should also clarify the behaviour of commit in regards to
autocommit. A note section was copied from autocommit doc to the
other three.
Also added simple description of SAVEPOINT and RELEASE SAVEPOINT.
Patch contributed by Dharman <tekiela246@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351087 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 15:45:26 +00:00
Christoph Michael Becker
a8e0638ea5
Remove rest of mysqli RPL docs amendment
...
Patch contributed by Dharman <tekiela246@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351046 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-29 13:49:04 +00:00
Christoph Michael Becker
f9d91f0741
Remove rest of mysqli RPL docs
...
Patch contributed by Dharman <tekiela246@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351045 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-29 13:36:19 +00:00
Christoph Michael Becker
d5d4f158b9
There is no mysqli_warning_next
...
Patch contributed by Dharman <tekiela246@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351029 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-28 22:28:51 +00:00
Christoph Michael Becker
faa2178d53
Remove mysqli_rpl_query_type page from manual
...
That function is removed as of PHP 5.3.0.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351028 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-28 18:29:07 +00:00
Christoph Michael Becker
8f772a992e
Remove docs for mysqli aliases which are removed as of PHP 5.4.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350987 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-25 14:56:47 +00:00
Christoph Michael Becker
dec1f8445a
Remove safe_mode related information
...
Sorry, translators, for breaking your builds again.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350871 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-13 22:07:26 +00:00
Christoph Michael Becker
7f569e1f17
Remove more changelog entries, mostly from PHP 5.3 era
...
Patch contributed by Sobak <msobaczewski@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350655 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:08:59 +00:00
Christoph Michael Becker
9af43469f4
Remove more changelog entries, mostly from PHP 5.2 era
...
Patch contributed by Sobak <msobaczewski@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350654 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:52:31 +00:00
Philip Olson
03f0ebc60c
Documented the new local_infile_directory functionality via WL #14102
...
Specific version information is unknown; will update later.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350567 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-14 21:58:55 +00:00
Christoph Michael Becker
1022e281c9
mysqli::set_local_infile_default() is removed as of PHP 5.4.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350074 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 15:10:39 +00:00
Christoph Michael Becker
f36ae1a68d
MySQLi: various updates [17] - add mysqli_warning methods to versions
...
The OO-style methods were not included in the `versions.xml` file. This is a known issue based on the `FIXME` comment at the top of the file.
This commit adds the methods from the `mysqli_warning` class to the `versions.xml` file.
Version numbers based on the versions as set for the procedural functions. **This will need verification.**
Includes removing the `FIXME` comments as AFAICS all methods have now been added.
Patch contributed by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350073 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 15:06:27 +00:00
Christoph Michael Becker
ce1d9493b9
MySQLi: various updates [15] - add mysqli_driver methods to versions
...
The OO-style methods were not included in the `versions.xml` file. This is a known issue based on the `FIXME` comment at the top of the file.
This commit adds the methods from the `mysqli_driver` class to the `versions.xml` file.
Version numbers based on the versions as set for the procedural functions. **This will need verification.**
Patch contributed by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350072 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 15:05:37 +00:00
Christoph Michael Becker
36ca1dd256
MySQLi: various updates [14] - method modifiers (mysqli_driver)
...
Add modifiers to the class methods for the `mysqli_driver` class to make the [Class Synopsos](https://www.php.net/manual/en/class.mysqli-driver.php#mysqli-driver.synopsis ) more consistent.
Based on the [stub](https://github.com/php/php-src/blob/master/ext/mysqli/mysqli.stub.php ) all methods in the class are `public`, so I've annotated them as such.
Patch contributed by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350071 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 15:04:51 +00:00
Christoph Michael Becker
db690f4a41
MySQLi: various updates [13] - add mysqli_result methods to versions
...
The OO-style methods were not included in the `versions.xml` file. This is a known issue based on the `FIXME` comment at the top of the file.
This commit adds the methods from the `mysqli_result` class to the `versions.xml` file.
Version numbers based on the versions as set for the procedural functions. This may need verification.
Patch contributed by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350070 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 15:04:02 +00:00
Christoph Michael Becker
7f940ab1e9
MySQLi: various updates [12] - mysqli_result class synopsis incomplete
...
A number of methods weren't showing in the [Class Synopsos](https://www.php.net/manual/en/class.mysqli-result.php#mysqli-result.synopsis ).
I suspect this was caused by the missing `role="oop"` for the `methodsynopsis` element.
Patch contributed by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350069 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 15:03:12 +00:00
Christoph Michael Becker
c1434c95fc
MySQLi: various updates [11] - method modifiers (mysqli_result)
...
Add modifiers to the class methods for the `mysqli_result` class to make the [Class Synopsos](https://www.php.net/manual/en/class.mysqli-result.php#mysqli-result.synopsis ) more consistent.
Based on the [stub](https://github.com/php/php-src/blob/master/ext/mysqli/mysqli.stub.php ) all methods in the class are `public`, so I've annotated them as such.
Patch contributed by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350068 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 15:02:28 +00:00
Christoph Michael Becker
cc7a508844
MySQLi: various updates [10] - add mysqli_stmt methods to versions
...
The OO-style methods were not included in the `versions.xml` file. This is a known issue based on the `FIXME` comment at the top of the file.
This commit adds the methods from the `mysqli_stmt` class to the `versions.xml` file.
Version numbers based on the versions as set for the procedural functions. This may need verification.
Patch contributed by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350067 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 15:01:34 +00:00
Christoph Michael Becker
802b577a4b
MySQLi: various updates [9] - mysqli_stmt class synopsis incomplete
...
A number of methods weren't showing in the [Class Synopsos](https://www.php.net/manual/en/class.mysqli-stmt.php#mysqli-stmt.synopsis ).
Looking at the docs, I suspect this was caused by the ` (method):` after the `&style.oop;` annotation and/or the missing `role="oop"` for the `methodsynopsis` element.
Includes minor indentation fixes.
Patch contributed by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350066 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 15:00:42 +00:00