Commit graph

25073 commits

Author SHA1 Message Date
Christoph Michael Becker
2911a4edd4 Add missing initializers
Based on a patch provided by Kasper Franz.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346084 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-27 11:34:39 +00:00
Christoph Michael Becker
a1060b5268 Fix first parameter docs
Patch provided by irker.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346082 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-27 10:56:41 +00:00
Jeremy Mikola
aac05ae83f Update example filename for GitHub repository download
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346079 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-26 22:53:05 +00:00
Jeremy Mikola
f8d4dbe079 Use entity for php.ini
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346078 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-26 22:52:07 +00:00
Jeremy Mikola
11b56d0a70 Consolidate notes for macOS installations
Remove reference to deprecated Homebrew formulae and specific XAMPP path. Simply remind users to use the correct PECL binary, as is done in the mongodb extension docs.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346077 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-26 22:50:52 +00:00
Jeremy Mikola
752a9c9992 Advise users to install PHP via Homebrew
Remove reference to deprecated formulae and simply remind users to use the correct PECL binary.

https://jira.mongodb.org/browse/PHPC-1298


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346076 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-26 22:45:23 +00:00
Christoph Michael Becker
add41695ca Document nullable return types
Based on a patch provided by Massimo Naccari.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346044 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-26 12:32:50 +00:00
Christoph Michael Becker
18da52a535 Clarify serialize() exceptions
Inspired by a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346043 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-26 12:02:22 +00:00
Christoph Michael Becker
bc967bc8e2 Fix #77203: mysqlnd.net_read_timeout CAN be changed via PHP_INI_PERDIR
We also document the changed default value, cf.
<http://git.php.net/?p=php-src.git;a=commit;h=543cc08a75039ed934ecc1fe973ec23df7c19df9>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346042 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-26 12:00:18 +00:00
Christoph Michael Becker
6ccdace91b Whitespace fixes
Based on a patch provided by Kasper Franz.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346041 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-26 11:31:58 +00:00
Christoph Michael Becker
3f323ecf21 Document differences between bundled and system libgd
See also <https://github.com/php/php-src/pull/3681>.

Together with r346037 this also integrates user note 123362.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346039 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-24 15:49:43 +00:00
Christoph Michael Becker
5ccf746244 Clarify meaning of $mode default value
See also <https://github.com/php/php-src/pull/3679>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346037 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-23 16:09:08 +00:00
Andrey Gromov
8ff36b6626 typo "commmitted" -> "committed"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346034 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-23 08:47:57 +00:00
Christoph Michael Becker
72b399e30b ext/hash is always enabled as of PHP 7.4.0
Cf. <https://wiki.php.net/rfc/permanent_hash_ext>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346033 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-22 19:17:08 +00:00
Christoph Michael Becker
49e2592f1b Fix #73503: Missing entry in the migration guide
Since the fix for bug #53432 only targeted master, we document
it in the migration guide as incompatible change.

This also integrates user note 120336.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346032 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-22 18:21:16 +00:00
Christoph Michael Becker
0c78bb07f5 Fix error level
Cf. <https://3v4l.org/P2iuQ>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346031 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-22 18:10:01 +00:00
Christoph Michael Becker
c1c4532b5f Remove some outdated info from resource list
* aspell is removed as of PHP 4.3.0
* COM and VARIANT are objects as of PHP 5.0.0
* cpdf is removed as of PHP 5.1.0, and is not part of the manual (anymore)
* dbm has been removed during the French revolution, or shortly afterwards ;)
* hyperwave is removed as of PHP 5.0.0
* icap is removed as of PHP 4.3.0
* java is removed as of PHP 5.0.0
* mcal is removed as of PHP 5.0.0
* xslt is removed as of PHP 5.0.0

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346030 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-22 15:54:57 +00:00
Christoph Michael Becker
f8ad6e41a1 Update IMAP resource type documentation
The “imap persistent” and “imap chain persistent” are removed
as of PHP 4.3.0.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346029 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-22 15:12:37 +00:00
Christoph Michael Becker
ca35bb0ee6 Document potentially insecure IMAP mailbox names
We add a warning to all parameters which may be affected,
and also document the new ini option which prevents RCE.
We intentionally keep the wording backwards (“unless … is
disabled”) to also cater to older PHP version which do not
implement the ini option.

