Commit graph

24852 commits

Author SHA1 Message Date
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
Timandes White
14aa757e61 fix: remove redundant entry. fix directory name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345939 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-01 03:20:12 +00:00
Timandes White
c5c14aff5f fix: add missing entries to reference.zookeeper
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345938 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-01 02:20:12 +00:00
Christoph Michael Becker
e0596905de Move xlink namespace declaration to appropriate ancestor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345937 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-31 00:18:38 +00:00
Christoph Michael Becker
97847efdd4 Fix #77084: CryptGenRandom function used by random_int() and random_bytes() is deprecated
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345936 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-31 00:01:29 +00:00
Derick Rethans
a4d3ceaac3 Updated to version 2018.7 (2018g)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345935 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-30 11:21:46 +00:00
Christoph Michael Becker
48bac4e0ab Integrate user note 118893
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345922 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-28 10:45:30 +00:00
Christoph Michael Becker
c835d0f165 Remove PHP 4 related info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345921 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-28 10:39:03 +00:00
Christoph Michael Becker
89232cebd2 Document xml_set_external_entity_ref_handler() fix
Cf. <https://github.com/php/php-src/pull/3596>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345905 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-27 16:24:55 +00:00
Christoph Michael Becker
cc0784145d Document new TIDY_TAG_* constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345904 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-27 16:07:04 +00:00
Derick Rethans
8e83a69aea Updated to version 2018.6 (2018f)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345882 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-22 11:01:58 +00:00
Christoph Michael Becker
24a6ed6d1f Link to constant sections
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345873 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-21 13:46:36 +00:00
Christoph Michael Becker
5cfc144bd5 Add visibility modifiers for all class members
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345872 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-21 13:19:12 +00:00
Christoph Michael Becker
0206d57dd8 tidyNode is a final class with a private constructor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345871 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-21 12:49:52 +00:00
Christoph Michael Becker
99657c20cf Remove TIDY_ATTR_* constants
Have these ever been actually available?

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345855 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-19 15:08:37 +00:00
Christoph Michael Becker
16ce4a27b1 Add missing TIDY_TAG_* constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345854 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-19 15:00:51 +00:00
Christoph Michael Becker
dd09ee01d8 Use already defined entities instead of repeating ourselves
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345853 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-19 14:51:45 +00:00
Christoph Michael Becker
f381911905 Remove prototype from alias docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345852 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-19 14:43:17 +00:00
Christoph Michael Becker
68c1f27e81 Remove superflous functions from versions.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345851 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-19 13:57:15 +00:00
Christoph Michael Becker
ad6c403209 Fix #77034: Casting null to int undefined
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345850 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-19 13:34:25 +00:00
Christoph Michael Becker
3b8a1b9c99 Fix return types
Since ::__toString() is documented as alias of ::current(), we use the same return
types. Obviously, this doesn't make sense, though, see <https://bugs.php.net/77024>.

Patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345849 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-19 13:03:49 +00:00
Christoph Michael Becker
b89090a2b1 Remove obsolete info
We don't document PHP 4 related stuff, and Tidy 1.0 basically means
PHP 4, while Tidy 2.0 means PHP 5.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345836 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-18 13:39:48 +00:00