Commit graph

607 commits

Author SHA1 Message Date
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
#   replaced with nothing
# — with —
# € with €
# ä with ä
# Ä 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
Richard Quadling
9b48b91781 Tabs to spaces (or removed if trailing)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305081 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-04 13:32:52 +00:00
Jakub Vrana
c02fdb48ec Remove bogus initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305078 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-04 12:09:37 +00:00
Peter Cowburn
11ff354d6e Added success return value for move_uploaded_file (fixes doc #53174)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304942 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-27 08:03:48 +00:00
Kalle Sommer Nielsen
2fa565d97d Consistency in examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304878 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-25 16:09:21 +00:00
Kalle Sommer Nielsen
cec7396039 Fixed bug #52815 (pclose return value documentation.)
# The same applies to proc_close() as they both use the same 
# internal exit logic

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304618 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-22 12:09:54 +00:00
Kalle Sommer Nielsen
89fd31bb2e Fixed bug #51208 (fgets return values)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304534 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 06:46:07 +00:00
Kalle Sommer Nielsen
c1e01bb991 Improve example for fgets() (Fixes #52721) -- Patch by mmailnew4ster at gmail dot com
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304499 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-19 04:44:44 +00:00
Adam Harvey
f668f7feff Fix doc bug #53088 (fseek: Second note section ends with same text as first).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304462 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-18 01:59:58 +00:00
Adam Harvey
4c39c0fb73 Fix doc bug #53046 (doc error) by adding an Errors/Exception section to all the
functions that call stat() internally.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304365 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-13 08:58:01 +00:00
Gustavo André dos Santos Lopes
ef51b90769 - Added to the changelog when the "c" option was added (fixed bug #52936).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303804 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-27 23:05:33 +00:00
Gustavo André dos Santos Lopes
46d967c91b - Reading also stops when a socket timeout is triggered.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303774 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-27 01:44:55 +00:00
Richard Quadling
23c9927830 ? is a special character, like it is for parse_ini_file
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303613 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-20 10:33:23 +00:00
Daniel P. Brown
f1961a717d Fixes a minor typo ('flags is' => 'flag is').
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303369 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-14 20:31:39 +00:00
Gustavo André dos Santos Lopes
56e659b2dc - Added documentation for the fopen "c" mode.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303220 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-09 10:12:04 +00:00
Gustavo André dos Santos Lopes
12baf14d9f - Reversing changes from revisions 288122 and 282711, which addressed bug #49329 and bug #48522 (bogus bugs).
- Closes bug #52767.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303153 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-08 00:17:00 +00:00
Adam Harvey
ef2bc28e42 Per Pierre's e-mail, add a note that the fix for bug #48771 made cross-drive
renames work in Windows.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303070 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-06 11:00:50 +00:00
Adam Harvey
a7c428272a Fix doc bug #50676 (rename across Volumes throws warning "Operation not
permitted").


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303064 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-06 04:05:02 +00:00
Richard Quadling
74a8cf789c Reverted example and simply changed "before" to "after".
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302986 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-01 23:58:52 +00:00
Richard Quadling
0334b04ba3 Correct example. Fix #52764
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302984 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-01 22:59:25 +00:00
Peter Cowburn
e7d0222acd example output is to a file
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302844 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-27 08:49:21 +00:00
Richard Quadling
ba351d4b1b Renamed files with _ to -
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302791 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-26 08:26:00 +00:00
Peter Cowburn
658b27babf added see also link from file_get_contents to $http_response_header
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302750 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-24 20:17:36 +00:00
Peter Cowburn
9bc006dc36 better basic example for fputcsv (doc #52680)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302723 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-23 21:50:12 +00:00
Adam Harvey
e01bd18a6e Fix doc bug #52665 (Typo).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302671 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-23 03:18:01 +00:00
Adam Harvey
9197963209 Fix doc bug #52366 (flock() fails on gzopen()'d file pointer) by making it
clearer that flock() only works on actual file handles. Also fixed a couple of
grammatical problems, and added a more detailed explanation of when mandatory
locking will be used that's hopefully more or less accurate.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301386 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-19 04:30:25 +00:00
Jakub Vrana
58e026c057 Fix PHP syntax errors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301119 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-09 11:28:40 +00:00