Commit graph

259 commits

Author SHA1 Message Date
Máté Kocsis
6a5b227850
Generate ext/standard method synopses based on stubs - part 4
Closes GH-1022.
2021-10-27 11:35:47 +02:00
Boris Wintein
7aa6a0cc66
[skip-revcheck] Corrected spelling (#979)
Diffrent should be different.
2021-09-28 15:45:51 +01:00
Sergey Panteleev
a32b6c51c4
Fix issues in stream directory (#759) 2021-07-05 12:31:02 +03:00
Christoph M. Becker
f7b3a3a469
Fix #47236: Server Cert not captured when using TLS
The term "stream wrapper" is unfortunately not that clearly defined.
2021-07-02 17:06:47 +02:00
Kamil Tekiela
a94b259189
Remove unneeded note
set_socket_blocking was removed in PHP 7.0. socket_set_blocking is still an alias and is not deprecated, but since we don't document aliases in notes, I removed the whole note.

Closes GH-724.
2021-06-24 14:57:32 +02:00
Sergey Panteleev
adc94ff1ad
Fix section order issues in Stream directory
Part of #658
2021-06-07 11:48:44 +03:00
Kieran
5243392681
Update stream_bucket_make_writeable return types
Closes GH-636.
2021-05-28 15:26:50 +02:00
Sergey Panteleev
184f3f7bd4
Remove PHP 5, 7 references (#565) 2021-05-12 14:49:16 +03:00
Sergey Panteleev
5fabd07880
Removed Changelog entries for PHP 5, PHP 7.0 (#543) 2021-04-22 17:52:58 +03:00
Christoph M. Becker
9a37893b54
Clarify meaning of stream_get_line() parameters
Cf. <https://bugs.php.net/48421>.

Signed-off-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-04-01 17:33:28 +02:00
Sara Golemon
b6c8a19a38
Document character class of wrapper scheme names 2021-03-30 15:11:30 +00:00
Christoph Michael Becker
0c9c2dd669 Generate some standard methodsynopses based on stubs
Cf. <https://github.com/php/doc-en/pull/289>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352191 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 19:26:31 +00: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
86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
c2fea13ec0 Fix #68798: stream_select() preserves keys since rev. 305856 breaking some code without note
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351012 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-27 13:11:32 +00:00
Christoph Michael Becker
7f569e1f17 Remove more changelog entries, mostly from PHP 5.3 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350655 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:08:59 +00:00
Christoph Michael Becker
9af43469f4 Remove more changelog entries, mostly from PHP 5.2 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350654 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:52:31 +00:00
Christoph Michael Becker
428f19e346 Remove functions no longer present in PHP 7.0.0
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350648 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 12:43:20 +00:00
Christoph Michael Becker
53bdffa6b9 Removed some of the PHP5 changelogs
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350645 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 12:32:19 +00:00
Christoph Michael Becker
28abaa892f Fix #65879: stream_select on STDIN returns 1 even on blocking stream
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350535 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-08 09:40:48 +00:00
Christoph Michael Becker
a9216e9b44 Remove out-dated info regarding Windows 98
Besides that Windows 98 being irrelevant for many years, that issue might
actually have been fixed long ago[1].

[1] <https://bugs.php.net/22238#1064152828>


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350534 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-08 09:12:16 +00:00
Christoph Michael Becker
40bd5bc761 Technical docs should state facts, not wishful thinking
Cf. <https://3v4l.org/4XVcU>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350095 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-01 11:13:20 +00:00
George Peter Banyard
95d6121ed0 Remove See Also link to the current function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347574 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-08 13:12:35 +00:00
George Peter Banyard
af6fdf16ab 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@347043 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-24 19:38:53 +00:00
Tyson Andre
a9ada9d6f9 fix typos in extension documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346848 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-18 05:42:50 +00:00
Christoph Michael Becker
bf4cb26cc9 Remove string_encoding() man page
This function never made it into GA.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345555 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-26 16:29:11 +00:00
Christoph Michael Becker
6f0a42ef91 Notification callbacks are only supported for http:// and ftp://
Cf. <https://lxr.room11.org/search?project=php-src%40master&q=&defs=&refs=php_stream_notify_info&path=&hist=&type=>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345305 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-12 22:05:22 +00:00
Christoph Michael Becker
22c8f44c1a Fix #69273: bad context option name given
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345163 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-18 10:52:06 +00:00
Christoph Michael Becker
e4a3ece42b Fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344559 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-25 13:49:06 +00:00
Christoph Michael Becker
1ea113f076 Document stream_isatty()
Patch provided by Michele Locati.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344558 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-25 13:40:52 +00:00
Christoph Michael Becker
b5e5847fa9 Non-blocking IO for local files is not supported on Windows
Patch provided by mattficken.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344556 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-25 13:31:00 +00:00
Jakub Vrana
c461caafc2 Add new function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343926 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 12:35:35 +00:00
Jakub Vrana
dd07341fae Remove trailing fullstop in <refpurpose>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343888 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:34:22 +00:00
Christoph Michael Becker
ce6ab41aa1 Fix #67358: Incorrectly referencing "default" context
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341539 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-30 12:36:41 +00:00
Christoph Michael Becker
855cead916 Improve parameter description
Patch provided by anon user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340476 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-14 09:33:16 +00:00
Christoph Michael Becker
983b96e259 Document new STREAM_CRYPTO_METHOD_* constants
Patch provided by Stéphane Hulard

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340287 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-03 16:41:04 +00:00
Christoph Michael Becker
604ce6e4e6 Fix #72900: stream_copy_to_stream() can also return false
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339912 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-19 22:48:02 +00:00
Christoph Michael Becker
56293cbaa6 Address #61168: fwrite() has no buffering
The info that fwrite() is normally buffered is obviously wrong, but the
rest of the paragraph also looks fishy, so we remove it altogether.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339538 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-01 21:12:58 +00:00
Joe Watkins
77386c9ed6 Fix #71951: shutdown behaviour note
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338908 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-04 08:58:43 +00:00
Thomas Punt
a951ca7b66 Resolve doc bug #71638
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338619 c90b9560-bf6c-de11-be94-00142212c4b1
2016-02-21 12:48:31 +00:00
Adam Harvey
0e9f78e1a5 Improve removal warnings for other odds and ends.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338431 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-08 01:35:51 +00:00
Thomas Punt
158ca973fb Fixes bug #71107
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338301 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 17:21:47 +00:00
Christoph Michael Becker
54b0642683 Documentation for functions stream_bucket_prepend and stream_bucket_append had the wrong type "resource" for the parameter $bucket, whch is of type "object".
-- 
Provided by anonymous 62233 (willy.schott@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337465 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 00:29:09 +00:00
Christoph Michael Becker
2bee52c6e2 corrected return value documentation (fixes #66897)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337225 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-23 11:40:07 +00:00
Maciej Sobaczewski
66d4ce2b23 Document another PHP 7 removals
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336986 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-17 10:33:04 +00:00
Maciek Sokolewicz
dcdd9c608e Fixed broken example code (patch by Hannes van de Vreken)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336740 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-08 21:12:05 +00:00