Christoph Michael Becker
6fe0f9389b
Remove SQLite documentation
...
The sqlite extension is unbundled as of PHP 5.4.0, didn't have a release
since then, and is superseeded by the sqlite3 extension anyway.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351137 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 16:19:13 +00:00
Christoph Michael Becker
b95d28e6ec
Fix return types
...
Functions which return false on failure should state that in their
signature as well.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker
86e6094e86
Use canonical type names
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
9e0f03ac35
Proper variadics instead of pseudo variadics
...
We markup variadic parameters with the `rep=repeat` standard DocBook
attribute of `<methodparam>`, and use proper variable names instead of
using the old pseudo variable name `...`.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351129 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 11:17:26 +00:00
Christoph Michael Becker
ecb5cb1e02
There are no mirrors anymore
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351126 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 09:34:52 +00:00
Christoph Michael Becker
11580d11b9
The manual no longer documents PHP 5
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351125 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 09:34:02 +00:00
Christoph Michael Becker
eb0bd932eb
Replace "number" type with built-in types
...
There is really no need for a pseudo type here; we can either use the
`int|float` union, or spell out the abbreviation, instead.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351123 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 09:17:09 +00:00
George Peter Banyard
3f8411752b
Remove SSL context options which have been removed in PHP 7.0,
...
This is a left-over/mishap from the previous large commit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351118 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 00:35:31 +00:00
George Peter Banyard
cdaea04215
Remove mention of PHP 5 in Language Reference section
...
This does not cover the OOP nor Error sections, but everything else should be covered
Closes GH-156
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351112 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-31 19:13:58 +00:00
Christoph Michael Becker
d960106581
Document ReflectionProperty::getDefaultValue and ::hasDefaultValue
...
Patch provided by Benjamin Eberlei <kontakt@beberlei.de>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351090 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 16:38:02 +00:00
Christoph Michael Becker
6efef65e17
Added note about existing nodes being moved in the dom
...
Based on a patch contributed by Pieter Hordijk <info@pieterhordijk.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351088 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 16:19:02 +00:00
Christoph Michael Becker
3742d36be1
Improve transaction examples for mysqli
...
A correct example was provided in begin_transaction() and commit()
& rollback are linked. For autocommit the example was expanded to
show how one can use autocommit to create transactions. This
should also clarify the behaviour of commit in regards to
autocommit. A note section was copied from autocommit doc to the
other three.
Also added simple description of SAVEPOINT and RELEASE SAVEPOINT.
Patch contributed by Dharman <tekiela246@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351087 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 15:45:26 +00:00
Christoph Michael Becker
af688e993b
Remove php_egg_logo_guid() from docs
...
This function is removed from php-src as of PHP 5.5.0.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351084 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 13:27:24 +00:00
Christoph Michael Becker
03cc650911
Removed misleading example from rowCount()
...
The example given was confusing and misleading. If the purpose of it is
to show how to get the count of matching records from the database then
the example can be much shorter. `query()` should not be checked with
`if` statement and there should not be 2 separate queries to the
database if the actual count is not needed. If the number of fetched
records is needed then you can simply use PHP's `count()` function.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351083 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 13:13:47 +00:00
Christoph Michael Becker
11952f8447
Fix #79341 : XmlWriter docs does not say $uri is nullable
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351079 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 11:24:30 +00:00
Christoph Michael Becker
24219de95d
Fix #79273 : Correctly document nullable properties on DOMDocument and DOMNode
...
Patch contributed by Benjamin Eberlei <kontakt@beberlei.de>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351078 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 11:04:58 +00:00
Christoph Michael Becker
d546ed681a
array|object is no longer a special pseudo-type
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351077 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 10:49:18 +00:00
Christoph Michael Becker
41445b3d77
Mark up nullable types as union types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351076 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 10:47:17 +00:00
Christoph Michael Becker
53242ee662
Properly markup union types
...
Since r350738 added support for union types to our DocBook DTD, we
should use it.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351075 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 10:45:25 +00:00
Christoph Michael Becker
c6b9dbcba6
Fix the return value of \zip_open()
...
zip_open() can also return false [0].
[0] https://github.com/php/php-src/blob/php-7.4.4/ext/zip/php_zip.c#L1160
Based on a patch contributed by Thomas Gerbet <thomas.gerbet@enalean.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351062 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-29 18:32:31 +00:00
Christoph Michael Becker
28edfe68a3
Improve typehinting for phar
...
Based on a patch contributed by klesti_kuka <klesti.kuka@aboutyou.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351061 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-29 18:24:16 +00:00
Christoph Michael Becker
72502df5f5
ReflectionMethod accepts string|object, not mixed
...
Based on a patch contributed by Benjamin Morel <benjamin.morel@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351060 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-29 17:14:02 +00:00
Christoph Michael Becker
e4f3cc7f4c
Fix #78142 : Function prototype return value does not contain type in case of failure
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351059 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-29 16:26:49 +00:00
Christoph Michael Becker
a05eccd80a
Fix #77809 : getStats() may return false
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351058 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-29 16:22:07 +00:00
Christoph Michael Becker
a8e0638ea5
Remove rest of mysqli RPL docs amendment
...
Patch contributed by Dharman <tekiela246@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351046 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-29 13:49:04 +00:00
Christoph Michael Becker
f9d91f0741
Remove rest of mysqli RPL docs
...
Patch contributed by Dharman <tekiela246@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351045 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-29 13:36:19 +00:00
Christoph Michael Becker
87a2f30351
Actually remove PDFlib docs from the manual
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351036 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-29 11:39:35 +00:00
Christoph Michael Becker
4df3260b89
Fix #80293 : oniguruma not bundled in mbstring extension per docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351034 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-29 11:32:21 +00:00
Christoph Michael Becker
d5d4f158b9
There is no mysqli_warning_next
...
Patch contributed by Dharman <tekiela246@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351029 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-28 22:28:51 +00:00
Christoph Michael Becker
faa2178d53
Remove mysqli_rpl_query_type page from manual
...
That function is removed as of PHP 5.3.0.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351028 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-28 18:29:07 +00:00
Christoph Michael Becker
3f1917852e
Fix #80292 : Incorrect use of code in manual's example codes
...
While not really a bug, that line is misleading.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351027 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-28 13:10:39 +00:00
Yoshinari Takaoka
5222a1c1ed
fixed typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351023 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-28 01:11:46 +00:00
Christoph Michael Becker
1017932869
Fix #80282 : cannot send binary data to popen
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351021 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-27 22:43:26 +00:00
Christoph Michael Becker
33301d17ba
sendmail style mailing is supported on Windows as of PHP 4.1.0
...
Therefore the distinction is not Windows/Unix, but rather sendmail/direct SMTP.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351015 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-27 16:38:37 +00:00
Christoph Michael Becker
48f89dadf5
Fix #74492 : XMLWriter adds indent between mixed child nodes
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351014 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-27 13:28:37 +00:00
Christoph Michael Becker
8d11b029ad
Remove erroneous notes
...
These have apparently copy-pasted in r350602.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351013 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-27 13:16:04 +00:00
Christoph Michael Becker
c2fea13ec0
Fix #68798 : stream_select() preserves keys since rev. 305856 breaking some code without note
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351012 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-27 13:11:32 +00:00
Christoph Michael Becker
3b02cecc30
Remove Xdebug INI settings
...
Xdebug documentation has long been removed from the manual.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351001 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-26 13:49:16 +00:00
Christoph Michael Becker
dd0cbeacdb
Fix #77890 : DOMDocument XML formatting (formatOutput) doesn't seem to work
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351000 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-26 11:55:44 +00:00
Christoph Michael Becker
af5f2f87b3
Add PECL in front of version numbers in changelogs
...
Patch contributed by Benjamin Morel <benjamin.morel@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350988 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-25 15:11:56 +00:00
Christoph Michael Becker
8f772a992e
Remove docs for mysqli aliases which are removed as of PHP 5.4.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350987 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-25 14:56:47 +00:00
Christoph Michael Becker
11a2f7bf48
Document some PHP 7.4.0 deprecations
...
Cf. <https://wiki.php.net/rfc/deprecations_php_7_4 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350986 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-25 14:43:31 +00:00
Christoph Michael Becker
b687e06cb0
call_user_method(_array) is removed as of PHP 7.0.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350985 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-25 14:20:38 +00:00
Christoph Michael Becker
120c22c98d
Document ArrayAccess in PHP-DS
...
Patch contributed by Benjamin Morel <benjamin.morel@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350981 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-24 12:17:53 +00:00
Christoph Michael Becker
ea90b5fa48
Fix #79391 : Dom validate schema does not support XML Schema 1.1
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350975 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-23 13:01:50 +00:00
Christoph Michael Becker
8d1ee58c3e
Remove PDO sqlite2 driver related info
...
That driver is removed as of PHP 5.4.0.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350971 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-22 13:13:18 +00:00
Christoph Michael Becker
4d037a4cd0
Fix #68393 : PDO Does Not Produce Exception For 'sqlite:' With Missing Filepath
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350970 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-22 13:08:46 +00:00
Derick Rethans
0d122cd2d5
Updated to version 2020.4 (2020d)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350967 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-22 09:08:27 +00:00
George Peter Banyard
1a20a2ec93
Typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350963 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-22 02:33:31 +00:00
Christoph Michael Becker
5b05e0c7e6
Remove confusing and apparently unrelated lines from example
...
This integrates user note 125445.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350957 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-20 13:46:53 +00:00