Commit graph

26318 commits

Author SHA1 Message Date
Christoph Michael Becker
d7a2a4e3f7 PHP 8.0 migration guide
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351500 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 18:25:14 +00:00
George Peter Banyard
6970f8fa7b Add match expression documentation
This includes:
 - match expression page
 - UnhandledMatchError page

Co-authored-by: Larry Garfield <larry@garfieldtech.com>



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351499 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 17:31:20 +00:00
George Peter Banyard
31379d5d4a Add PHP 8 to versions.xml in language section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351498 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 17:06:29 +00:00
Christoph Michael Becker
8bffa66276 Add ValueError page
Patch contributed by George Peter Banyard <girgias@php.net>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351496 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 14:00:54 +00:00
Christoph Michael Becker
831603509b Fix return type
This integrates user note 125527.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351494 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 13:32:41 +00:00
Christoph Michael Becker
22e850b66c Generate pcre 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@351490 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 12:38:46 +00:00
Christoph Michael Becker
722a01f189 Fix methodsynopsis of XMLReader::XML()
Based on a patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351489 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 12:00:40 +00:00
Christoph Michael Becker
709f92e5d7 Fix copy&paste typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351488 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 11:51:04 +00:00
Christoph Michael Becker
33be73da1e Generate xsl 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@351475 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-21 22:19:16 +00:00
Larry Garfield
a6338d7477 Update constructor documentation to include constructor promotion.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351474 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-21 19:50:13 +00:00
Christoph Michael Becker
c0b9e812f0 Mark up constants as such
Maybe some day we'll get automatic linking of constants – one may dream.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351473 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-21 16:55:20 +00:00
Christoph Michael Becker
a8f6a0f119 XML parsers are objects as of PHP 8.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351472 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-21 16:53:39 +00:00
Christoph Michael Becker
44d5d33cee Generate xmlwriter 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@351471 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-21 16:50:36 +00:00
Christoph Michael Becker
143021fd75 Add missing language snippet
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351470 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-21 14:10:21 +00:00
Christoph Michael Becker
5ce1caaf99 Generate xml 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@351469 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-21 14:06:31 +00:00
Christoph Michael Becker
9d3b35d2a8 Generate xmlreader 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@351468 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-21 12:28:48 +00:00
Christoph Michael Becker
18303121bc Remove obsolete PHP 5 specific information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351456 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-20 14:35:34 +00:00
Christoph Michael Becker
5c818901d4 Fix #78527: zlib deflate bug with windowBits == 8
Fix #75807: deflate_init fails with window bits set to 8

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351455 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-20 11:16:53 +00:00
Christoph Michael Becker
417d45ec40 Add initializers
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351454 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-20 10:59:07 +00:00
Christoph Michael Becker
02284193f1 Generate exif methodsynopses from stubs
Based on a patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351452 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-19 23:05:04 +00:00
Christoph Michael Becker
cfa78d6bb9 Fix #72738: realpath() expands junction points
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351451 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-19 13:28:19 +00:00
Christoph Michael Becker
968bb98efd Generate fileinfo 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@351435 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-18 23:14:53 +00:00
Christoph Michael Becker
854af29294 MYSQLI_OPT_READ_TIMEOUT is available as of PHP 7.2.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351425 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-18 13:44:17 +00:00
Christoph Michael Becker
cf52498fe9 Fix #60776: FilesystemIterator always uses SPL_FILE_DIR_SKIPDOTS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351423 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-18 12:27:27 +00:00
Christoph Michael Becker
7c3c51661b Fix ##55211: ArrayObject::getArrayObject() should only returns public properties of an object
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351422 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-18 12:20:07 +00:00
Christoph Michael Becker
d0c49dec8d Document MYSQLI_OPT_READ_TIMEOUT on mysqli::options page
Patch contributed by daverandom.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351420 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-18 00:04:47 +00:00
Chris Wright
2a4707655b Add MYSQLI_OPT_READ_TIMEOUT
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351419 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-17 23:28:16 +00:00
Christoph Michael Becker
6e4ac10da6 Generate filter methodsynopses based on stubs
Patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


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


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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351416 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-17 22:27:17 +00:00
Christoph Michael Becker
60726f0c6c opcache.max_wasted_percentage only triggers restart on insufficient free memory
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351415 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-17 16:56:47 +00:00
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