Commit graph

26301 commits

Author SHA1 Message Date
Christoph Michael Becker
9c098f1e96 Fix #80452: Null Coalesce Operator Swallow warning error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351816 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-01 12:20:13 +00:00
Christoph Michael Becker
1ffbadf290 Document mixed type (as of PHP 8.0.0)
As of PHP 8.0.0, the `mixed` type is available as proper type, so we
move the respective info out of the pseudo types section, which can be
removed now, since it is practically empty.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351804 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-01 01:29:53 +00:00
Christoph Michael Becker
ca6d258ba2 void is no longer a pseudo type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351803 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-01 01:08:22 +00:00
Christoph Michael Becker
f444b84a42 Remove void from pseudo types page
void is no longer a pseudo type as of PHP 7.1.0, and already documented as
language.types.declarations.void.  Furthermore, empty parameter lists are
no longer showing void[1].

[1] <https://github.com/php/phd/pull/32>


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351798 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-30 23:34:36 +00:00
Christoph Michael Becker
6fa29283c5 Generate enchant methodsynopses based on stubs
Closes GH-232.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351794 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-30 22:27:10 +00:00
Christoph Michael Becker
fe4f8ec3d1 Generate pspell methodsynopses based on stubs
Closes GH-233.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351793 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-30 20:39:29 +00:00
Christoph Michael Becker
3db49ee0a3 XmlParser has been renamed to XMLParser
Although class names are case-insensitive, we better document the proper case.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351792 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-30 16:03:37 +00:00
George Peter Banyard
b3a1da4dc0 Update XMLParser class name in migration guide for PHP 8.0.1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351791 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-30 15:44:58 +00:00
Christoph Michael Becker
6896024afa Add info about SplFileObject::seek() incompatibility to migration guide
Cf. <https://github.com/php/php-src/pull/6434>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351790 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-30 15:39:29 +00:00
Christoph Michael Becker
d2e351f0dc Use supported whitespace
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351787 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-30 12:44:37 +00:00
bole Chen
941bbb8e57 add mission function doc.
@ref https://github.com/krakjoe/apcu/issues/342

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351781 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-30 09:07:01 +00:00
Yoshinari Takaoka
89b952c4b8 fixed invalid parameter name.
maybe, copy-and-pasted.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351762 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-30 01:26:22 +00:00
Christoph Michael Becker
f5f52806b4 Fix grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351758 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-30 00:43:37 +00:00
Christopher Jones
8b3444158b Update OCI8 install
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351756 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-30 00:30:38 +00:00
Christoph Michael Becker
ac84f2b81c imagecreatefromstring() supports WebP as of PHP 7.3.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351755 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-29 23:43:47 +00:00
Christoph Michael Becker
d16f9436ce Fix section order
The returnvalues section is supposed to be above the examples section.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351754 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-29 23:42:57 +00:00
Christoph Michael Becker
04f10f9f8d Generate tidy methodsynopses based on stubs
Closes GH-234.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351752 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-29 23:31:19 +00:00
Christoph Michael Becker
151e61773c Generate session methodsynopses based on stubs
Closes GH-236.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351750 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-29 15:51:04 +00:00
Christoph Michael Becker
f8d26b8229 Update mysqli/options.xml
We document the most important missing options, and remove obsolete
PHP 5 specific info.

Closes GH-245.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351748 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-29 15:01:45 +00:00
Christoph Michael Becker
3e91c2553f Fix case of win32service language snippet
This is now always used as clause, instead of a full sentence.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351747 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-29 14:58:16 +00:00
Christoph Michael Becker
0556858224 Update for 1.0.0 version
Closes GH-171.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351746 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-29 13:50:19 +00:00
Christoph Michael Becker
7b0f54fab5 Credit girgias as doc author
We also sort Stig alphabetically, and save a few bytes.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351739 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 23:40:48 +00:00
Christoph Michael Becker
8bacb88eb4 Actually remove mysqli_warning::__construct() docs
Cf. <https://github.com/php/doc-en/pull/248>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351738 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 23:26:18 +00:00
Christoph Michael Becker
e476d30297 Remove mysqli_warning::__construct
Closes GH-248.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351737 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 23:24:09 +00:00
Christoph Michael Becker
d6882d8c73 mysqli_warning is final (at least as of PHP 7.0.0)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351736 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 23:21:03 +00:00
Christoph Michael Becker
025f2d34cc Document nullsafe operator
Closes GH-244.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351735 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 23:09:30 +00:00
Christoph Michael Becker
9a46200da9 Improve Imagick::affineTransformImage() example
Related to https://github.com/Imagick/imagick/pull/357

