Commit graph

26304 commits

Author SHA1 Message Date
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
Christoph Michael Becker
3193e2e78f Mark static imagick methods as such
These methods are static as of PECL imagick 3.3.0; previously, the methods
that already existed have been non-static methods which were allowed to be
called statically.  This info is irrelevant for the docs, though, since the
latest stable version before 3.3.0 was 3.1.0 which was released on 2013-09-06,
and as such not compatible with PHP 7.

Closes GH-263.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351870 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 13:41:15 +00:00
Christoph Michael Becker
e77680d775 Fix #79880: Fatal error: Uncaught Error: Invalid serialization data for DateTime object
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351869 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 13:12:56 +00:00
Christoph Michael Becker
acacd4ee83 Clarify behavior of max_execution_time on Windows
That is already done in a note for set_time_limit(), but should be clarified
here as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351866 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 12:19:32 +00:00
Christoph Michael Becker
cd943f94a0 Generate array methodsynopses based on stubs
Partial merge of <https://github.com/php/doc-en/pull/266>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351860 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 00:35:15 +00:00
Christoph Michael Becker
fa0c88f1e3 Add missing public modifiers to imagick methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351855 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-03 22:28:04 +00:00
Christoph Michael Becker
dc38da9dbb Fix imagick version info
We also remove the Imagick::getimagemagicklicense() docs, because that
function never has been released.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351853 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-03 18:19:21 +00:00
Christoph Michael Becker
0ffb9c9fc8 Add missing public modifiers to Imagick methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351852 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-03 14:54:48 +00:00
Christoph Michael Becker
51b4f62ab0 Typos and extra indentation
Closes GH-264.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351850 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-03 10:49:51 +00:00
Christoph Michael Becker
58dc296fc5 Fix example in match docs (missing terminating semi-colon)
As pointed out by girgias.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351833 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-02 00:18:01 +00:00
Christoph Michael Becker
1987cb8e71 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351823 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-01 16:23:33 +00:00
Christoph Michael Becker
22529a07ac Fix #80453: Documentation example error
Actually, this example should better be rewritten to something simpler or at
least something relevant.  However, the unserialize() page has the counter
example, so we postpone that, and apply an odd fix instead.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351822 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-01 16:22:07 +00:00