Commit graph

26137 commits

Author SHA1 Message Date
Christoph Michael Becker
a9a9172aee Reflect PHP 8 typehint in method_exists
This type specification is also appropriate for PHP 7.

Based on patch contributed by Ian Littman <iansltx@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351409 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-17 12:05:27 +00:00
Christoph Michael Becker
3cbc58c1af Generate opcache methodsynopses based on stubs
Patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351408 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-17 11:54:32 +00:00
Christoph Michael Becker
ad2b7b45a2 Generate gettext methodsynopses based on stubs
Patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351407 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-17 11:41:44 +00:00
Christoph Michael Becker
9e3b30232b Generate json methodsynopses based on stubs
Based on a patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351406 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-17 11:31:00 +00:00
Christoph Michael Becker
23f5599c8c Generate bcmath methodsynopses based on stubs
Based on a patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351405 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-17 11:20:54 +00:00
Christoph Michael Becker
36b81969f8 opcache.force_restart_timeout is not supported on Windows
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351404 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-17 10:49:42 +00:00
Christoph Michael Becker
97986d5b11 MYSQLI_REPORT_OFF is the default mode
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351394 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-15 12:59:47 +00:00
Christoph Michael Becker
84d19ad071 Remove obsolete PHP 5 specific info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351393 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-15 12:54:27 +00:00
Christoph Michael Becker
bc0cf01363 Fix return type documentation of gmp_hamdist
It's an integer since the function was added in php 5.5+.
See https://3v4l.org/DgIdi

Patch contributed by Tyson Andre <tysonandre775@hotmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351392 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-15 12:50:13 +00:00
George Peter Banyard
f99285b504 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351382 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-13 14:49:29 +00:00
Yoshinari Takaoka
d395ade5f7 added svn:properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351374 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-13 00:47:18 +00:00
Christoph Michael Becker
88848833f7 Fix #80356: Incorrect function return type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351369 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-12 23:47:30 +00:00
Christoph Michael Becker
ff7d168883 Refer to proper INI settings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351367 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-12 23:34:26 +00:00
George Peter Banyard
46e0f25dcd Actually add type declaration page...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351366 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-12 19:45:06 +00:00
George Peter Banyard
a9a6224ca9 Split type declarations into their dedicated page
Remove obsolete OOP5 TypeHinting page
Document union types

Closes GH-174

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351365 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-12 18:39:19 +00:00
Christoph Michael Becker
03cde96680 Update PCRE installation page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351360 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-11 18:11:49 +00:00
Christoph Michael Becker
b45e7758d9 Remove obsolete PHP 5 specific note
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351354 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-10 17:40:50 +00:00
Christoph Michael Becker
fc8735b2e2 Fix #80349: data:// URI wrapper is afected by allow_url_fopen
Cf. <https://github.com/php/php-src/blob/php-7.3.24/main/streams/memory.c#L790>.


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