Commit graph

26103 commits

Author SHA1 Message Date
Christoph Michael Becker
f7eec8e460 Actually remove ifx extension documentation
The ifx (Informix) extension is unbundled as of PHP 5.2.1, and apperently has
not been maintained since then; no new version has ever been released on PECL.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351245 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 22:30:20 +00:00
Christoph Michael Becker
50a0ec797b Use proper variadics instead of pseudo variadics
Apparently, these have been overlooked so far.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351234 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 18:07:20 +00:00
Christoph Michael Becker
a6309b11ca Actually remove maxdb extension documentation
The maxdb extension had its latest release in 2007, and is completely
unmaintained for at least ten years.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351232 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 18:01:08 +00:00
Christoph Michael Becker
260d3a35b2 Fix #80317: Incorrect function return type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351222 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 16:30:06 +00:00
Christoph Michael Becker
e604424d6d Fix #42585: die() in event handler => PHP hangs
We also remove the very misleading comment regarding the reference operator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351221 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 13:48:39 +00:00
Christoph Michael Becker
384256aca1 Amend r351218
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351220 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 13:24:00 +00:00
Christoph Michael Becker
eaff4ac633 Fix #69906: chr() behavior difference between 32- and 64-bit bulids
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351219 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 13:23:13 +00:00
Christoph Michael Becker
4ec4293189 Remove obsolete PHP 5 specific mysqli docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351218 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 12:44:36 +00:00
Christoph Michael Becker
91de67290f Fix #78707: ReflectionClass::implementsInterface - incomplete documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351217 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 11:40:49 +00:00
Christoph Michael Becker
6de2e5772f Update note wrt. PHP 7.4 and 8.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351216 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 11:33:18 +00:00
Christoph Michael Becker
ef05457faa Fix #60314: Metaphone returns fewer phonemes than defined
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351215 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 10:08:57 +00:00
Christoph Michael Becker
8bdab424de Revert inadvertent changes to Ingres types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351206 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 00:21:46 +00:00
Christoph Michael Becker
dfcd2c10b7 Document JIT related OPcache INI settings
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
Co-authored-by: Dmitry Stogov <dmitry@zend.com>


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351205 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 23:58:37 +00:00
Christoph Michael Becker
3e6615fced Fix #69559: mb_language() default is "neutral", and the possible languages are more broad
We replace the general "notes" column (which only has obsolete PHP 5 specific
info) with an "alias" column, and document all available aliases.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351198 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 17:40:55 +00:00
Christoph Michael Becker
684a3c40c7 Fix return types according to the return values section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351197 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 16:51:37 +00:00
Christoph Michael Becker
aa0b16c829 Remove obsolete PHP 5 specific info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351196 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 16:49:50 +00:00
Christoph Michael Becker
46a0d3708e Fix #80300: add "unlink" in "see also" section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351181 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 09:59:25 +00:00
Christoph Michael Becker
b820701969 Remove obsolete info regarding Vista/2008
Windows Vista/2008 is required as of PHP 5.5.0 anyway; no need to mention
that requirement here.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351180 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 09:54:24 +00:00
Christoph Michael Becker
fcf21c2541 Remove PHP 5 specific info from OPcache INI page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351152 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 18:40:01 +00:00
Yoshinari Takaoka
79d9994b85 fixed typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351145 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 17:30:48 +00:00
Christoph Michael Becker
724f036e29 Remove msql documentation
The msql extension is unbundled as of PHP 5.3.0, and considered unmaintained
and dead.  Of the 4 user notes for this extension, 2 actually were referring
to MySQL.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351139 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 16:32:37 +00:00
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