Commit graph

18160 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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