Commit graph

26485 commits

Author SHA1 Message Date
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
George Peter Banyard
43c1917b33 Fix example in match docs (missing terminating semi-colon)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351821 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-01 16:15:52 +00:00
Christoph Michael Becker
8a49beca2f Update Phar signature info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351819 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-01 15:04:56 +00:00
Christoph Michael Becker
e345b075ef Fixed typo
Closes GH-256.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351818 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-01 12:50:30 +00:00
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