Commit graph

26009 commits

Author SHA1 Message Date
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
Jeremy Mikola
bb2ddfffc1 Clarify return type for WriteConcernError and WriteError getInfo methods
https://jira.mongodb.org/browse/PHPC-1628


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349937 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-20 19:59:15 +00:00
Christoph Michael Becker
e327c1e70d Add missing changelog entry
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349909 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-18 06:48:04 +00:00
Christoph Michael Becker
c9596f7576 Fix #79565: Documentation missing for password_algos()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349903 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-17 12:05:19 +00:00
Christoph Michael Becker
78aa9e47fa Fix #79597: Error in openssl-random-pseudo-bytes Example #1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349902 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-17 11:01:55 +00:00
Christoph Michael Becker
6683589b3e Fix #79607: Wrong return type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349901 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-17 10:58:29 +00:00
Christoph Michael Becker
9c6afbe1e1 Add missing Travis CI config
These warnings can be seen in the `View Config` tab of any Travis CI job, e.g.: https://travis-ci.org/github/php/doc-en/jobs/686900419/config

Patch provided by carusogabriel.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349885 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-14 08:42:35 +00:00
Christoph Michael Becker
3de5928e16 Fix version info of some XMLWriter functions and methods
Cf. <https://github.com/php/doc-en/pull/97#issuecomment-628454637>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349884 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-14 08:09:15 +00:00
Christoph Michael Becker
6aafa955a6 Fix section order
According to <http://svn.php.net/viewvc/phpdoc/doc-base/trunk/RFC/skeletons/function.xml?view=markup>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349883 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-14 08:04:25 +00:00
Christoph Michael Becker
2d84d3e006 Declare xlink namespace
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349882 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-14 07:51:37 +00:00
Christoph Michael Becker
cd38bc2a91 SimpleXML: add missing changelog entries for $is_prefix
According to the PHP 5.2 migration guide, the `$is_prefix` parameter was added to three methods and two functions in PHP 5.2, but only two of those had a changelog entry about this change.

Ref: https://www.php.net/manual/en/migration52.parameters.php

Patch provided by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349881 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-14 07:49:51 +00:00
Christoph Michael Becker
9c1992d078 XMLWriter: fix version nrs of a few functions
Per https://www.php.net/manual/en/migration52.functions.php, these functions were added in PHP 5.2 and looking at the commits, that seems correct.

Ref: 3cd6518f39

Patch provided by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349880 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-14 07:40:08 +00:00
Christoph Michael Becker
b1d539eb69 Recode: update installation instructions
As of PHP 7.4, the extension is no longer bundled with PHP, but moved to PECL.

The way I've annotated this emulates the installation instructions for [POSIX regex](https://www.php.net/manual/en/regex.installation.php).

Patch provided by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349879 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-14 07:35:15 +00:00
Christoph Michael Becker
17e64f4d02 WDDX: update installation instructions
As of PHP 7.4, the extension is no longer bundled with PHP, but moved to PECL.

The way I've annotated this emulates the installation instructions for [POSIX regex](https://www.php.net/manual/en/regex.installation.php).

Patch provided by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349878 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-14 07:28:25 +00:00
Christoph Michael Becker
bc2efb0d57 UI: extension is not bundled with PHP
As per: https://www.php.net/manual/en/ui.installation.php

So the version information shouldn't give the impression that the classes/methods are available in PHP itself. They are only available in the PECL extension.

Patch provided by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349877 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-14 07:25:49 +00:00
Christoph Michael Becker
4df3145f2b Mcrypt/installation: mention "move" version nr
Patch provided by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349868 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-13 21:46:13 +00:00
Christoph Michael Becker
3a3b3279ef Fix #79593: Manual page missing for class ReflectionReference
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349867 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-13 19:41:26 +00:00
Christoph Michael Becker
103f9d6ca7 DOMImplementation: fix typo
Patch provided by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349859 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-13 17:14:34 +00:00
Christoph Michael Becker
b7ca52647b Fix #79594: Uncaught TypeError: preg_split() expects parameter 3 to be int, null given
Nope, passing `null` doesn't necessarily mean "skip this argument".

This also integrated user note 121475.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349857 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-13 15:20:59 +00:00
Christoph Michael Becker
03b1aa3fff Filter: add missing constants
Add a number of constants missing from the Predefined Constants page of the Filter extension.

Patch provided by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349855 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-13 06:55:46 +00:00
Christoph Michael Becker
f46d7bb715 Fix #79585: Useless changelog entry
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349784 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-11 11:05:44 +00:00