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
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