Commit graph

26012 commits

Author SHA1 Message Date
Remi Collet
e5d37ea6a0 add ZipArchive::CM_ZSTD constant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350185 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-21 13:06:39 +00:00
Christopher Jones
2bbdb795c4 Make OCI8 TAF example runnable
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350179 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-21 06:29:26 +00:00
Remi Collet
69795fb4c7 document zip procedural API as deprecated in 8.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350175 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-20 10:26:13 +00:00
Christoph Michael Becker
be1cedff74 Fix #79871: On Windows, php can sleep only in 1ms steps
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350174 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-20 09:11:51 +00:00
Jeremy Mikola
b168602e84 Fix type for MongoDB\Driver\RuntimeException errorLabels prop
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350161 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-16 13:46:54 +00:00
Christoph Michael Becker
70ee71ffb4 Update inode info regarding Windows
We also fix the markup, and an erroneous info about the device number.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350157 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-15 11:43:25 +00:00
Christoph Michael Becker
411c8ecee0 Update info regarding max integer size on 64bit Windows
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350156 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-15 10:02:46 +00:00
Christoph Michael Becker
3330bf610f Locales are maintained per thread on Windows for quite some time
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350153 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-14 09:14:40 +00:00
Christoph Michael Becker
386d56a79b Document expected issues when running as network service on Windows
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350149 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-13 15:37:07 +00:00
Christoph Michael Becker
488b11037f Fully document behavior of negative arguments to mb_strcut
When reading the source code, I noticed there is some special handling of
negative 'start' and 'length' arguments which is not mentioned in the
manual.

Patch contributed by Alex Dowad.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350143 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-12 10:09:21 +00:00
Christoph Michael Becker
72bc373e47 Document dev element of stat() array on Windows
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350100 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-03 08:30:39 +00:00
Christoph Michael Becker
3b325dcb9a Document different behavior of readlink() on Windows
Cf. <https://github.com/php/php-src/pull/3825#issuecomment-467837181>.

While we're at it, we also fix the order of the "returnvalues" and "changelog" sections.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350097 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-02 13:25:03 +00:00
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