Commit graph

25829 commits

Author SHA1 Message Date
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
Christoph Michael Becker
b7b4878ce6 DB++/installation: extension was moved to PECL
Based on the version nrs used for the functions, this extension has not been bundled with PHP since 4.1.0.

Ref: https://www.php.net/manual/en/ref.dbplus.php

Patch contributed by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349962 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-23 14:31:46 +00:00
Christoph Michael Becker
8fabaa64fa Informix/installation: extension was moved to PECL
Updating: https://www.php.net/manual/en/ifx.installation.php

The Informix extension was moved to PECL as of PHP 5.2.1.

Ref: https://www.php.net/manual/en/book.ifx.php

Patch contributed by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349961 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-23 14:21:09 +00:00
Christoph Michael Becker
8c1cbb0cd3 DBX/installation: extension was moved to PECL
The extension has not been longer bundled with PHP since 5.1.0.

Ref: https://www.php.net/manual/en/intro.dbx.php

Patch provided by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349953 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-21 09:38:34 +00:00
Christoph Michael Becker
e020f80412 fix ugly bug in sample code
imagine if 2 handles finish in the same multi_exec(), before exec() $active is 2 and after the call $active is 0, then we read the first message, and the the message from the 2nd handle will be lost/ignored!

this has caused real bugs in the wild, see https://stackoverflow.com/questions/61920359/count-how-many-curl-multi-requests-have-been-made/61923372

Patch provided by divinity76.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349952 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-21 09:35:34 +00:00
Christoph Michael Becker
460d6e65c0 Firebird/Interbase: extension was moved to PECL as of PHP 7.4
As per: https://www.php.net/manual/en/migration74.removed-extensions.php

Adjustments include:
* Adding a note about the removal on the [introduction](https://www.php.net/manual/en/intro.ibase.php) page.
* Adding a note about the removal on the [installation](https://www.php.net/manual/en/ibase.installation.php) page.
* Adjusting the version numbers for all functions.

Patch provided by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349951 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-21 09:16:23 +00:00
Christoph Michael Becker
562aa81d99 Msql: extension was removed as of PHP 5.3
As per: https://www.php.net/manual/en/migration53.removed-extensions.php

AFAICS the extension was *not* moved to PECL.

With that in mind, I've not used the macros, but have used similar phrasing as used in the macros.

Adjustments include:
* Adding a note about the removal on the [introduction](https://www.php.net/manual/en/intro.msql.php) page.
* Adding a note about the removal on the [installation](https://www.php.net/manual/en/msql.installation.php) page.
* Adjusting the version numbers for all functions.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349950 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-21 09:09:44 +00:00
Christoph Michael Becker
1e6d2de37d filePro: extension was moved to PECL / no longer bundled with PHP as of PHP 5.2
As per: https://www.php.net/manual/en/intro.filepro.php

It is unclear to me what the current version nr is of the PECL extension, but showing the functions as if they are available in PHP > 5.2 seems wrong either way.

Includes adding a mention of when the extension was moved to PECL on the "Installing/Configuring" page.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349949 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-21 09:02:32 +00:00
Christoph Michael Becker
cb0c1b1cff Frontbase: extension was moved to PECL
The extension has not been bundled with PHP since 5.3.0, so shouldn't give the impression that the functions are available in all PHP 5 versions, as well as PHP 7.

As I couldn't find the extension on PECL anymore, I have not included "PECL/fbsql SVN" in the version nr.

Ref: https://www.php.net/manual/en/intro.fbsql.php


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349948 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-21 08:56:09 +00:00
Jeremy Mikola
2ac2cc7f26 Clarify return type for Javascript::getScope
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349938 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-20 20:01:30 +00:00