Commit graph

50 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Gustavo André dos Santos Lopes
ef51b90769 - Added to the changelog when the "c" option was added (fixed bug ).
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
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
Hannes Magnusson
40abd3ce4e Better folder/file name to showcase the need of escaping the slash
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298488 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-25 09:57:18 +00:00
Daniel Egeberg
96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Yago Ferrer
2a58fec35d before instead of below.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293517 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-13 21:08:08 +00:00
Torben Wilson
af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Peter Cowburn
bbb5333f08 Fixes broken sentence in fopen error docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286621 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-01 12:35:48 +00:00
Nilgün Belma Bugüner
32c02d8b9f fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283810 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 07:05:15 +00:00
Jakub Vrana
5730e7a2fa Initializers - part 5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273648 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-16 16:14:26 +00:00
Hannes Magnusson
c030e2adf7 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Mehdi Achour
899c18ccbc ref.filesystem: switch to new style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237808 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-16 01:17:14 +00:00
Philip Olson
a142babd0f WS, preparing for the new doc style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228836 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-03 08:13:44 +00:00
Sean Coates
8a5ab24f14 add links to stream_context_create
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@222384 c90b9560-bf6c-de11-be94-00142212c4b1
2006-10-26 02:17:14 +00:00
Sean Coates
d713b0d904 zcontext is inconsistent with the rest of the manual
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@222383 c90b9560-bf6c-de11-be94-00142212c4b1
2006-10-26 02:11:57 +00:00
Jakub Vrana
6e83b49413 Context parameter (bug )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183271 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-31 15:01:44 +00:00
Jakub Vrana
13a2f8a898 Punctuation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183265 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-31 14:41:25 +00:00
Noah Fontes
e96527812a Moved important emphasized text to separate notes; moved compatibility notice to above the table.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@173791 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-29 23:15:35 +00:00
Sara Golemon
5453af8d47 wrong param type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@156970 c90b9560-bf6c-de11-be94-00142212c4b1
2004-04-23 18:23:08 +00:00
Kenneth Schwartz
708c7cf61c create entity for context support in PHP 5; add to fopen
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155955 c90b9560-bf6c-de11-be94-00142212c4b1
2004-04-14 05:28:54 +00:00
Nuno Lopes
4075e438c3 fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@151810 c90b9560-bf6c-de11-be94-00142212c4b1
2004-02-19 16:06:56 +00:00
Mehdi Achour
eef25ae95a typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147977 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-06 14:35:49 +00:00
Nuno Lopes
f6badcbd5d safe mode note
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146595 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-16 17:22:43 +00:00
Mehdi Achour
27960e632c Merry XHTML and CS compliant christmas all \!
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146503 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-15 16:55:22 +00:00
Philip Olson
5434e2e2f0 Clarify x and x+ modes. They generate E_WARNING and false when file exists, and
attempt to create the file if the file does not yet exist.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@133540 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-28 20:59:12 +00:00
Wez Furlong
e01d90c389 Document "exclusive" mode for fopen().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132861 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-22 11:46:28 +00:00
Philip Olson
249e4eaffd fopen() also generates E_WARNING on failure.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@130639 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-08 19:32:33 +00:00
Wez Furlong
ed0cbff43c Explain a bit more about the nightmare that is the text-mode-translation, the
spawn of satan.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@130532 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-07 14:12:51 +00:00
Wez Furlong
8befa0e8fe Revise docs a little; document the non-greedy fread semantics when reading from
network streams and fifos.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129235 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-29 20:10:20 +00:00
Wez Furlong
df5537486a Tweak some of the docs.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@128658 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-24 20:43:53 +00:00
Friedhelm Betz
ba571c3376 use of entities for php.ini, .htaccess and httpd.conf
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@128184 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-21 10:34:23 +00:00
Sara Golemon
f67fd60b35 Document zcontext parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@124062 c90b9560-bf6c-de11-be94-00142212c4b1
2003-04-20 01:36:25 +00:00
Philip Olson
72c4d162be Put mode descriptions into a <table> instead of a <itemizedlist>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@116289 c90b9560-bf6c-de11-be94-00142212c4b1
2003-02-13 19:48:15 +00:00
Damien Seguy
5762af16c5 Light reordering
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@115749 c90b9560-bf6c-de11-be94-00142212c4b1
2003-02-11 03:04:15 +00:00
Joey Smith
2913c89bc9 Open a file, not just the directory.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@112198 c90b9560-bf6c-de11-be94-00142212c4b1
2003-01-17 02:11:08 +00:00
Sara Golemon
9c4ae88f49 Use 'handle' instead of 'fp' in parameter declarations and examples.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@111625 c90b9560-bf6c-de11-be94-00142212c4b1
2003-01-13 02:54:28 +00:00
Sara Golemon
b3ad34670f Changed <type>int</type> to <type>resource</type> for file handles. Also renamed <parameter>handle</parameter> to <parameter>fp</parameter> for consistency.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@111445 c90b9560-bf6c-de11-be94-00142212c4b1
2003-01-11 18:20:22 +00:00
Wez Furlong
72eeba5da7 Make fopen() docs actually readable.
Moved wrapper descriptions into the wrapper appendix.
I plan to add more details, such as the the file_get_wrapper_data()
structures for each wrapper, so this is a positive move in that direction.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@96687 c90b9560-bf6c-de11-be94-00142212c4b1
2002-09-24 02:53:08 +00:00
Wez Furlong
b8e2058366 Document ftps:// and add a table listing supported wrappers to the
appendices.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@95901 c90b9560-bf6c-de11-be94-00142212c4b1
2002-09-16 18:13:37 +00:00
Philip Olson
d43ee1e467 * Briefly document fourth zcontext parameter (does not yet close bug )
* See also file(), fgets(), file_exists(), and is_readable().
* We mention 4.3.0 w/o stating it's not yet released
* Minor textual changes


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@88682 c90b9560-bf6c-de11-be94-00142212c4b1
2002-07-14 18:56:44 +00:00
Hartmut Holzgraefe
5b9fc29465 revision tags added
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78496 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-17 06:45:35 +00:00
Hartmut Holzgraefe
a4b6d72ad3 banana-split
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78202 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-15 00:12:54 +00:00