Commit graph

26119 commits

Author SHA1 Message Date
Christoph Michael Becker
97750f17b2 Fix #75024: glob(): Non-portable GLOB_BRACE presented without warning
A caution or even a warning appear to be too strong for this, but moving
the note to the parameter section seems to be in order according to
<http://svn.php.net/viewvc/phpdoc/doc-base/trunk/RFC/skeletons/function.xml?view=markup#l128>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351342 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-09 17:44:11 +00:00
George Peter Banyard
a71742330d Further removal of PHP 5 mentions in language section
Closes GH-173

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351340 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-09 13:27:06 +00:00
Christoph Michael Becker
cea4f10f29 mysqli works with objects, not resources
We also remove the strange bracketed info on the summary page.  Maybe it was
meant to say "Not *when* called on an object, as it returns a $mysqli object",
but that's not true, because "$mysqli->init()" just returns NULL.  Of course,
that doesn't make sense, and likely mysqli::init() was supposed to be called
statically, but that is no longer supported anyway.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351331 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-08 15:27:46 +00:00
Christoph Michael Becker
14ba1dcb17 Updating mysqli: bring overview up to date
Patch contributed by Dharman <tekiela246@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351329 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-08 12:25:50 +00:00
Christoph Michael Becker
63319dea7d Update mysqli api support for transactions
* MySQL calls it autocommit mode:
https://dev.mysql.com/doc/refman/8.0/en/innodb-autocommit-commit-rollback.html
* Fix examples. Enable error reporting and remove closing tag
* Fixed the two broken links and added mysqli::begin_transaction

Patch contributed by Dharman <tekiela246@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351328 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-08 12:05:52 +00:00
Christoph Michael Becker
819cd5d7d1 Remove non-existent functions and remove Embedded server support from overview
Patch contributed by Dharman <tekiela246@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351293 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-07 21:11:47 +00:00
Christoph Michael Becker
49328c2160 Remove obsolete PHP 5 specific info regarding OPcache installation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351292 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-07 16:30:41 +00:00
Christoph Michael Becker
b39b2fcb92 Remove obsolete PHP 5 specific info regarding cURL file uploads
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351291 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-07 14:33:22 +00:00
Christoph Michael Becker
323eb8f48d Document AddressInfo resource type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351290 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-07 12:44:54 +00:00
George Peter Banyard
3a511c49bd Fix function name
Provided by anonymous user

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351281 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-06 14:51:48 +00:00
Christoph Michael Becker
c410fb8895 Fix #71872: PHP registerNodeClass and reusing variable names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351280 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-06 11:02:11 +00:00
Christoph Michael Becker
adcfa45072 Document all CRYPT_* constants
Patch contributed by Meindert-Jan Kroese <mkroese@eljakim.nl>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351278 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-06 09:38:43 +00:00
Christoph Michael Becker
ccb1313e0c Fix #71075: Update rename() docs to mention Windows-specific permissions issues
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351270 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-05 15:49:38 +00:00
Christoph Michael Becker
fd9ba9ab70 Document insecure default $method of openssl_seal() and openssl_open()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351266 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-05 13:48:43 +00:00
Christoph Michael Becker
39cd2b2a79 Remove obsolete PHP 5 specific info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351265 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-05 13:47:45 +00:00
Christoph Michael Becker
988d0167dc Fix #80318: The $method property of ZipArchive::setEncryptionIndex type should be int
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351247 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-04 22:50:51 +00:00
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