Commit graph

26315 commits

Author SHA1 Message Date
Philip Olson
2b36b46bae Remove autogenerated file
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352018 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-11 20:18:33 +00:00
Christoph Michael Becker
750d32e66a Add fdiv()
Closes GH-258.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352017 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-11 19:33:08 +00:00
Christoph Michael Becker
e02014aa56 PharFileInfo should list inherited methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352013 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-11 16:27:00 +00:00
Christoph Michael Becker
e8af4bab45 Add createFromInterface() for DateTime objects
Closes GH-257.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352009 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 23:12:47 +00:00
Christoph Michael Becker
9380b40fc7 Add new string format codes
Closes GH-268.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352006 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 22:45:04 +00:00
Christoph Michael Becker
b8cfcc5411 Clarify compression formats
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352002 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 18:26:55 +00:00
Christoph Michael Becker
32f3a5a59f json_decode: better explanation and example of 'depth' parameter
Closes GH-275.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352001 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 16:10:08 +00:00
Christoph Michael Becker
8c2f198903 php_user_filter::__construct is not called
Cf. <https://bugs.php.net/75931>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352000 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 14:42:18 +00:00
André Luis Ferreira da Silva Bacci
2762f3b686 Files without svn:keywords Revision
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351999 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 13:16:51 +00:00
Christoph Michael Becker
d5fafb8e37 Fix #70819: bzflush() is a null function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351993 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 12:32:07 +00:00
Christoph Michael Becker
77a10b00e3 Fix #80501: Stats function documentation has gone
The documentation of the stats extension has been removed in r350644
assuming that the extension would not be compatible with PHP 7; that
assumption was wrong, so we need to restore the docs.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351991 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 11:14:23 +00:00
Christoph Michael Becker
457888c6bc Update ext/ldap signatures to match PHP-8
Closes GH-242.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351984 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 23:20:37 +00:00
Christoph Michael Becker
8ce54b1eee Fix #80500: pg_fetch_result returns type is wrong according to the doc
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351978 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 17:29:01 +00:00
Christoph Michael Becker
d54819610d Fix #80230: Doc for exec specifies & (reference) param, fails
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351975 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 15:46:49 +00:00
Christoph Michael Becker
728b7a9bc0 Fix #80449: setcookie doc improvement
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351968 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 12:17:23 +00:00
George Peter Banyard
084d6414ec Class constant visibility is avialable since PHP 7.1.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351966 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 11:50:07 +00:00
Christoph Michael Becker
412052d434 Fix instances of siginfo and signinfo being used interchangably on pcntl_signal page
Closes GH-274.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351964 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 11:35:54 +00:00
Christoph Michael Becker
4528db2d91 Fix #80497: Incorrect example #11 for ::class on OOP The Basics page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351963 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 10:49:23 +00:00
Christoph Michael Becker
82c84a325e Add PhpToken reference
Closes GH-272.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351961 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-08 19:04:41 +00:00
Christoph Michael Becker
f627bde789 Document LDAP $controls default value prior to PHP 8.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351960 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-08 17:59:23 +00:00
Yoshinari Takaoka
67c1dd0635 fixed build error.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351956 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-08 02:51:17 +00:00
Christoph Michael Becker
76f8c0151d Update ext/ldap signatures to match PHP-8
Partial merge of <https://github.com/php/doc-en/pull/242>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351955 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-08 00:13:38 +00:00
Yoshinari Takaoka
8c5992635c for clarify, added class constants.
Attributes supports class constants, not global one.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351951 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-07 20:31:23 +00:00
Yoshinari Takaoka
ca06895f15 added some new feature docs link.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351949 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-07 20:13:46 +00:00
Christoph Michael Becker
3ae0b14dd0 Fix #79126: empty() documentation does not mention SimpleXML objects from empty tags
To avoid duplication, we refer to falsey values instead.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351947 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-07 14:40:21 +00:00
Christoph Michael Becker
80858f3bd0 Add new IntlDateFormatter constants
Closes GH-267.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351939 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-06 23:34:08 +00:00
Christoph Michael Becker
7104ee97ce Removed literal tags from title for readability
Closes GH-250.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351935 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-06 22:38:36 +00:00
Christoph Michael Becker
e296d2443b fixed description about passing [mandatory|optional] parameter order
Closes GH-270.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351933 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-06 22:22:36 +00:00
Christoph Michael Becker
5f8047c12b Document new opaque classes which replace resources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351932 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-06 22:11:40 +00:00
Christoph Michael Becker
3dc4fa0723 Fix typo and remove @
We also applies some proper code formatting.

