Commit graph

533 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
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
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
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
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
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
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
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
Christoph Michael Becker
91b100b3f4 Fix #76823: RecursiveCachingIterator has a wrong type for $flags argument
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345574 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-30 21:42:07 +00:00
Christoph Michael Becker
4b192801e5 Fix #68106: Typo in ArrayIterator::setFlags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345528 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-18 12:03:39 +00:00
Christoph Michael Becker
8374415e7c Comment out inclusion of methods
Apparently, there is a still unfixed bug in libxml2[1], which causes
spurious errors to be shown, if an xpointer has no match, even though
a fallback is given.

[1] <https://mail.gnome.org/archives/xml/2010-November/msg00004.html>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345439 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-07 21:11:40 +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
bc4fedde59 Fix grossly misleading information
This patch has been provided by an anonymous user and solves an issue related
to the presentation of <literals> which in this case are (nearly) undistinguishable
from normal text.

Actually, we should strive for a more general solution here, since there are similar
issues in the return values section, and possibly in translations.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344926 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-02 22:00:58 +00:00
Christoph Michael Becker
f93af4fcac Clarify locale awareness of the CSV reading functions
See bug #72330.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344648 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-10 17:00:52 +00:00
Christoph Michael Becker
9a5f30aaa4 Fix #75546: Clarification for how iterator_apply's $args are passed to the $function
This also integrates user note 121897.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344631 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-07 22:06:57 +00:00
Christoph Michael Becker
02946588d9 Add caution regarding locale awareness
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344566 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-25 14:12:03 +00:00
Peter Cowburn
0dad2268d5 add missing svn properties, svn:eol-style and svn:keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344522 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-15 22:01:56 +00:00
Christoph Michael Becker
9421e06e34 Fix bug #67566: escape parameter in fgetcsv() is sometimes ignored
We clarify the actual meaning of $escape.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344268 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-15 17:04:23 +00:00
Christoph Michael Becker
47da3a2a8a Clarify behavior of $enclosure wrt. $escape_char
Cf. <http://svn.php.net/viewvc?view=revision&revision=344264>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344267 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-15 15:35:54 +00:00
Christoph Michael Becker
3f875a0dcd Fix bug #75948 (Incorrect param type documentation for RecursiveIteratorIterator::setMaxDepth)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344210 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-11 12:24:09 +00:00
Jakub Vrana
578a13198f Update versions based on parsing sources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344132 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 12:27:12 +00:00
Jakub Vrana
6bba2efa47 Fix initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344129 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 08:26:26 +00:00
Jakub Vrana
b06b5b0830 Use array() initializer instead of []
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344127 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 08:23:47 +00:00
Jakub Vrana
b86e690399 Link parent method (bug #74568)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344086 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 23:18:43 +00:00
Jakub Vrana
9307b17b2f Unify version format
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344070 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 15:24:22 +00:00
Jakub Vrana
7c50ead1ed Fix versions based on parsed php-src
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344068 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 15:23:17 +00:00
Jakub Vrana
920901f85f Remove >= 5.0.0 from versions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344032 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 09:04:35 +00:00
Christoph Michael Becker
7645f06a69 Add version info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343964 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 22:56:05 +00:00
Jakub Vrana
7a454edfe5 Fix return type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343930 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 13:21:18 +00:00
Jakub Vrana
8cf3d8d92f Fix return type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343929 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 13:20:43 +00:00
Jakub Vrana
5f6c0c7994 Document PHP 7.2 functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343928 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 13:20:18 +00:00
Jakub Vrana
0398e4194e Rename to (note 116676)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343913 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 09:49:38 +00:00
Jakub Vrana
b8758b0605 Use entities in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +00:00
Jakub Vrana
508869e1df Use float instead of double
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343895 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 16:11:32 +00:00
Jakub Vrana
dd07341fae Remove trailing fullstop in <refpurpose>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343888 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:34:22 +00:00
Jiří Pudil
3750df03dc Add spl_object_id() documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343851 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-21 14:06:18 +00:00
Christoph Michael Becker
4d8355fa19 Fix typo
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343839 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-15 13:38:46 +00:00
Christoph Michael Becker
b23296d191 Fix broken build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343794 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-09 12:43:05 +00:00
Pasindu De Silva
57f35653b4 Added an examples to getsubpath and getsubpathname methods.
-- 
Provided by anonymous 86700 (tim_siebels_aurich@yahoo.de)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343791 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-09 12:02:21 +00:00
Peter Cowburn
b77d30fcc8 typofix for doc bug #75498
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343380 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-08 09:16:36 +00:00
Christoph Michael Becker
dd475c6153 Document ArrayIterator::uasort() and ::uksort()
This partially fixes request #63989 and also integrates 
user note 118260.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343115 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-21 09:18:21 +00:00
Christoph Michael Becker
3384e40b5d As described in https://www.reddit.com/r/lolphp/comments/67w98x/prototype_says_it_returns_an_int_doc_says_it/ the prototype indicates that it returns an int, the return description says it does not return values and execution of the function seems to return bool. I checked PHP source code and seems that the only value returned is bool, therefore I updated the docs accordingly.
-- 
Provided by anonymous 83640 (jdomenechbborges@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342899 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 11:36:07 +00:00
Kalle Sommer Nielsen
78772dc008 Fix the fix for LOCK_NB on Windows, it seems that the SPL docs was wrong. Added flock()'s changelog to the SPL docs as well
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342695 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-24 21:03:28 +00:00
Christoph Michael Becker
95e3ed68b8 Fix return value documentation
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342511 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-26 13:40:38 +00:00
Pieter Hordijk
54578c3746 Added example for "virtual" file handlers
Fixes https://bugs.php.net/bug.php?id=73652

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342172 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-21 11:31:26 +00:00
Andrey Gromov
69858e0f65 typo (by anonymous)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341985 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-28 06:53:01 +00:00