Cf. <https://bugs.php.net/bug.php?id=77153>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346027 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-22 14:39:24 +00:00
Christoph Michael Becker
e7f9a4f893 Add changelog (entry) instead of specifying the availability inline
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346025 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-21 17:18:17 +00:00
Derick Rethans
b03b869aad Fixed example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346021 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-20 15:02:37 +00:00
Christoph Michael Becker
18f9cbcbc4 Replace tabs with spaces
Sorry translators, but tabs shouldn't have been there in the first place,
according to the style guidelines (<http://doc.php.net/tutorial/style.php>).

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346020 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-19 15:09:50 +00:00
Christoph Michael Becker
2ea9e6fea1 Improve wording
Patch provided by david@php.net.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346018 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-19 13:14:01 +00:00
Christoph Michael Becker
5c58791fed Fix #77172: convert error on receiving variables from external sources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346017 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-19 13:11:21 +00:00
Bryan Davis
8cda24876f Update Yaml configure options table
Followup to changes in r345979. Update the default value for yaml.decode_php
in the summary table and add changelog information showing that setting was
introduced in 1.2.0 and changed to default to 0 in 2.0.0.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346016 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-18 16:34:20 +00:00
Christoph Michael Becker
74a8bfdfce Add missing xml:id
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346012 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-18 11:15:45 +00:00
Christoph Michael Becker
9eea2fa6a6 Clarify array_column()'s $index_key casting behaviour
Cf. <https://bugs.php.net/bug.php?id=68553>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346011 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-18 00:46:41 +00:00
Christoph Michael Becker
b04617a197 Include the methods in the classsynopsis, too
Based on a patch provided by Junichi Yamamoto.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345986 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-15 18:10:22 +00:00
Christoph Michael Becker
f354c9be97 Fix #77164: Array function document error:array_key_first
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345985 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-15 16:47:19 +00:00
Christoph Michael Becker
6f439ae86a Fix #77148: No mention of __FUNCTION__ being self-referential inside a closure
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345983 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-14 14:25:43 +00:00
Bryan Davis
bb1b8468cd Update default for unsafe deserialization ini setting
Since 2.0.0 (first PHP7 compatible release), the yaml.decode_php setting has defaulted to false.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345979 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-13 04:12:48 +00:00
Christoph Michael Becker
d15746f50c JSON_BIGINT_AS_STRING is NOT enabled by default.
https://3v4l.org/4IZl6
https://github.com/php/php-src/blob/master/ext/json/tests/008.phpt

Maybe there was a confusion: the doc originally read "(...) supported options. The first is JSON_BIGINT_AS_STRING that allows casting big integers to string instead of floats which is the default. (...)", but here "which is the default" was referring to "[casting big integers to] floats", not to the option.

-- 
Provided by anonymous 94624 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345972 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-11 15:57:11 +00:00
Christoph Michael Becker
baded7410d Document @param support
Cf. <https://github.com/php/php-src/pull/3636>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345971 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-11 15:47:13 +00:00
Christoph Michael Becker
b3bd0c94bb Clarify meaning of $sql_param parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345970 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-11 14:38:43 +00:00
Christoph Michael Becker
23d1661804 Clarify behavior of parameter binding for multiple executions
Based on a patch provided by BohwaZ.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345969 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-11 14:30:23 +00:00
Christoph Michael Becker
99f97fe9ce Document that getallheaders() is now available under FPM
Cf. <https://github.com/php/php-src/pull/3363>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345968 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-09 13:00:18 +00:00
Christoph Michael Becker
7ead611d9b Fix #77125: Typo on openlog() doc page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345967 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-08 22:49:26 +00:00
Christoph Michael Becker
d71b60f004 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345965 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-07 14:17:23 +00:00
Christoph Michael Becker
4284b55c35 Fix example output
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345964 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-07 14:14:32 +00:00
Christoph Michael Becker
afff1e9feb Document changed configure option
Cf. <https://github.com/php/php-src/pull/3632>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345963 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-07 13:32:36 +00:00
Timandes White
3e2ef85af9 add missing entry 'zookeeper.class.constants.ok'
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345960 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-06 07:23:46 +00:00
Timandes White
42f6f11348 fix: fix mismatched tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345959 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-06 07:19:39 +00:00
Timandes White
25190f70cd docs: add more class constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345957 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-06 02:16:35 +00:00
Christoph Michael Becker
ac33a4e791 Fix #77053: Invalid "continue" handling change in PHP 7 is undocumented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345956 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-05 16:20:12 +00:00
Christoph Michael Becker
638e03e226 Fix #77100: Inconsistent behavior between constants and magic constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345954 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-05 14:56:40 +00:00
Christoph Michael Becker
9c902ef963 Document deprecation of undefined constant as bare string fallback
Cf. <https://wiki.php.net/rfc/deprecate-bareword-strings>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345953 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-05 14:09:08 +00:00
Christoph Michael Becker
55b9bc0a53 Case-insensitive constants are deprecated as of PHP 7.3.0
While there is already a respective changelog entry, we also
add a warning to the respective parameter.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345952 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-05 13:59:19 +00:00
Christoph Michael Becker
316f5ea691 Markup identifier regexps as <code> for better readability
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345951 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-05 13:54:03 +00:00
Christoph Michael Becker
e531763926 Remove second "has".
-- 
Provided by anonymous 94502 (shaman_master@list.ru)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345947 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-03 13:40:31 +00:00
Timandes White
6c496422f0 fix: add missing reference
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345940 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-01 03:49:37 +00:00