Commit graph

25988 commits

Author SHA1 Message Date
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
Christoph Michael Becker
ac2f69b3d0 MySQLi: various updates [8] - method modifiers (mysqli_stmt)
Add modifiers to the class methods for the `mysqli_stmt` class to make the [Class Synopsos](https://www.php.net/manual/en/class.mysqli-stmt.php#mysqli-stmt.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@350065 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 14:59:49 +00:00
Christoph Michael Becker
22020d276d MySQLi: various updates [7] - add mysqli 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` 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@350064 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 14:59:01 +00:00
Christoph Michael Becker
7f5b8ffd1c MySQLi: various updates [6] - remove superfluous param (mysqli)
* When called OO-style, the `mysqli $link` does not need to be passed AFAIK. Verification recommended.
* Add the method visibility modifier.

Patch contributed by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350063 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 14:58:14 +00:00
Christoph Michael Becker
a3e019b85e MySQLi: various updates [5] - fix typo (mysqli)
* Fix typo - method was referring to the wrong class in its signature.
* Add the method visibility modifier.

Patch contributed by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350062 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 14:57:26 +00:00
Christoph Michael Becker
dc2feba863 MySQLi: various updates [4] - missing OO style method signatures (mysqli)
Two documentation pages did display the procedural style method signature, but were missing the OO-style signature.

Patch contributed by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350061 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 14:56:40 +00:00
Christoph Michael Becker
144fc4f4d1 MySQLi: various updates [3] - mysqli class synopsis incomplete
A number of methods weren't showing in the [Class Synopsos](https://www.php.net/manual/en/class.mysqli.php#mysqli.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@350060 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 14:55:47 +00:00
Christoph Michael Becker
46319b5952 MySQLi: various updates [2] - method modifiers (mysqli)
Add modifiers to the class methods for the mysqli class to make the [Class Synopsos](https://www.php.net/manual/en/class.mysqli.php#mysqli.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.

Includes minor indentation fixes.

Patch contributed by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350059 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 14:54:52 +00:00
Christoph Michael Becker
cb9c00b594 MySQLi: various updates [1] - constants
* Add constants missing from the [Predefined Constants](https://www.php.net/manual/en/mysqli.constants.php) page.
    These constants were added after the initial introduction of the extension.
    Descriptions based on the descriptions for the `$options` parameter of [mysqli::options()](https://www.php.net/manual/en/mysqli.options.php)
    Version nrs based on the [extension changelog](https://www.php.net/manual/en/changelog.mysqli.php) and [src](7c33644fed/ext/mysqli/mysqli.c (L672-L678))
* Annotated the "since" version for various options for the `$options` parameter of [mysqli::options()](https://www.php.net/manual/en/mysqli.options.php)
* Removed duplicate constant name in the [mysqli::options() changelog](https://www.php.net/manual/en/mysqli.options.php#refsect1-mysqli.options-changelog)

Patch contributed by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350058 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-20 14:54:03 +00:00
Christoph Michael Becker
8cd8caa1c2 Document SSL context option security_level
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350049 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-18 12:26:26 +00:00
Christoph Michael Becker
d58113dddf Fix #79711: typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350048 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-18 11:04:17 +00:00
Christoph Michael Becker
24143af06c Fix #79704: proc_open failure with Windows
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350047 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-18 08:53:34 +00:00
Christoph Michael Becker
001013aeb8 Fix #50305: DOTNET Warning
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350046 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-18 08:42:17 +00:00
Christoph Michael Becker
27ca68ce99 Fix #79439: Warn about different behavior of chdir() under ZTS
In response to Bug #79439 (https://bugs.php.net/bug.php?id=79439), where a user
reported the (correct, but surprising) behavior of `chdir` as a bug.

Also warn that with ZTS, return value of getcwd() may differ from OS cwd,
and warn that chroot() is not available on ZTS builds.

Patch provided by Alex Dowad.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350045 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-18 08:15:11 +00:00
Christoph Michael Becker
3ecec0aefa list(): add changelog entry for reference assignments
... and remove the links in the changelog.

Patch contributed by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350044 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-18 08:05:54 +00:00
Christoph Michael Becker
4b89ef88e4 Update supported Phar signature formats
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350041 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-17 11:29:50 +00:00
Remi Collet
ed67344bbd new constant in zip 1.19.0 / php 8.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350037 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-15 14:03:21 +00:00
Karoly Negyesi
7a1faecefe document rules
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350035 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-14 23:05:03 +00:00
Christoph Michael Becker
5390e7919f Concatenation has the same precedence as addition
This integrates user note 125110.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350033 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-14 11:52:10 +00:00
Karoly Negyesi
3717f34598 document INTL_ICU_VERSION
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350031 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-12 11:16:43 +00:00
Jeremy Mikola
57f5cde3ce Update driver requirements for PHP version and libraries
https://jira.mongodb.org/browse/PHPC-1442


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350029 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-10 20:44:20 +00:00
Christoph Michael Becker
998a03eb17 Fix Phar::offsetGet return type
Patch contributed by Gregor Harlan.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350026 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-10 11:52:14 +00:00
Peter Cowburn
bbe604e700 Add note on behavior of ArrayIterator::offsetUnset when used on current iteration index
Patch by Alex Dowad.

Closes php/doc-en#118

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350025 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-10 09:49:43 +00:00
Christoph Michael Becker
047e515775 Clarify meaning of negative default_socket_timeout
Cf. <https://github.com/php/php-src/pull/5693>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350020 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-09 17:13:21 +00:00
Christoph Michael Becker
06cae82e92 Fix #79682: Missing deprecation notice
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350019 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-09 16:50:02 +00:00
Nikita Popov
de7a562901 Add note on default value of $description param for assert
Patch by alexdowad.

Closes php/doc-en#117.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350018 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-09 07:49:32 +00:00
Peter Cowburn
a43655118b more details for typed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350015 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-08 20:49:01 +00:00
Yoshinari Takaoka
520d8f432f set svn properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350012 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-05 19:23:51 +00:00
Remi Collet
e80d8de42c new method in zip 1.19.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350010 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-05 15:22:10 +00:00
Christoph Michael Becker
0536573944 Updates regarding text/binary mode
On Windows, 'b' is the default as of PHP 5.0.0.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350008 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-04 10:35:17 +00:00
Jeremy Mikola
f9e44aad38 Clarify handling of database name URI component
https://jira.mongodb.org/browse/PHPC-1384


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350007 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-03 19:27:03 +00:00
Christoph Michael Becker
b166d394e6 Document behavior of out-of-range INI settings
Cf. <https://bugs.php.net/79644>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350001 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-02 11:38:01 +00:00
Karoly Negyesi
5f90c8ee0f warning is correct but it doesnt return null
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350000 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-02 09:12:06 +00:00
Christoph Michael Becker
d8567f0b1a Fix #79661: PDO::ATTR_PERSISTENT also accepts a string key
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349999 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-02 08:42:00 +00:00
Christoph Michael Becker
e7bc899179 Fix example
A column declared as "string" has numeric type affinity, which may cause
unexpected results.

This integrates user note 125069.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349998 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-02 08:01:54 +00:00
Karoly Negyesi
dc9b239186 document setcookie options keys
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349997 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-01 22:21:53 +00:00
Andreas Braun
7c9848e8ee MongoDB: document new functionality for server hedged reads
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349992 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-29 10:57:51 +00:00
Christoph Michael Becker
f211666868 PostgresSQL: add missing constants & annotate since version
Updating: https://www.php.net/manual/en/pgsql.constants.php

* Add a few constants which weren't listed, but were added in PHP 5.6 / PHP 7.3.
* Annotate the `since` version for various constants.

Refs:
* https://www.php.net/manual/en/migration56.constants.php#migration56.constants.pgsql
* https://www.php.net/manual/en/migration73.constants.php#migration73.constants.pgsql

Patch contributed by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349989 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-28 07:02:36 +00:00
Christoph Michael Becker
c8c2221d70 OCI8: various tweaks to the function version numbers
Patch contributed by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349988 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-28 06:49:55 +00:00
Christoph Michael Becker
fff5c28bdb mailparse DLLs are available for a long time
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349985 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-27 13:09:22 +00:00
Nikita Popov
adb272db3d Use doc-base from php organization
Patch by rlenferink.

Closes php/doc-en#113.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349984 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-26 18:33:41 +00:00
Christoph Michael Becker
d4fc011c85 escapeshellcmd() works on Windows for a looong time
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349978 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-25 15:53:30 +00:00
Christoph Michael Becker
5e803ed87f Fix section order
It's supposed to be return values, changelog, examples.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349972 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-24 11:49:30 +00:00
Christoph Michael Becker
5d3f4f8b94 PHP 7.4: PCRE: document new $flags param for preg_replace_callback[_array]()
The PHP 7.4 `$flags` parameter as added to the `preg_replace_callback()` and `preg_replace_callback_array()` function was not yet included in the documentation.

In this PR, I'm
* Adding the parameter to the function signature.
* Adding minimal parameter documentation with a reference to the more detailed explanation in the parameter documentation of the [`preg_match()`](https://www.php.net/manual/en/function.preg-match.php) function.
* Adding a changelog entry for the parameter to each function.

Refs:
* https://github.com/php/php-src/pull/3958
* 2f1398dad9/UPGRADING (L304-L308)

Patch contributed by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349965 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-23 15:01:09 +00:00
Christoph Michael Becker
fe688bce82 MaxDB/installation: extension is PECL only
Updating: https://www.php.net/manual/en/maxdb.installation.php

This extension is not bundled with PHP, so people need to download the PECL extension before they can use the extension.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349964 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-23 14:38:33 +00:00
Christoph Michael Becker
96466c3294 The DB++ extension has only unbundled as of PHP 4.3.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349963 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-23 14:35:11 +00:00