Commit graph

512 commits

Author SHA1 Message Date
Christoph Michael Becker
9421e06e34 Fix bug : 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 (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 )
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
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  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
Maciek Sokolewicz
865071208a Add simple documentation for the CHILD_ARRAYS_ONLY flag for RecursiveArrayIterator that was added as a fix to Bug back in the 5.3.0 release.
Provided by John Flatness (john@zerocrates.org)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341941 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-21 10:46:22 +00:00
Christoph Michael Becker
f39bffda6b Add error section
Original patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340545 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-18 11:14:50 +00:00
Christoph Michael Becker
6ad6ddaac2 Fix example
Patch provided by Gavin Staniforth.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340477 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-14 09:37:13 +00:00
Christoph Michael Becker
e0a6752d35 Fix : SplFileObject::getCsvControl does not return the escape characters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339699 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-22 13:35:09 +00:00
Christoph Michael Becker
f15c877695 SplFileObject::setCsvControl() accepts an $escape parameter as of PHP 5.3.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339698 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-22 12:14:32 +00:00
Christoph Michael Becker
39c9ff81d3 Document : RecursiveDirectoryIterator with UNIX_PATHS flag doesn't work
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339658 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-13 17:19:57 +00:00
Christoph Michael Becker
6798718d38 Fix typo (by Shaunak Sontakke <shaunak.s@gmail.com>)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339623 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-10 12:14:00 +00:00
Christoph Michael Becker
114db47247 Fix method prototype
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339617 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-10 11:37:14 +00:00
Bob Weinand
8c3557271d Add caution/note regarding yield from and iterator_to_array
It's been a common source of mistake, see also https://bugs.php.net/72518

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339531 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-30 00:24:35 +00:00
Christoph Michael Becker
98979b1bf6 fixed example (by Mantas Urnieža)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338512 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 18:14:22 +00:00
Christoph Michael Becker
80d5ee9f13 fixed wrong return value description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338502 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 14:40:12 +00:00
Thomas Punt
8265cab125 Resolve doc bug
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338453 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-10 16:49:58 +00:00
Thomas Punt
5ac268ed43 Resolve doc bug
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338452 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-10 16:44:57 +00:00
Thomas Punt
fec8254f0a Resolve doc bug
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338451 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-10 16:32:09 +00:00
Adam Harvey
41d8e7ffe4 Update version information to include PHP 7.
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.

In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +00:00
Christoph Michael Becker
e8f859e6fd spl_autoload() may throw LogicException (related to )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337786 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-08 20:22:19 +00:00
Philip Olson
3a18df636a Expanded docs to take into account empty file names and missing files, and linked to realpath(). This deals with a user note by josef.vlk.d@gmail.com
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337752 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-04 17:42:41 +00:00
Christoph Michael Becker
f331045b68 fixed type info of flags (fixes )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337622 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-25 11:53:45 +00:00
Christoph Michael Becker
964d208b1f iterator_count() may wind iterator beyond its end (fixes )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337605 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-24 18:15:02 +00:00
Christoph Michael Becker
f0f896b7d4 typo fix by matthew rummler
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337313 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-06 23:31:54 +00:00
Christoph Michael Becker
0b3c7e0cf0 fixed validation error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337232 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-23 22:16:25 +00:00