Commit graph

24844 commits

Author SHA1 Message Date
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
Christoph Michael Becker
f4c6da6b22 Update docs regarding libtidy alternatives
Cf. <https://github.com/php/php-src/pull/1940>
and <https://github.com/php/php-src/pull/3021>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345826 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-17 22:36:36 +00:00
Christoph Michael Becker
9ee6e26a20 Document new options supported by xml_parser_get_option()
Cf. <https://github.com/php/php-src/pull/3594>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345822 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-16 17:38:47 +00:00
Christoph Michael Becker
8358db82c0 Update Apache 2 installation instructions
Based on a patch provided by Bill Mitchell.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345819 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-15 14:03:34 +00:00
Christoph Michael Becker
144e8ab5f1 Document SQLite ≥ 3.5.0 requirement
Cf. <https://github.com/php/php-src/pull/3543>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345812 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-13 11:04:07 +00:00
Christoph Michael Becker
0c1b86e9c6 Prefix <literal> variable names with $
This had formerly been accomplished by PhD, since the variable names
have been marked up as <parameter>, which was confusing here, though.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345797 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-08 13:02:51 +00:00
Christoph Michael Becker
6df12e9c2b opcache_get_status() returns FALSE on failure
Cf. <https://github.com/php/php-src/pull/2031#issuecomment-427592472>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345790 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-06 22:51:37 +00:00
Christoph Michael Becker
40e7aed899 Remove more PHP < 5 related contents
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345788 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-06 16:11:45 +00:00
Christoph Michael Becker
b82236707b Fix #69339: realpath(false) returns CWD
There is nothing special with realpath() regarding type juggling,
so there's no need to mention that NULL can be passed instead of
an empty string.  That even wouldn't work for strict_types.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345785 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-06 11:56:54 +00:00