Commit graph

26050 commits

Author SHA1 Message Date
Christoph Michael Becker
40bd5bc761 Technical docs should state facts, not wishful thinking
Cf. <https://3v4l.org/4XVcU>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350095 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-01 11:13:20 +00:00
Christoph Michael Becker
0bd5779b20 Add availability info for opcache.huge_code_pages
Cf. <https://bugs.php.net/bug.php?id=79751#1593553471>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350090 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-30 22:12:16 +00:00
Christoph Michael Becker
56e2aa4ff4 opcache.huge_code_pages is boolean, not string
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350088 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-30 14:25:00 +00:00
Christoph Michael Becker
0841cced6c Fix #79747: __autoload not labeled as "Deprecated"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350087 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-29 07:17:39 +00:00
Christoph Michael Becker
6318fc9e8b Mark ZipArchive methods as public
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350084 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-25 20:44:07 +00:00
Christoph Michael Becker
ba5c839903 Document domain element of $server_name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350083 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-25 19:50:23 +00:00
Christoph Michael Becker
fc5c96bbc1 Document important OPcache settings for Windows
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350081 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-24 14:48:11 +00:00
Christoph Michael Becker
846e28ea1b SplFileObject: fix links in the seealso section
Patch contributed by Fabien Villepinte.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350079 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-23 21:57:57 +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
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