Commit graph

82 commits

Author SHA1 Message Date
Máté Kocsis
b0b19b6618
Generate methodsynopses based on stubs for recent changes () 2021-10-01 17:23:05 +02:00
Christoph M. Becker
5783afacad
Improve description of several $context parameters
We're misusing the already existing `&note.context-support;` for this,
but remove the PHP 5 related info from it, and link directly to stream
contexts.
2021-09-06 13:00:53 +02:00
Peter Cowburn
2e8ef0a1bd
hyphenate "object-oriented"
refs 
2021-08-08 18:48:47 +01:00
Yoshinari Takaoka
aa0cb38a27
Fix some issues in dir directory
Part of 
2021-06-13 12:56:08 +09:00
Christoph M. Becker
625dc345db
Fix : chroot doesn't change __DIR__ constant 2021-04-26 18:46:10 +02:00
Christoph M. Becker
6f540a4bf2 Fix : getcwd(): return type includes false 2021-02-05 13:22:48 +01:00
Christoph Michael Becker
e41806c30b Revert revision(s) 351724 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker
4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Jakub Vrana
c80da7c04a Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +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
dec1f8445a Remove safe_mode related information
Sorry, translators, for breaking your builds again.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350871 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-13 22:07:26 +00:00
Christoph Michael Becker
3e15d2894f Remove more changelog entries, mostly from PHP 5.4 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350656 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:15:17 +00:00
Christoph Michael Becker
27ca68ce99 Fix : Warn about different behavior of chdir() under ZTS
In response to Bug  (https://bugs.php.net/bug.php?id=79439), where a user
reported the (correct, but surprising) behavior of `chdir` as a bug.

Also warn that with ZTS, return value of getcwd() may differ from OS cwd,
and warn that chroot() is not available on ZTS builds.

Patch provided by Alex Dowad.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350045 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-18 08:15:11 +00:00
George Peter Banyard
43c3e5cb61 Fix Doc Bug by removing mentions of @ operator and moving E_WARNING info into Error/Exception section.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347576 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-08 15:41:06 +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
Jakub Vrana
48e1dbff5c Document rewinddir return value (bug )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343910 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 09:25:14 +00:00
Christoph Michael Becker
9e9c6ea115 Remove PHP 4 alternatives example
The example is broken as described in user note 120693,
and we're not concerned with PHP 4 anymore, anyway.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341954 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-22 19:23:02 +00:00
Philip Olson
13e47276f8 Clarified that the constants were added in 5.4.0, and how to mimic asc|desc before that. Closes PHP bug
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326021 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-07 23:42:44 +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
Justin Martin
99a5cc447f Clarified that readdir will return all entries in a directory, not just the files. Updated examples to reflect that. Closes bug .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320392 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-04 23:34:54 +00:00
TAKAGI Masahiro
2c1768a460 fix build.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315520 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-25 21:06:29 +00:00
Nikita Popov
bddf7e535a Fix Doc Bug : chdir() emits E_WARNING
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315518 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-25 20:49:30 +00:00
Jakub Vrana
c9c117546e scandir constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312682 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 13:22:55 +00:00
Shein Alexey
dae442b0ec Fixed empty example title in chroot function.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308588 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-23 11:46:53 +00:00
Justin Martin
82b58eb34a Clarified chroot's behaviour, as well as when it is available on a system. Added an example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305124 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-06 03:03:16 +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
4bc27d8766 Remove the last of the PHP3 related stuff around the manual, including the documentation for:
* ascii2ebcdic
* ebcdic2ascii
* mysql_change_user

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293483 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-13 04:01:06 +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
Nilgün Belma Bugüner
93f9ef3a7b fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283805 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 06:49:33 +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
Felipe Pena
d1c33016f2 - Added new entries in seealso section (as suggested by "xentek" on user notes)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268443 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-06 20:44:12 +00:00
Kalle Sommer Nielsen
baa9dab8ca * Fixes (readdir(), rewinddir() and closedir() don't always fail when passed 0 arguments)
* Fixed wrong call in example on imageinterlace()
* Added example for imageistruecolor()


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@264477 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-08 18:44:17 +00:00
Hannes Magnusson
4f91eb3a4a - Fixed bug#43515 (dir(): doc incorrectly suggests that the Directory class has a constructor)
- Updated to use the same oo markup as all other classess


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@250090 c90b9560-bf6c-de11-be94-00142212c4b1
2008-01-07 20:07:40 +00:00
Jakub Vrana
86833edc29 Return value of dir::read is tested (bug )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241305 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-16 11:39:09 +00:00
Etienne Kneuss
9b4b3b80e0 Fix confusing reference to an inexistent dir class
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241152 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-13 00:10:59 +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
Etienne Kneuss
c247bf0aec add falseproblem warning to readdir
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@233436 c90b9560-bf6c-de11-be94-00142212c4b1
2007-04-07 23:34:30 +00:00
Jakub Vrana
72b0023625 Fix parameters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@188957 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-21 13:56:28 +00:00
Jean-Sébastien Goupil
b2beeba451 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185977 c90b9560-bf6c-de11-be94-00142212c4b1
2005-05-07 16:48:00 +00:00
Philip Olson
a0c013fbcd Moved to new doc style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@184184 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-11 23:28:21 +00:00
Philip Olson
fb99bcd65c WS, preparation for the new doc style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@184181 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-11 22:04:40 +00:00
Sean Coates
62921bdfa3 Added example.
# from David Mytton


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183573 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-04 15:58:31 +00:00
Nuno Lopes
2e137460f4 remove context entity, because this function only exists in PHP 5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@180440 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-22 11:04:52 +00:00
Yannick Torres
17751c41b0 add output for examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@175188 c90b9560-bf6c-de11-be94-00142212c4b1
2004-12-20 20:26:05 +00:00
Yannick Torres
cdf0cec871 use more entities
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@171845 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-01 16:08:20 +00:00
Mehdi Achour
7280d7e70e use an entity here
# thank you aidan


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@171752 c90b9560-bf6c-de11-be94-00142212c4b1
2004-10-31 19:47:50 +00:00
Mehdi Achour
e165248955 fix : context not described
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@171686 c90b9560-bf6c-de11-be94-00142212c4b1
2004-10-31 01:25:04 +00:00
Jakub Vrana
65609f18e2 Uppercase first letter in refpurpose
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@166801 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-19 12:14:46 +00:00