Commit graph

71 commits

Author SHA1 Message Date
Sergey Panteleev
871a231f4a
Fix issues in Filesystem directory
Part of 
2021-06-10 16:28:13 +03:00
Sergey Panteleev
6a7a96ccc6
file_get_contents length parameter ()
* Rename maxlen parameter to length
2021-05-07 17:00:24 +03:00
Christoph M. Becker
ef88bff8ae file_get_contents() raises warning for directories
Closes GH-46.
2021-01-22 14:43:22 +01:00
George Peter Banyard
a9a6224ca9 Split type declarations into their dedicated page
Remove obsolete OOP5 TypeHinting page
Document union types

Closes GH-174

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351365 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-12 18:39:19 +00:00
Christoph Michael Becker
b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker
be5b0f33a1 Remove more changelog entries, mostly from PHP 5.1 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350653 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:45:57 +00:00
George Peter Banyard
b824e2b108 Remove PHP 4 and 5.0.0 mentions.
This includes changelogs but also some paragraphs and notes which mention PHP 4.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347555 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-05 17:31:34 +00:00
Christoph Michael Becker
52ac14fb97 Fix : file_get_contents reference has an invalid example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344590 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-30 11:17:34 +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
Christoph Michael Becker
728e8c4e71 Fix : 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
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
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
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
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
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
Joe Watkins
821c5e40e7 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 .
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
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
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
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 
- Deals with PHP Bug 


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
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
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
Pierrick Charron
076bad363e The default value should be false not 0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298681 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-28 03:29:16 +00:00
Peter Cowburn
8e818466a5 use_include_path is boolean not integer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298661 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-27 13:32:52 +00:00
Richard Quadling
f4eb1d0736 Param is use_include_path. Fix#51673
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298656 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-27 12:27:15 +00:00
Philip Olson
3e57d6ccfd Commented out or rewrote PHP 6 documentation as discussed. Grep 'FIXME PHP_6' to fix. Closes PHP Bug
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297557 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-06 05:24:11 +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
Kalle Sommer Nielsen
7af997f945 Fixed bug (file_get_contents() and "offset" & "length" misunderstanding)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296352 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-18 17:36:00 +00:00
Richard Quadling
f658721332 Use &return.falseforfailure; entity.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290410 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-09 10:26: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
Torben Wilson
67b72af27e Noted that the maxlen param is actually not -1 but is instead an
internal value (PHP_STREAM_COPY_ALL) and may not be directly specified
from within a script.
Addresses bug  (although perhaps this is better fixed in the long 
term by making file_get_contents() behave normally).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288188 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-09 07:31:53 +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
Hannes Magnusson
a3be604733 The FILE_USE_INCLUDE_PATH can be used as of PHP 5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279393 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-26 12:13:14 +00:00
Hannes Magnusson
5a1b81985f SELECT version FROM php ORDER BY desc;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279390 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-26 11:47:34 +00:00
Philip Olson
b51dded646 Removed unicode semantics goodness, as it likely won't exist
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@277077 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-12 23:37:26 +00:00
Kouber Saparev
242fa858cb Fix example comment.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@276506 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-26 16:49:20 +00:00
Kouber Saparev
8bf5f1a378 Fix example title.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@276505 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-26 16:39:58 +00:00
Ross Masters
4375ee59c9 * Fix for http://news.php.net/php.webmaster/3784
* Examples for uasort, DateTimeZone::construct, file_get_contents, file_put_contents and ini_set


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275453 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-09 21:54:29 +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
f8416d8733 - Dont make it literal (makes the char look like a slash)
- Add a link to the bitwise manual page


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270226 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-01 13:05:41 +00:00
Nuno Lopes
1f7e9bb0ff fix bug : this function is only similar, not identical to file()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244458 c90b9560-bf6c-de11-be94-00142212c4b1
2007-10-19 11:35:38 +00:00
Nick Berard
d7918a5fed Fixed bug
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@242093 c90b9560-bf6c-de11-be94-00142212c4b1
2007-09-03 06:26:17 +00:00
Nick Berard
c0cbf0f917 - Corrected wrongly spelled function name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241527 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-18 18:36:56 +00:00
Nick Berard
0348eb53ff - Added parameter informations
- Added return value informations
- Updated prototype
- Added warning for versions prior to PHP 6 about the 'flags' parameter
- Made the page unicode-aware


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241526 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-18 18:20:50 +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
891ea0a06e WS, prepare for new doc style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237787 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-15 19:45:56 +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
Jakub Vrana
e66e60201a One should definitely know about stream_get_contents
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@188606 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-17 08:33:56 +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
Nuno Lopes
ab6b36e104 document more PHP 5.1 changes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179348 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-09 17:06:38 +00:00