Commit graph

24771 commits

Author SHA1 Message Date
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
Christoph Michael Becker
f663fff2d5 Add basic array_key_first() example
Based on a patch provided by Nicolas Lefevre.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345623 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-11 15:58:58 +00:00
Christoph Michael Becker
ce25fdf6a8 Fix return type
Patch provided by hassan.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345622 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-11 11:36:11 +00:00
Pieter Hordijk
b08540046e Fixed typos in ::class description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345616 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-09 16:27:09 +00:00
Christoph Michael Becker
31af10a4a2 Fix #76838: date_parse_from_format() changed meaning of zone value in PHP 7.2 -> BC break
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345615 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-09 15:42:19 +00:00
Christoph Michael Becker
067b3bca39 Fix typo
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345614 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-09 14:59:20 +00:00
Christoph Michael Becker
55097bb873 Update default ini values
Based on a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345610 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-07 14:56:40 +00:00
Christoph Michael Becker
59d2ecdcbf Fix parameter names
-- 
Provided by anonymous 93430 (d.negrier@thecodingmachine.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345609 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-07 14:30:10 +00:00
Christoph Michael Becker
2d42df33f1 Fix parameter types
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345608 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-07 14:29:11 +00:00
Christoph Michael Becker
76b357a7bf Fix typo
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345607 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-07 14:18:24 +00:00
Christoph Michael Becker
52dcd35d70 Fix parameter types
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345606 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-07 14:17:19 +00:00
Philip Olson
47f60af9c6 Fixed parameter information, as reported via a user comment by jcastro at eftec dot cl
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345603 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-05 23:51:54 +00:00
Philip Olson
dab688e6f5 Fixed Collection::Add()'s return type, as reported via a user comment by jcastro at eftec dot cl
Mentioned that _id is only generated by MySQL 8+, as reported via a user comment by cyork at echodreamz dot com


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345602 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-05 23:47:28 +00:00