Closes GH-249.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351734 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 22:49:17 +00:00
Christoph Michael Becker
574f492ae9 Function trailing commas
* Trailing commas in function parameter list.
* Trailing commas in use clause.
* Minor language change along the way.

Closes GH-241.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351733 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 22:43:21 +00:00
Christoph Michael Becker
e41806c30b Revert revision(s) 351724 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker
4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Christoph Michael Becker
20d51bd2e3 shmop_write() returned false on failure, prior to PHP 8.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351726 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 14:57:06 +00:00
Christoph Michael Becker
83debcada4 OCI8 class renaming for PHP 8
Signed-off-by: Christopher Jones <sixd@php.net>

Closes GH-246.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351725 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 14:11:50 +00:00
Jakub Vrana
c80da7c04a Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
Christoph Michael Becker
afddb41986 Improve return value description based on Tyson's suggestion
Cf. <https://github.com/php/doc-en/pull/243#issuecomment-735011633>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351712 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-27 23:51:15 +00:00
Christoph Michael Becker
370bb99d28 Document the ::class constant on objects
Also, improve ::class description based on comments.

Closes GH-239.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351711 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-27 23:40:12 +00:00
Christoph Michael Becker
74abd95c4e Argument of sapi_windows_cp_get is optional
Closes GH-243.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351710 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-27 23:22:31 +00:00
Yoshinari Takaoka
051cc10770 fixed typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351706 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-27 21:03:26 +00:00
Yoshinari Takaoka
42e884339a add svn:keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351703 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-27 18:51:00 +00:00
George Peter Banyard
d494ffa4d9 Add a page about numeric strings
Closes GH-215

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351700 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-27 15:56:30 +00:00
Christoph Michael Becker
9e1d1413ac Fix #80434: Missing "s" in documentation for "opcache.jit_max_loop_unrolls"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351699 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-27 14:57:16 +00:00
Christoph Michael Becker
9eacb8a641 Fix #77947: Wrong link label for /manual/en/reserved.variables.php
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351675 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-26 17:32:42 +00:00
Christoph Michael Becker
6b712e9c06 Remove obsolete method documentation
These methods have been removed for PECL/Phar 2, and never made it into
php-src.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351669 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-26 13:17:21 +00:00
Christoph Michael Becker
1d58f72646 Exception updates
* Empty catch statements
* Throw as an expression
* Various other cleanup while I was there to remove comments

I also deleted a crapload of comments. It's so satisfying.

Closes GH-238.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351652 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 23:03:02 +00:00
Christoph Michael Becker
068a836eb9 Add incompatibility note regarding PDO::inTransaction()
Cf. <http://git.php.net/?p=php-src.git;a=commitdiff;h=306555e11da4fb9f4759e809b6c1961f11dc6e8b>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351647 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 18:04:28 +00:00
Christoph Michael Becker
0dcc5d343c Remove obsolete method documentation
These methods have been removed for PECL/Phar 2, and never made it into
php-src.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351646 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 17:59:29 +00:00
Christoph Michael Becker
db870c9481 curl_file_create() is not a method of CURLFile
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351642 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 13:30:11 +00:00
Christoph Michael Becker
60f5e69be3 Document procedural APIs of IntlTimeZone
While we're at it, we fix the return type of IntlTimeZone::getoffset().


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351641 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 13:28:01 +00:00
Christoph Michael Becker
21e403e4b4 Remove CURLFile::__wakeup from versions.xml
Cf. <http://svn.php.net/viewvc?view=revision&revision=351623>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351639 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 12:43:08 +00:00
Christoph Michael Becker
24a693e9a4 Fix parameter name
Cf. <https://github.com/php/php-src/pull/6435>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351624 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 01:31:30 +00:00