Commit graph

833 commits

Author SHA1 Message Date
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
d2707fbf04 Clarify behavior of $enclosure wrt. $escape_char
This also integrates user note 105110.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344264 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-15 13:41:33 +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
8685dea430 Fix initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344128 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 08:24:46 +00:00
Christoph Michael Becker
c1b9de0f8c Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344113 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-30 15:42:32 +00:00
Christoph Michael Becker
55d32ace54 Fix example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344112 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-30 15:09:55 +00:00
Christoph Michael Becker
0c6fd2d88e Mark up literals
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344111 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-30 15:08:20 +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
Pasindu De Silva
63781351a2 Added note about realpath not working on phar.
https://bugs.php.net/bug.php?id=52769
-- 
Provided by anonymous 86718 (theo.fidry@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343778 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-07 12:53:43 +00:00
Christoph Michael Becker
357dbec142 Improve wording
Patch provided by Junaid Ahmed.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343348 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-30 18:18:47 +00:00
Christoph Michael Becker
728e8c4e71 Fix #75203: FILE_USE_INCLUDE_PATH: INT instead BOOL
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343110 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-19 15:04:42 +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
Kalle Sommer Nielsen
04e210bb02 LOCK_NB is not supported on Windows
Internally LOCK_NB is simply discarded if the bits are passed along to flock()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342693 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-21 21:02:38 +00:00
Pieter Hordijk
1dd89405e7 Fixed description in the case of renaming a directory to an existing target.
https://bugs.php.net/bug.php?id=73997

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342252 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-05 19:02:28 +00:00
Andrey Gromov
218c58b32d Little fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341874 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-08 07:36:03 +00:00
Christoph Michael Becker
26a7f387e0 Fix changelog entry according to style guide
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341625 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-08 12:14:35 +00:00
Kalle Sommer Nielsen
f1a1676a9d Clarify version for fopen()'s new 'e' mode (Anatol)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341617 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-07 13:53:16 +00:00
Anatol Belski
272a166f56 extend doc for https://github.com/php/php-src/pull/1546
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341610 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-07 11:39:27 +00:00
Jean-Sebastien Hedde
23348cb918 Related to #62119
This will do the same change for pathinfo and dirname as already made for basename. 

-- 
Provided by anonymous 78971 (tobias.nyholm@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341589 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-02 12:37:01 +00:00
Christoph Michael Becker
15197c8641 Mark up literals
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341343 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-08 15:26:03 +00:00
Maciej Sobaczewski
7385e38407 Remove PHP4-specific content
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341080 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-20 11:50:43 +00:00
Christoph Michael Becker
3636c163fb Integrate user note 120098
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340905 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-07 15:11:12 +00:00
Christoph Michael Becker
7e4167f3f2 Fix #62119: basename broken with non-ASCII-chars
We move the important notes up into the description section, and elevate
the note regarding the locale awareness to a caution.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340481 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-14 17:28:12 +00:00
Christoph Michael Becker
69dd1b59c9 Improve readability of the doc sources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340222 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 12:34:02 +00:00
Christoph Michael Becker
d225d89995 Update manual wrt. <https://wiki.php.net/rfc/negative-string-offsets>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340032 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-14 11:53:33 +00:00
Christoph Michael Becker
7fcd3e4d78 Integrate user note 119861
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340009 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-09 22:26:40 +00:00
Christoph Michael Becker
45e26d4e5d Add links to pack() and unpack(), respectively
That appears to be useful info for programmers coming from C, see
<http://news.php.net/php.general/325662>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339729 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-26 23:31:08 +00:00
Christoph Michael Becker
5308bbedf6 Fix #72609: Insecure example in php.net documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339679 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-18 12:36:51 +00:00
Pieter Hordijk
50de96a686 Added warning when file not exists info in errors section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339671 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-15 18:08:07 +00:00
Christoph Michael Becker
1ad5dfe5e0 Fix #71804: proc_close does not return exit code
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339529 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 18:23:56 +00:00
Christoph Michael Becker
3e831d6e6f Fix #67048: pathinfo() doesn't document parsing of dot-files
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339450 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-22 14:17:23 +00:00
Christoph Michael Becker
b852815d2e Fix #55566: Example 2 for fileperms is wrong
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339346 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-14 14:02:02 +00:00
Christoph Michael Becker
5702a6cdc7 Fix file_get_contents() 'offset' default value (contributed by François Laupretre)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338506 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 17:15:40 +00:00
Jean-Sebastien Hedde
d32fe0ca64 fopen($filename, 'a') opens for writing only, the statement 'fseek()() only affects the reading position' is confusing since there is no reading in this mode. (I also fixed the reference to fseek.)
-- 
Provided by anonymous 62046 (p-schneider@hotmail.de)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338383 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-31 12:27:21 +00:00
Philip Olson
028c8b7bc8 Implemented user note by Eric Mueller: trailing delimiters are also removed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337750 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-04 17:03:11 +00:00
Thomas Punt
784c7b502d Document new dirname() changes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337505 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-16 18:16:29 +00:00
Christoph Michael Becker
97efe1821f improve example (contributed by anon user)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337464 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 00:11:32 +00:00
Peter Cowburn
01ce565305 fix <function> markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337389 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-10 14:50:08 +00:00
Christoph Michael Becker
7279eb69e5 typo fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337307 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-06 22:59:13 +00:00
Christoph Michael Becker
fcf506ba92 added note regarding normalization of the character case on case-insensitive
filesystems (see #67220)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337295 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-05 15:09:38 +00:00
Maciej Sobaczewski
b6dc84ee14 Sigh...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336978 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-16 09:11:34 +00:00
Maciej Sobaczewski
ad46822c2c Document #-style comments support removal in PHP 7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336976 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-16 05:39:25 +00:00
Maciej Sobaczewski
28b60877cc Document INI_SCANNER_TYPED
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336975 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-16 05:05:37 +00:00
Christoph Michael Becker
65ba344afa clarified fallback to temp dir (fixes #69488)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336950 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-14 15:20:45 +00:00
Christoph Michael Becker
a706ea6af5 fixed typos, grammar, expression
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336939 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-13 22:22:45 +00:00
Peter Cowburn
c1cfcdfd88 note fseek() behaviour with fopen mode a/a+
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336902 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-09 20:58:55 +00:00
Peter Cowburn
631ffcb398 basename example with and without suffix argument
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336901 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-09 20:58:47 +00:00
Karoly Negyesi
0faac5c51e small reword to previous commit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336832 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-22 19:44:14 +00:00
Karoly Negyesi
3263e037e1 elaborate on file_put_contents LOCK_EX
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336827 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-22 06:50:48 +00:00
Pieter Hordijk
5eb641c91a Added changelog entry for the fixed wouldblock param on windows https://bugs.php.net/bug.php?id=54129
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336705 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-30 20:24:22 +00:00
Maciej Sobaczewski
5fb8369ce4 Apply patch by Christoph Michael Becker (closes bug #64927)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336672 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-27 04:58:17 +00:00
Peter Cowburn
2664626816 markup parameter and mention previously
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336603 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-20 14:09:03 +00:00
Pasindu De Silva
d1b39ea532 Minor typo and other fixes. (By Christoph Becker)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336599 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-20 10:48:37 +00:00
Peter Cowburn
10ae3ea56c Add 5.3.4 change to changelog
"Changed the $context parameter on copy() to actually have an effect. (Kalle)"

-- 
Patch by Pasindu (ppasindud@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336565 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-17 14:34:44 +00:00
Peter Cowburn
52b94bc52e Add some ini keys (doc bug #55727)
-- 
Patch by Pasindu (ppasindud@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336561 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-17 14:14:55 +00:00
Maciek Sokolewicz
a8fcd8de63 added an additional link to the see also section of chown (patch by Francis Rath)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336238 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-29 18:32:22 +00:00
Pieter Hordijk
9204176572 LOCK_NB is actually supported on windows as well. The only thing that currently doesn't work is the $wouldblock by ref param.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335862 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-02 18:27:32 +00:00
Matt Li
6501c09ded Add escape_char paramter to fputcsv, formatting consistancy with fgetcsv
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335815 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-28 05:49:05 +00:00
Peter Cowburn
c4c0f7fc58 WS in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335554 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-02 12:40:47 +00:00
Jean-Sebastien Hedde
877e82bf2f i ​added a check on the returned file handle from fopen() before attempting to read it via feof(). this is to prevent infinite loops on feof() when reading from an invalid file pointer. see the warnings documented here: http://php.net/manual/en/function.feof.php#refsect1-function.feof-notes
-- 
Provided by anonymous 52007 (stefan.topfstedt@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335436 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-28 18:18:16 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Maciej Sobaczewski
e41aab5eca Remove changelogs for PHP 4 - 3rd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334621 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 17:46:13 +00:00
Maciej Sobaczewski
8b5940cade Remove changelogs for PHP 4 - 2nd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334605 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-26 14:28:17 +00:00
Maciej Sobaczewski
afc3f34c68 Remove changelogs for PHP 4 - 1st round
Useful changelogs entries remain untouched.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334592 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-23 17:55:23 +00:00
Maciej Sobaczewski
081b8fede7 Fix order of changelog entries
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334386 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-26 05:17:15 +00:00
Peter Cowburn
eda3b067eb no more "FIXME PHP_6" todo comments
These mostly were about unicode, which probably won't come
with PHP <next major number here>, and FILE_TEXT/FILE_BINARY.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334374 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-24 12:28:07 +00:00
Peter Cowburn
260741b087 Clarify default glob() sorting (Patch by Lawrence Cherone)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334260 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-12 21:04:04 +00:00
Peter Cowburn
0428b98f0b caused problems without ob_start present, or ini output_buffering (Patch by John Bercik)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334234 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-10 14:47:22 +00:00
Philip Olson
8752e3ef61 Mention that entries without an equal sign are ignored. Recent feature request PHP Bug #67331 requests this functionality.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334105 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-03 23:10:43 +00:00
Peter Cowburn
9514f50e89 Remove return value section from delete page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333664 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-01 13:09:59 +00:00
Maciej Sobaczewski
063e19aa13 Fixed bug #64605
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333558 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-18 15:13:26 +00:00
Dejan Marjanovic
8dd00a873b Doc Bug #67070 Parameter name that should be in bold in popen doc page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333353 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-15 23:39:42 +00:00
Dejan Marjanovic
9905374cd0 Replace single quotes with double for (string) <initializer> unless string contains double quotes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333317 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-14 23:48:06 +00:00
Peter Cowburn
9d22259e63 fgetcsv() length param changelog
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333180 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:54:05 +00:00
Peter Cowburn
0bb8848c3b Mention that tempnam() includes path in return value
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333162 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:52:46 +00:00
Peter Cowburn
642b5701b6 Mention "off" and "on" for parse_ini_file/string()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333161 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:52:41 +00:00
Maciek Sokolewicz
c4fe3a4501 Removed Content-Transfer-Encoding header from the readfile example since it's not actually a valid HTTP header (but rather a MIME header used in emails). Also cleaned out the comments about this.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332634 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-17 03:05:55 +00:00
Joe Watkins
50a515801e fix #66414 bad mkdir example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332580 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-05 07:05:47 +00:00
Dean Sas
da736604d1 Moved mkdir error info into an exception block
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332518 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-27 16:00:28 +00:00
Dean Sas
5a86bbeb66 Document that mkdir can trigger an E_WARNING
Fixes bug #65388


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332344 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-11 00:45:52 +00:00
Adam Harvey
961e402431 Note that the file returned by tmpfile() may be closed once out of scope.
Fixes doc bug #66014 (tmpfile() file deleted prematurely).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332039 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-01 00:48:29 +00:00
Joe Watkins
fdb3ba81dd #65855 wrong function name in warning
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331967 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-25 16:00:40 +00:00
Chris Wright
2507bd51b8 Added more information about what the realpath_cache_size config option represents and added See Also link to the config option from the function of the same name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331297 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-05 10:24:19 +00:00
Hannes Magnusson
4670bf1c17 One notes section is enough
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331271 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-03 05:01:55 +00:00
Joe Watkins
df82590e9c implied type incorrect #65271
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331153 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-19 05:41:50 +00:00
Yannick Torres
33040b3b1b Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331135 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-16 09:25:19 +00:00
Jakub Vrana
7bb8bcb294 Delete dummy delete() synopsis
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330258 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 02:07:47 +00:00
Peter Cowburn
f1fc2fa14c typofix: return -> returns (doc #64700, patch from mightyuhu)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330184 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-07 07:24:17 +00:00
Karoly Negyesi
49d54fd72a added a note about multiple extensions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329390 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-01 06:08:25 +00:00
Philip Olson
04b11e621f Fixed spelling
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329325 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-29 01:47:09 +00:00
Joe Watkins
821c5e40e7 #61974 edit errors section to include E_WARNING on not found info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329305 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-26 11:26:56 +00:00
Sherif Ramadan
6c29c4c401 Added return false problem warning. Fixes bug #63209.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329280 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-23 15:26:00 +00:00
Adam Harvey
c588cc8011 Use the signed 32 bit integer entity to handle ftell() returning negative
numbers.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328615 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-03 01:06:44 +00:00
Adam Harvey
5c96ba57d9 Update the rename() description to note that it overwrites and moves between
directories.

Fixes doc bug #63473 (rename rename).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328311 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 02:00:58 +00:00
Adam Harvey
919cdfc8de Tweak the wording of the symlink() note to make it clearer that, while it
refers to Windows users, symlink() itself works cross-platform.

Fixes doc bug #63385 (Confusing wording Symlink Documentation).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328192 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-30 06:08:52 +00:00
Yannick Torres
3a8dc25d68 Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328095 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-22 11:49:37 +00:00
Yannick Torres
00649f549f Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328079 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-19 09:28:27 +00:00
Adam Harvey
fdccfb5a64 Grammar fix arising from r327743 (thanks to bjori for pointing it out).
Additionally, make the notes actual note elements, and reorder the changelog to
be in the usual descending order, since I already have the file open.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327758 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-24 03:54:38 +00:00
Adam Harvey
1ad5ef04d9 Add pathinfo() to the see also list on filetype(), since we got a user note
over the weekend that suggests that people who find filetype() might actually
want pathinfo() instead.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327757 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-24 01:32:33 +00:00
Jakub Vrana
fa99d27fdb File functions with directories
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327743 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-22 14:12:33 +00:00
Jakub Vrana
0794362fa2 Available on Windows
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327666 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-14 20:56:50 +00:00
Karoly Negyesi
d1d11ef7fa clarify the filename parameter of clearstatcache().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327263 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-24 21:03:36 +00:00
Sherif Ramadan
a387db6c00 Updated error section. Fixed invalid warning documented for offset parameter.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326897 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-31 03:02:00 +00:00
Hannes Magnusson
cfe5b5214a We know it is PHP
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326065 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:55:27 +00:00
Adam Harvey
b1d6cf11cc Fix build error caused by r325523.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325525 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-04 00:36:12 +00:00
Paul Reinheimer
0d7e2a3615 - Adding note that the function does not use much memory unless you have output_buffering enabled. Hopefully this will help stem the tide of comments about weird looped fread() calls.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325523 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-03 21:57:45 +00:00
Jakub Vrana
84b8fca68f Use <function> for language constructs (now supported by PhD)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325214 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-15 21:45:34 +00:00
Jakub Vrana
813a3239bc Remove duplicate info about initializers
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324585 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-27 18:53:04 +00:00
Jakub Vrana
a9b26c34e4 Display language constructs without parentheses
Side effect of this change is that include, require and return are now properly linked. They weren't because they don't live inside <refentry> so PhD doesn't know about them.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324522 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-25 08:39:30 +00:00
Adam Harvey
63533b0559 Fix doc bug #61436 (Missing fflush() in flock() LOCK_EX example).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324378 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-20 07:58:19 +00:00
Adam Harvey
6b345e4d7f Re-fix doc bug #55775 (fileperms() return value not documented on success).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322937 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-30 14:19:05 +00:00
Jakub Vrana
065dd47a92 Replace _ by - in IDs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322131 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-12 12:40:04 +00:00
Jakub Vrana
53b6f116ed dir is a function creating an instance of Directory class
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321886 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-07 23:06:29 +00:00
Peter Cowburn
ea3fa446b3 link to SplFileObject from fopen (thanks Kieran)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321766 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-04 15:11:07 +00:00
Hannes Magnusson
d7321b2085 post- and pre-check headers aren't needed for IE (and in fact IE bugs cause them to double download the file), see bug#60516
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321292 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-21 14:48:14 +00:00
Nikita Popov
23474fb94e Remove duplicate notice in pathinfo() example
display_errors + log_errors + cli = duplicate notices

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320704 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-08 22:31:53 +00:00
Justin Martin
addeaababd Reverting previous commit, which was mistaken. Bug #60464.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320623 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-08 00:10:04 +00:00
Justin Martin
86bb4e0b09 Fixed return value. Closed bug #60464.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320620 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-07 23:33:50 +00:00
Justin Martin
f205639d6c Clarified empty/no extension example. Closes bug #60325.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320471 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-06 00:53:51 +00:00
Justin Martin
71895e9afb Added language snippet note regarding the 32bit integer limit causing weird results for files over 2GB.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317928 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-08 22:33:42 +00:00
Adam Harvey
ae3a2c5caf Fix doc bug #55775 (fileperms() return value not documented on success) by
linking to the chmod() page.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317254 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-24 19:49:12 +00:00
Hannes Magnusson
94ddd79c4c add umask() to seealso as suggested in bug#55302
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315065 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-17 12:29:24 +00:00
Richard Quadling
fc9e379fd8 Standardise on single style of quotes for XML tag.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315005 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-16 11:38:58 +00:00
Mike Ford
fa6e196973 Improve English: "in case" does not mean "if" (part 1).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313913 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-29 10:46:17 +00:00
Mike Ford
709d4139c8 Clarify purpose of options parameter, be more explicit about return values; extra example; miscellaneous tidy ups.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313876 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-28 15:09:43 +00:00
Justin Martin
99341e9182 Reworded BSD-specific changelog item to be more clear.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312840 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-03 02:28:13 +00:00
Richard Quadling
5ca36de963 realpath prior to 5.0.0 returned the script directory rather than the current directory when supplied with '' or null paths.
There are a few undocumented exceptions (at least on Windows).
V4.2.0 operates the same way at V5.0.0+
V4.0.2 - V4.0.3 return False.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311893 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-07 14:58:42 +00:00
Pierrick Charron
2dea760475 Fixed bug #54841
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311198 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-18 15:52:47 +00:00
Peter Cowburn
1a34931477 clarify default value for atime parameter for touch() (doc #54747)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311148 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 20:52:27 +00:00
Hannes Magnusson
64042ccbff Remove several html entities and replace them with utf8 chars so we can drop the
dtd include
# &nbsp; replaced with nothing
# &mdash; with —
# &euro; with €
# &auml; with ä
# &Auml; with Ä


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310796 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-05 20:59:34 +00:00
David Tajchreber
343d5f4dd6 Appeased #54526 - added rename to see also section of move_uploaded_file
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310222 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-15 03:23:00 +00:00
Yannick Torres
2873682814 another try
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309200 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-14 06:12:53 +00:00
Shein Alexey
0885523faf Updated example results in chown function (closes #54115).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308757 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-28 10:16:50 +00:00
Shein Alexey
3de058b030 Fixed caching final results in chgrp example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308663 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-25 11:05:23 +00:00
Peter Cowburn
9425da2dfa typofix (dittographies)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308547 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-21 21:42:02 +00:00
Gustavo André dos Santos Lopes
745c8fa1f6 - More info on when fread stops reading.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308472 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-18 17:14:01 +00:00
Mark Wiesemann
ea703aa896 removed duplicated word ("the the")
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308302 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-13 14:18:01 +00:00
Jakub Vrana
50e15d60d3 Example on Windows (doc bug #53401)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308194 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-10 14:30:43 +00:00
Jakub Vrana
cc173e00af Rename parameters (doc bug #53560)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308193 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-10 14:03:50 +00:00
Karoly Negyesi
0419c2fe75 tried to clarify what popen does and added a note to array walk.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308188 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-10 12:53:33 +00:00
Jakub Vrana
38fb898f9a Initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307951 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-02 10:38:07 +00:00
Philip Olson
82ad9d6117 - Document that the offset parameter does not work with remote files
- Mentioned when file_get_contents() emits E_WARNING errors
- Closes PHP Bug #53790
- Deals with PHP Bug #46043


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307767 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-26 20:38:28 +00:00
Kalle Sommer Nielsen
f5d5459f49 Fixed bug #53557 (pathinfo() does not return correct values for path with accents in it)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306483 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-20 02:04:27 +00:00
Adam Harvey
44aabb8f7e Move the "emits E_WARNING" paragraph for functions that do so when an internal
stat() fails to an entity, as suggested by Hannes.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306338 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-13 09:04:07 +00:00
David Tajchreber
09353e6249 Fixed bug #53510 Need to have a notice about ===
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306217 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-11 04:41:22 +00:00
Kalle Sommer Nielsen
750841d531 This also applies to dirname() -- bug #53262
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305449 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-17 08:48:36 +00:00
Kalle Sommer Nielsen
c5168db28a Fixed bug #53262 (basename() cannot handle argument with special characters like french "ééé")
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305448 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-17 08:47:14 +00:00
Gustavo André dos Santos Lopes
6616df4f3e - Behavior when seeking past the end of file.
Partially addresses bug #52335.
- Expanded note on how the stream may not support seeking.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305317 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-13 15:09:52 +00:00
Joey Smith
c1bb7dd16d Fix typo in is-uploaded-file.xml (missing apostrophe)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305278 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-11 20:37:33 +00:00
Justin Martin
2ccada702e Clarified behaviour of dirname and basename, as per bug #51830.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305142 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-07 03:55:45 +00:00