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
Christoph Michael Becker
52bf027d4c
Don't use FQNs for types
...
Using fully qualified names for identifiers in the manual is uncommon;
at least identifiers of the global namespace are (almost) always
written unqualified. Furthermore, FQNs are not supported by the auto-
linking of PhD.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350956 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-20 13:08:37 +00:00
Andrey Gromov
01a7e4684e
Fixes from volunteers
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350953 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-20 08:54:50 +00:00
Derick Rethans
f5acbfdba8
Updated to version 2020.3 (2020c)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350940 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-19 08:11:47 +00:00
Christoph Michael Becker
282140eb7d
Note that the order of returned keys is deterministic
...
Patch contributed by Larry Garfield <larry@garfieldtech.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350939 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-19 07:35:23 +00:00
George Peter Banyard
ca309ab744
Add version information to methods of Error
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350937 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-18 13:55:12 +00:00
Christoph Michael Becker
6cd5d527ff
Fix #80252 : Incorrect description of session_cache_expire()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350930 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-17 21:46:08 +00:00
Christoph Michael Becker
892e1c8921
Fix #72027 : Mongodb driver
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350928 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-17 16:11:57 +00:00
Christoph Michael Becker
a6ecf96032
ssl:// and tls:// are still supported
...
These have been accidentially removed with r350333. While we're at it,
we also remove the no longer relevant PHP 5 info.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350926 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-17 15:55:54 +00:00
Christoph Michael Becker
74d39a807a
Minor amendment to safe_mode info removal
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350887 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-14 21:21:06 +00:00
Christoph Michael Becker
4691b6ddbd
Enclose example code in PHP tag
...
Otherwise we don't get syntax highlighting.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350886 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-14 21:20:28 +00:00
George Peter Banyard
aee38ec9b5
Fix typo in opcache ini documentation
...
--
Provided by anonymous 318 (adrian.kinberger@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350882 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-14 16:58:52 +00:00