Christoph Michael Becker
4998e7c97b
Fix #78130 : Add SplPriorityQueue::isCorrupted version
...
Introduced via http://git.php.net/?p=php-src.git;a=commit;h=c54045a1f949 ,
documented via http://svn.php.net/viewvc?view=revision&revision=343928 but
never added to `versions.xml`
Patch provided by Gabriel Caruso.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349233 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-16 22:20:38 +00:00
Pieter Hordijk
4491cca51d
Fixed description about the advantage.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348936 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-17 15:37:07 +00:00
Yoshinari Takaoka
1a81ebd0f9
fixed changelog parameter name that follows parameter list description.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348831 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-07 11:23:49 +00:00
Christoph Michael Becker
929cec1734
Clarify that fgetss() is stateful
...
We also add related functionality in the see-also section.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348386 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-01 13:03:14 +00:00
Christoph Michael Becker
04d92dac21
Fix #78462 : Wrong return type for ArrayIterator::unserialize
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347910 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-01 09:16:26 +00:00
Nikita Popov
81a88c05eb
Fix bug #65269 : SplFileObject::__construct() throws LogicException as well
...
Fix for [bug 65269](https://bugs.php.net/bug.php?id=65269 ).
Patch by BenMorel.
Closes GH-3.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347670 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-26 07:56:15 +00:00
Nikita Popov
4a414d4676
Clarify what NoRewindIterator does
...
NoRewindIterator does not forbid rewinds, it ignores them.
Patch by nikic.
Closes GH-2.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347593 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-11 21:54:08 +00:00
George Peter Banyard
6776e9012b
Fix See Also link
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347575 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-08 14:55:04 +00:00
Craig Duncan
e298f1eaee
Add changelog for SplFileObject::__toString()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347527 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-02 15:17:21 +00:00
Craig Duncan
2abaae34ef
SplFileObject::__toString() is now an alias for SplFileObject::fgets()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347521 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-01 10:51:29 +00:00
Christoph Michael Becker
bba432fb39
Fix #78044 : Wrong return type in ArrayIterator::getFlags() description
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347452 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-21 08:46:05 +00:00
Christoph Michael Becker
34f49a945c
Fix #78013 : SplDoublyLinkedList class constants definitions are missed
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347439 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-18 08:50:57 +00:00
Pieter Hordijk
a10c57aa99
Added example and a note to make it clear to not use a space character between file extensions in the list. Closes #67701
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347422 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-15 11:57:07 +00:00
Peter Cowburn
4f3c8fa26e
remove duplicate word
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347364 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-01 19:40:43 +00:00
George Peter Banyard
54a8931302
Fix Doc Bug #77925
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347299 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-20 14:33:20 +00:00
George Peter Banyard
87b1f7ef55
Improve sprintf documentation and related functions (such as printf)
...
Fix Doc Bug #77451
Integrate Note 111201 into doc http://php.net/manual/en/function.sprintf.php#111201
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347041 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-24 16:30:33 +00:00
Christoph Michael Becker
650d6ae781
Fix #77723 : Wrong return type for SplFileInfo::__toString
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346989 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-11 12:06:23 +00:00
Levi Morrison
13f8760951
Fix IteratorIterator::key() return type
...
Years ago this was `void`, and I erroneously changed it to `scalar`. It will delegate to the sub-iterator's get_current_key handler, which can return any kind of zval.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346694 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-04 01:49:54 +00:00
Christoph Michael Becker
3dc2583ada
SplPriorityQueue::insert() return true
...
Based on a patch provided by Jaap van Otterdijk.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346662 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-28 10:38:22 +00:00
Christoph Michael Becker
8f828979a0
As of PHP 7.4.0 an empty escape string means no escaping
...
Cf. <https://github.com/php/php-src/pull/3515 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346346 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-15 15:15:12 +00:00
Christoph Michael Becker
2a85fbcd7c
Fix #77271 : PHP 7.3: Various info missing from changelog/migration guide
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346281 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-10 15:24:21 +00:00
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