Commit graph

377 commits

Author SHA1 Message Date
George Peter Banyard
c44e9cb68b
Fix some (con|de)structor pages (#1507)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-04-06 18:55:35 +01:00
George Peter Banyard
ecaa214642
Fix de/constructor synopsis tag usage (#1457)
In Solr, Stomp, Yaf.

Also include constructor and destructor in StreamWrapper interface synopsis
2022-03-15 16:36:11 +00:00
George Peter Banyard
002cf0e30e
Fix de/constructor synopsis tag usage in Stream docs 2022-03-13 18:22:00 +00:00
魔王卷子
f0e6ac0428
[skip-revcheck] fixed typo (#1401) 2022-02-12 17:08:11 +00:00
Máté Kocsis
a123b24db5
Fix some ext/standard param types (#1288) 2022-01-03 10:12:29 +01:00
Christoph M. Becker
906db3b3f7
streamwrapper::stream_read() can actually return false
Cf. <https://github.com/php/doc-en/issues/1220>.
2021-12-29 00:01:35 +01:00
Christoph M. Becker
ee4535711f
Fix GH-1220: streamWrapper::stream_read inconsistent return info 2021-12-28 12:37:13 +01:00
Sergey Panteleev
181e9c5572
Fix section order issues (#1262) 2021-12-28 08:00:18 +03:00
Máté Kocsis
a1702b5d45
Generate a few ext/standard methods synopses from stubs - part 2 (#1014) 2021-12-23 10:32:40 +01:00
Sergey Panteleev
98e904a628
Fix stream_select refpurpose 2021-12-16 12:19:30 +03:00
Máté Kocsis
c3067ab0a7
Generate a few ext/standard method synopses based on stubs - part 3
Co-authored-by: Sergey Panteleev <sergey@php.net>

Closes GH-1021.
2021-12-15 20:00:09 +01:00
Máté Kocsis
cd46fa89d3
Generate php_user_filter class synopsis from stubs
Closes GH-1116.
2021-12-15 18:59:39 +01:00
ignace nyamagana butera
3561c702e7
Document stream_bucket_make_writable()
Closes GH-1156.
2021-11-29 23:00:21 +01:00
Dan
cf3707c0f4
Add stream_socket_client usage to stream_get_meta_data
This adds both examples and the missing optional key-value pair for the return array. Also switches to `var_dump` instead of `print_r`.

Co-authored-by: George Peter Banyard <girgias@php.net>

Closes GH-1124.
2021-11-23 15:20:40 +01:00
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
Yoshinari Takaoka
a6afc95504
deleted unnecessary char '>'. 2021-08-07 21:42:27 +09:00
Christoph M. Becker
ab8bf7a2cd
streamWrapper::stream_open()'s $opened_path must be nullable
Based on PR #753.
2021-08-07 12:18:58 +02:00
Christoph M. Becker
c79b9928aa
Fix #55262: streamWrapper::url_stat return value in case of non existing file 2021-07-27 18:13:50 +02:00
Sergey Panteleev
a32b6c51c4
Fix issues in stream directory (#759) 2021-07-05 12:31:02 +03:00
Christoph M. Becker
bf85f2f1fc
Add visibility modifiers to streamWrapper::__construct and ::__destruct 2021-07-03 12:21:20 +02: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
aab33d6443
Removed references to PHP 5, PHP 7.0 (#544) 2021-04-23 11:35:26 +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
Clemente
c461c1fc7f Add union type to streamWrapper::stream_stat
Closes GH-485.
2021-03-10 14:09:50 +01:00
Alex Pavlov
e1bdd7825e Added constants for buffer`s mode
Closes GH-461.
2021-02-24 15:59:24 +01:00
Yoshinari Takaoka
a44e325fda Added PHP 8 into versions.xml for stream based on stubs.
Closes GH-353.
2021-01-18 12:36:56 +01:00
Christoph M. Becker
a3bb15df3f Remove interals2 book
The "Hacker's guide" is grossly outdated (it is about ZendEngine 2;
some stuff even about ZE1, although ZE4 is current), and nobody is
working on it for years.  Therefore we remove this part of the manual;
users are better off reading external resources, such as
<http://www.phpinternalsbook.com/>.

Closes GH-152.
2021-01-10 15:54:24 +01: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
8c2f198903 php_user_filter::__construct is not called
Cf. <https://bugs.php.net/75931>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352000 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-10 14:42:18 +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
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
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
70528fcff5 Fix #55528: Values for the "whence" parameter of the "stream_seek" method should be changed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350536 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-08 11:21:55 +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