Closes GH-271.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351926 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-06 16:20:35 +00:00
Christoph Michael Becker
7b0a4b69ba Fix typo
Patch provided by Dharman <tekiela246@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351925 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-06 16:18:34 +00:00
Christoph Michael Becker
8b12549bff Remove some PHP 5 specific info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351924 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-06 14:45:00 +00:00
Yoshinari Takaoka
0cd5feb518 fixed attribute syntax example.
In this example, SetUp attribute belongs to ReflectionMethod.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351915 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-06 00:15:57 +00:00
Yoshinari Takaoka
c0e16e2e3d fixed syntax error, by adding trailing semicolon.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351914 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-05 23:51:00 +00:00
Christoph Michael Becker
720f4daa5c Add version info for new attributes page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351909 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-05 18:25:57 +00:00
Christoph Michael Becker
0e954bfcee Update strings.parameter.needle.non-string entity for PHP 8.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351906 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-05 14:46:54 +00:00
Christoph Michael Becker
043aa7b524 The \v escape sequence is supported as of PHP 5.2.5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351905 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-05 14:45:17 +00:00
Christoph Michael Becker
e095023e40 Generate some string methodsynopses based on stubs
Partial merge of https://github.com/php/doc-en/pull/265.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351904 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-05 14:30:42 +00:00
Yoshinari Takaoka
6d8125aa1d fixed return values.
It is apparently inconsistent with method signature.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351903 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-05 13:54:15 +00:00
Yoshinari Takaoka
b64f3d1da3 set svn:keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351898 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-05 11:45:35 +00:00
George Peter Banyard
8500ca3fb8 Document named arguments
Closes GH-251

Co-authored-by: Ekin H. Bayar <ekin@php.net>


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351885 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 23:25:41 +00:00
George Peter Banyard
9caba962ed Add chapter on Attributes in language section.
Closes GH-254

Co-authored-by: Benjamin Eberlei <beberlei@php.net>



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351884 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 23:15:43 +00:00
Christoph Michael Becker
19af072c3e Fix #80482: Undocumented behavior of array_walk with objects
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351878 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 17:20:44 +00:00
Christoph Michael Becker
8709cac689 Document uopz/Xdebug compatibility issue
Cf. <https://github.com/krakjoe/uopz/issues/122>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351877 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 16:22:20 +00:00
Christoph Michael Becker
f8de748ed5 Document that exif_read_data() may raise notices and warnings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351876 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 15:42:26 +00:00
Christoph Michael Becker
9bf67e6ba6 ImagickPixel::getColor() takes an int, not a bool
Closes GH-262.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351875 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 15:32:16 +00:00
Christoph Michael Becker
02639373d9 Fix Imagick::getImageChannelMean() return value
Closes GH-259.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351874 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 14:28:49 +00:00
Christoph Michael Becker
8476c2a4c6 Remove sentence not followed by example
Closes GH-260.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351873 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 14:20:20 +00:00
Christoph Michael Becker
59da12cf81 Fix Imagick::getQuantumDepth() return type
Closes GH-261.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351872 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 14:17:41 +00:00
Christoph Michael Becker
84b3decdfe Mark static imagick methods as such
This is an amendment to r351870, where some Gmagick methods have accidentally
been marked as static, instead of the intended Imagick methods.  Not sure about
Gmagick, but I don't bother either, because that extension never had a stable
release, so I revert these changes.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351871 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 14:02:44 +00:00