Commit graph

24605 commits

Author SHA1 Message Date
Jeremy Mikola
52886fcaa7 Improve field path type map example
The previous example was missing the "fieldPaths" key.

https://jira.mongodb.org/browse/PHPC-314


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345225 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-27 18:16:36 +00:00
Derick Rethans
f2d59658fa Add very basic information on fieldPath mappings.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345223 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-27 16:12:43 +00:00
Derick Rethans
b87a886f8c Update documentation to reflect correct inheritence, and changes since 1.4.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345221 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-27 11:47:15 +00:00
Christoph Michael Becker
b6d3b6bc18 Fix “typo”
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345219 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-26 17:27:50 +00:00
Christoph Michael Becker
4f1280021a Improve table markup
There's no need for the <para>s inside the <entry>s, and they look
really ugly.  We also fix a typo.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345218 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-26 17:25:33 +00:00
Jeremy Mikola
9a2cbb997c defaultTransactionOptions defaults to an empty array
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345216 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-26 01:14:00 +00:00
Jeremy Mikola
0aae99e798 Note upper bound on wtimeoutMS param for WriteConcern constructor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345215 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 20:23:05 +00:00
Jeremy Mikola
2a4ade885c Always validate and apply wtimeoutMS in URI options array
https://jira.mongodb.org/browse/PHPC-1216


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345214 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 20:21:52 +00:00
Jeremy Mikola
81acec0aa0 Error at execution time if Bulk::update() arrayFilters is unsupported
https://jira.mongodb.org/browse/PHPC-1196


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345212 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 16:21:24 +00:00
Christoph Michael Becker
fab67f0be1 Document “Allow specifying keys in list()” RFC changes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345209 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 14:30:56 +00:00
Christoph Michael Becker
cf82c5a52d Fix example
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345208 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 13:19:10 +00:00
Andrey Gromov
2e7840d8a4 Add new opcodes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345207 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 13:11:45 +00:00
Christoph Michael Becker
845055cb69 Add basic documentation for the command line options
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345206 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 13:07:57 +00:00
Christoph Michael Becker
ff7261ddd9 Fix typo: change "IntlCodePointBreaIterator" to "IntlCodePointBreakIterator"
-- 
Provided by anonymous 92142 (php@siliconforks.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345203 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 11:40:21 +00:00
Christoph Michael Becker
74685c6472 Document constant removal
Cf. <https://github.com/php/php-src/pull/3324>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345201 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 10:19:32 +00:00
Christoph Michael Becker
25fae36ef9 Fix version info of the phpdbg_break_*() functions
Actually, these are already available as of PHP 5.6.3, see
<https://github.com/php/php-src/blob/php-5.6.3/sapi/phpdbg/phpdbg.c#L265-L320>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345199 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-24 14:54:30 +00:00
Christoph Michael Becker
c7378721ff Improve phpdbg documentation
* use lowercase “phpdbg” throughout
* flesh out the preface
* actually document some of the functions


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345198 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-24 14:43:55 +00:00
Christoph Michael Becker
47814777fd Update wrt. pass-by-reference warning
Based on a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345197 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-24 13:18:06 +00:00
Christoph Michael Becker
eb8197347b Fix grammar
Based on a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345196 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-24 12:43:34 +00:00
Christoph Michael Becker
5ae310caf6 Actually add ini docs to the manual
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345194 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-23 13:10:10 +00:00
Christoph Michael Becker
03626b3314 Ignore entities.*.xml
For some reason, the inherited svn:ignore rules do not seem to be effective.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345193 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-22 23:00:57 +00:00
Christoph Michael Becker
b580c722e3 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345191 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-22 22:56:17 +00:00
Jeremy Mikola
899b175b66 MongoDB\BSON\Int64 class documentation
https://jira.mongodb.org/browse/PHPC-1211


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345186 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-22 18:50:01 +00:00
Jeremy Mikola
6ff13d6d37 Remove Error sections on __toString() methods, which cannot throw
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345185 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-22 18:48:46 +00:00
Jeremy Mikola
66d301903b Use common note for BSON jsonSerialize() return value docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345184 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-22 18:45:22 +00:00
Jeremy Mikola
aaaeefbb39 Errors are not relevant for private ctors on deprecated BSON types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345183 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-22 18:43:55 +00:00
Derick Rethans
c26c53aec6 Add (basic) documentation for MongoDB 4.0+ transactions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345182 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-22 16:19:51 +00:00
Christoph Michael Becker
5d29ab74d0 Add phpdbg documentation to the manual
We start by running docgen, and fixing and fleshing out the documentation
by what we can get by skimming the phpdbg.c code.  We also fix and update
the version information.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345181 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-22 12:59:54 +00:00
Christoph Michael Becker
802fb7ce9f Fix #76516: shuffle() has a note about undefined sorted order
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345180 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-22 10:18:33 +00:00
Christoph Michael Becker
761bd0ba2d Some of the aliases for encodings were marked as such ("(alias:...)") but others weren't (just "(...)"). Added "alias:" to those missing it for (a) consistency and (b) at least one person (see user notes) didn't understand that "(...)" represented an alias.
-- 
Provided by anonymous 92003 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345173 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-19 15:10:34 +00:00
Christoph Michael Becker
8e301bd33b Fix #76496: Missing changelog entry about 7.2.0
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345172 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-19 15:08:12 +00:00
Christoph Michael Becker
e5273c2500 Fix #76500: fputcsv() is ignoring the value FALSE
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345171 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-19 15:02:34 +00:00
Christoph Michael Becker
0ea2fa3e03 Document compact() change for 7.3
Based on a patch provided by Gabriel Caruso.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345170 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-19 14:55:51 +00:00
Christoph Michael Becker
57177f4159 Fix #76490: Documentation of Directory::read() makes no sense
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345164 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-18 10:54:23 +00:00
Christoph Michael Becker
22c8f44c1a Fix #69273: bad context option name given
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345163 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-18 10:52:06 +00:00
Christoph Michael Becker
308c398d63 Flesh out the doc skeleton
Based on a patch provided by Norbert Fuksz.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345159 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-17 13:17:45 +00:00
Christoph Michael Becker
290080bd4d Fix #76486: hrtime() return value descriptions unclear
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345156 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 21:24:48 +00:00
Christoph Michael Becker
1f61f60d77 Fix #72109: SplFileObject::__construct() not mentioned in class synopsis
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345155 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 16:43:16 +00:00
Christoph Michael Becker
6e2faf8ef3 Fix #76265: The order of the same priority is not maintained
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345154 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 15:40:40 +00:00
Christoph Michael Becker
4025d1cf5e Revert r339623
The proper term here is indeed “sift”, not “shift”.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345153 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 15:27:05 +00:00
Christoph Michael Becker
4bff852af9 The added, but not filled in functions that pertain to the socket_addrinfo_* set.
-- 
Provided by anonymous 57081 (dave@mudsite.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345152 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 12:46:25 +00:00
Christoph Michael Becker
87054c1c43 Refer to the (unset) casting section
Inspired by a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345151 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 12:34:51 +00:00
Christoph Michael Becker
9f9ed4225c Add missing changelog entry
Based on patch provided by Konrad Papała.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345150 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 12:26:26 +00:00
Christoph Michael Becker
aaeb51d919 Exception implements Throwable
While this is only the case as of PHP 7.0.0, we nonetheless make it
the default, and change the note regarding the former state.

Based on a patch provided by Artem Ostretsov.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345149 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 12:20:45 +00:00
Christoph Michael Becker
4b3211634a Clarify return value
Based on patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345148 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-16 12:14:32 +00:00
Christoph Michael Becker
02424f4d2a Update example to avoid the deprecated each()
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345141 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-15 12:09:29 +00:00
Christoph Michael Becker
654f983667 Update wrt. new “object” type declaration
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345140 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-15 11:56:43 +00:00
Christoph Michael Becker
9cc4767b2d What's in a name?
The Macintosh operating systems changed their name a few times since
version 10. We follow suite, and use the proper name whenever we refer
to a certain version, and use “macOS” as generic term, since “Mac OS X”
and “OS X” versions are already unsupported, or loose support at the end
of this year.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345139 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-15 11:50:40 +00:00
Nikita Popov
b7b8f77a69 Fix type of getPartsIterator key_type parameter
Also document values it accepts

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345135 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-13 22:00:49 +00:00
Christoph Michael Becker
2f491ab5e1 Fix #76473: PHP_INT_MAX doesn't mention 64-bit value
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345134 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-13 21:29:18 +00:00