Commit graph

26222 commits

Author SHA1 Message Date
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
Christoph Michael Becker
865da51efb Remove confusing CURLFile::__wakeup() page
A respective note on the class page appears to be more appropriate.
Cf. <https://github.com/php/doc-en/pull/231>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351623 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 01:21:44 +00:00
Christoph Michael Becker
b7f8c11e56 Generate curl methodsynopses based on stubs
Amended by cmb.

Closes GH-231.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351621 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-25 00:58:58 +00:00
Christoph Michael Becker
02ba67b51f Generate zlib methodsynopses based on stubs
Closes GH-235.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351613 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 23:20:10 +00:00
Christoph Michael Becker
243afef598 Document p date formatter code
Closes GH-230.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351587 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 18:10:24 +00:00
Christoph Michael Becker
bc27cd7cfc Remove obsolete PHP 5 specific info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351586 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 18:05:28 +00:00
Christoph Michael Becker
ac20506c2a Added documentation for the get_resource_id function
Closes GH-227.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351584 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 17:52:54 +00:00
Christoph Michael Becker
a1799ec0bd rename misspelled methods
Closes GH-228.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351582 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 17:27:32 +00:00
Christoph Michael Becker
310515f826 PDOStatement::fetchObject() returns object|false
Patch contributed by Benjamin Morel <benjamin.morel@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351575 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 13:36:39 +00:00
Christoph Michael Becker
88fb6b2fa2 Move month sequence description to month parameter
Patch contributed by othercorey <corey.taylor.fl@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351574 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 13:26:48 +00:00
Andreas Braun
57a945c977 MongoDB: document iterator methods on MongoDB\Driver\Cursor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351569 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 09:43:47 +00:00
Yoshinari Takaoka
763506217e fixed broken build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351568 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 09:36:50 +00:00
Christopher Jones
4cdf7c89db Update oci_internal_debug doc to note its removal in PHP 8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351563 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 04:57:28 +00:00
Christopher Jones
5fcbcd6b56 Do a pass through the OCI8 doc
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351562 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 04:34:15 +00:00
Christopher Jones
0e0c883110 PHP 8 OCILob and OCICollection name change
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351556 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 00:53:02 +00:00
Christoph Michael Becker
0ebd26c45c Document imagegetinterpolation()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351555 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 00:33:46 +00:00
Christoph Michael Becker
20216b916e Generate com_dotnet methodsynopses based on stubs
Based on patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351554 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 23:16:16 +00:00
Christoph Michael Becker
789af83432 Generate calendar 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@351553 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 22:36:15 +00:00
Christoph Michael Becker
c564dbc4f3 Generate bz2 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@351552 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 22:23:06 +00:00
Christoph Michael Becker
cef062f45e Generate readline 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@351551 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 22:10:53 +00:00
Christoph Michael Becker
f90df97fa5 Generate libxml 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@351550 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 21:59:02 +00:00
Christoph Michael Becker
9737e4b259 Added documentation for the str_starts_with and str_ends_with functions based on https://php.watch/versions/8.0/str_starts_with-str_ends_with
Patch contributed by Emmanuel Okeke <emmanix2002@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351549 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 21:50:15 +00:00
Christoph Michael Becker
3bed8bca1c Added documentation for the str_contains function based on the RFC here: https://wiki.php.net/rfc/str_contains
Patch contributed by Emmanuel Okeke <emmanix2002@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351548 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 18:47:38 +00:00
Christoph Michael Becker
5cc7e36e65 Document SQLite3::setAuthorizer
Based on a patch contributed by BohwaZ.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351547 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 15:25:48 +00:00
Yoshinari Takaoka
8c115291ab added missing role="php" for programlisting
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351543 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 14:35:41 +00:00
Christoph Michael Becker
8caaa86050 Clean up resource page
Mostly removal of resources of extension which are no longer documented in
the manual.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351538 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 10:57:00 +00:00
Christoph Michael Becker
75a1a31dc0 Fix #80401: Inaccurate documentation on gettype (for Integer)
We also fix the markup (this is not about types, but rather about
literal strings), and use a more appropriate `<simplelist>`.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351521 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 01:59:21 +00:00
Yoshinari Takaoka
c05ad6cc80 added svn:keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351515 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 00:36:10 +00:00
Christoph Michael Becker
b359f3f0d0 Document sysv* resources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351512 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 00:11:31 +00:00
Christoph Michael Becker
395ea247cf Generate sysvshm 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@351510 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-22 23:49:25 +00:00