Commit graph

24833 commits

Author SHA1 Message Date
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
Christoph Michael Becker
cc921d3789 Fix #76920: Out-dated Windows info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345682 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-23 15:47:07 +00:00
Christoph Michael Becker
85234fc2fc Fix typo
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345681 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-23 14:04:13 +00:00
Nikita Popov
d0223d6121 base64_encode() has no failure conditions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345680 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-23 12:52:32 +00:00
Christoph Michael Becker
599a6e381e Fix #61661: SQLite3::createAggregate() callbacks: insufficient docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345679 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-22 10:40:40 +00:00
Christoph Michael Becker
74438c35a8 Fix methodsynopsis markup
This is a quick fix to get rid of the “No mapper found for 'funcparams'”
warning triggered by PhD (see bug #76892). These pages still need review.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345674 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-21 21:19:46 +00:00
Christoph Michael Becker
9c229bc9b7 Remove obsolete (i.e. pre PHP 5 related) contents
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345671 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-21 12:26:38 +00:00
Christoph Michael Becker
7651e3641b Proper i18n
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345669 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-21 11:55:22 +00:00
Christoph Michael Becker
5032f41c27 Document move of the DateTime constants to DateTimeInterface
Cf <https://github.com/php/php-src/pull/2483>.
We keep the old IDs, though, for BC reasons. 

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345663 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-20 16:24:27 +00:00
Christoph Michael Becker
437bbf134e Show inherited constants
We do this for the classes of the core and bundled extensions only, for now.
This also allows us to remove some slightly incorrect and unnecessary copy
and paste documentation, where inherited constants have been explicitly
documented for child classes.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345662 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-20 15:10:00 +00:00
Christoph Michael Becker
ffe8f84ec5 Document SameSite cookie attribute support (PHP 7.3.0)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345661 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-20 10:50:01 +00:00
Christoph Michael Becker
2615e4d64d Show inherited constants of SplTempFileObject
This is somewhat experimental, and might need to be reverted.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345650 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-18 12:19:59 +00:00
Christoph Michael Becker
f20f288482 Fix code snippet to match the parameter names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345648 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-18 09:35:51 +00:00
Philip Olson
4a47d8ff87 Fixes, clarifications, file name change, and added build info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345646 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-17 20:10:34 +00:00
Christoph Michael Becker
8335b04e9e Revert revision(s) 345642 from phpdoc/en/trunk:
Update regarding implemented feature request #67331



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345643 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-15 15:12:43 +00:00
Christoph Michael Becker
826de66964 Update regarding implemented feature request #67331
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345642 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-15 14:05:11 +00:00
Christoph Michael Becker
ac8c2589a3 Update wrt. PHP 7.4.0
See <http://git.php.net/?p=php-src.git;a=commit;h=01912f93c3f702b5b34a0a9a4c8f529785b0286a>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345641 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-15 13:17:20 +00:00
Christoph Michael Becker
19e73c0754 Document ICU ≥ 50.1 requirement
See <https://github.com/php/php-src/pull/3487>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345640 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-15 12:17:27 +00:00
André Luis Ferreira da Silva Bacci
730ae1c76c Files without svn:eol-style -- See http://doc.php.net/tutorial/faq.php
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345637 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-14 20:52:23 +00:00
Christoph Michael Becker
b3127b7d52 Fix #64832: use of "lowest" in $desiredmsgtype parameter description creates ambiguity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345635 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-14 17:40:48 +00:00
Christoph Michael Becker
4279863b96 Fix #76874: Documentation of memory leak in Xml Parser
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345634 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-14 12:09:43 +00:00
Christoph Michael Becker
de9a87ad3f Fix #76880: Documentation shows case that cannot be used
The example is invalid as of PHP 5.5.0, so we remove it.
Anybody with a working example?

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345633 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-14 11:44:34 +00:00
Christoph Michael Becker
e85529f86f Fix #76881: shmop_read() with $count = 0 returns whole segment
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345632 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-14 11:24:58 +00:00
Christoph Michael Becker
89eb26039d The php impl. is different from the docs, see https://github.com/php/php-src/blob/master/ext/spl/spl_array.c#L717-L772
-- 
Provided by anonymous 93575 (hello@ohartl.de)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345631 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-14 11:01:23 +00:00
Christoph Michael Becker
27bd895115 Fix parameter types
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345630 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-14 10:59:34 +00:00
André Luis Ferreira da Silva Bacci
a7f80c7164 Fix 'Inconsistent line ending style'
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345629 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-13 17:51:39 +00:00