Commit graph

24808 commits

Author SHA1 Message Date
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
Christoph Michael Becker
1bae6f9b26 Fix parameter name
Patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345784 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-06 11:56:46 +00:00
Christoph Michael Becker
d8d97da74f Fix #76971: Changed array append behaviour of array_unique
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345783 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-06 11:43:28 +00:00
Christoph Michael Becker
147bc7c392 Win95/98 is long gone
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345782 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-06 11:31:45 +00:00
Christoph Michael Becker
b9a8d77cba Document unbundling of libsqlite
Cf. <https://github.com/php/php-src/pull/3548>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345781 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-06 11:19:12 +00:00
Nikita Popov
6e2c23cc40 Mention PASSWORD_ARGON2I not always available
And remove the example for manually specifying a salt. We should not show examples with deprecated functionality.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345776 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-05 10:10:36 +00:00
Christoph Michael Becker
82c8243cae List new cURL constants
Cf. <https://github.com/php/php-src/pull/3541>.

Based on a patch provided by neranjan125@gmail.com.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345772 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-04 10:03:02 +00:00
Christoph Michael Becker
2d3479cd0f Update DBA installation instructions
* --with-flatfile and --with-inifile are --enable-flatfile
  and --enable-inifile as of PHP 5.2.1
* document lmdb configuration
* remove PHP 4 related info

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345770 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-03 16:59:27 +00:00
Christoph Michael Becker
ebce493436 Fix #76945: DateTime modify with decimals
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345766 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-02 15:43:12 +00:00
Pasindu De Silva
7e18f0a154 Added change log about preg_quote() escaping the '#' character.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345761 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-01 17:33:37 +00:00
Christoph Michael Becker
d2ab5f1003 Add the PGSQL_DIAG_SEVERITY_NONLOCALIZED Constant and details
-- 
Provided by anonymous 93865 (neranjan125@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345760 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-01 17:30:47 +00:00
Pasindu De Silva
0d988413b0 Added 7.3.0 deprecation notice for FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345758 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-01 16:46:19 +00:00
Christoph Michael Becker
fd35a907bb Document new CompileError exception
Based on a patch provided by Huiren Woo.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345757 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-01 16:32:58 +00:00
Christoph Michael Becker
5db64d7518 JSON_BIGINT_AS_STRING is enabled by default
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345756 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-01 15:05:23 +00:00
Christoph Michael Becker
a2fcd66690 Fix link
Based on a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345755 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-01 14:57:31 +00:00
Pasindu De Silva
a852772fa6 Added JSON_THROW_ON_ERROR to json_decode options list
-- 
Provided by anonymous 93868 (zion@intzone.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345754 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-01 14:23:36 +00:00
Pasindu De Silva
fc92f870bc Added JSON_THROW_ON_ERROR constant to json_encode options list.
-- 
Provided by anonymous 93868 (zion@intzone.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345753 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-01 14:20:57 +00:00
Christoph Michael Becker
7dc6fd6583 Fix #75313: Return value of zmqsocket.recvmulti is string[]
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345745 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-30 16:56:02 +00:00
Christoph Michael Becker
0eba19b223 Fix #74601: Missing FTP_USEPASVADDRESS in documentation
The actual documentation has already been done with r343809.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345744 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-30 15:11:26 +00:00
Christoph Michael Becker
c5971e972a Fix #76949: ReflectionType::__toString() not marked as deprecated
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345735 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 21:28:39 +00:00
Nikita Popov
99d1ecc2f4 Don't use mcrypt_create_iv in password_hash docs
Also reference sodium_crypto_pwhash_str (patch by Marcus Bointon). Merged into this commit because I don't understand edit.php.net

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345734 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 20:12:28 +00:00
Nikita Popov
be96542e25 Reference sodium_crypto_pwhash_str_verify from password_verify
Patch by Marcus Bointon

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345733 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 20:09:28 +00:00
Christoph Michael Becker
6acea9d1d1 Add preliminary documentation of PASSWORD_ARGON2ID
Based on patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345731 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 17:32:30 +00:00
Christoph Michael Becker
8f184087fb Document new gmp_binomial() function
Based on a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345730 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 16:51:57 +00:00
Christoph Michael Becker
10bf01015f Show inherited properties of core error classes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345729 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 16:20:46 +00:00
Christoph Michael Becker
0c22ef14ec Improve inclusion of inherited properties
We make the XPath expression more specific to avoid accidental inclusion
of constants, and add an xi:fallback.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345726 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 15:15:03 +00:00
Christoph Michael Becker
3fe818fe95 Add reference to JsonException in JSON book
-- 
Provided by anonymous 93868 (zion@intzone.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345724 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 12:57:34 +00:00
Christoph Michael Becker
ce4bc25822 Create docs for JsonException
-- 
Provided by anonymous 93868 (zion@intzone.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345721 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 12:13:58 +00:00
Christoph Michael Becker
c0693bf1fc Document JSON_THROW_ON_ERROR only once
We introduce a new “section” for options of json_encode() and json_decode().

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345719 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 12:11:06 +00:00
Christoph Michael Becker
a0b7deb4a4 Added constant under options for json_decode and json_encode.
-- 
Provided by anonymous 93868 (zion@intzone.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345717 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 12:01:27 +00:00
Christoph Michael Becker
96477bc8db Fix changelog order
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345716 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 12:00:59 +00:00
Christoph Michael Becker
8f1674d579 Add information about the new MBString constants available in PHP 7.3
-- 
Provided by anonymous 93866 (giantcrabby@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345714 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 11:51:48 +00:00
Christoph Michael Becker
b18ef859a2 Add deprecation notice for parameter used in define function
-- 
Provided by anonymous 93866 (giantcrabby@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345713 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 11:46:59 +00:00
Pasindu De Silva
5185cf5017 Added CURLOPT_REQUEST_TARGET constant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345704 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-28 03:49:05 +00:00
Pasindu De Silva
d73588ddcb opcache.inherited_hack removed in PHP 7.3.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345703 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-28 02:45:10 +00:00
Pasindu De Silva
63f25fc352 Added SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13 constant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345702 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-28 02:22:51 +00:00
Gabriel Caruso
b08ad23265 Fix Bug #76924: CallbackFilterIterator::accept returns a boolean not a string
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345684 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-23 17:09:15 +00:00