Commit graph

255 commits

Author SHA1 Message Date
Sergey Panteleev
3cbe1da561
Fix function name 2021-06-11 10:26:42 +03:00
Sergey Panteleev
f33c301789
Fix issues in Network directory
Part of #658
2021-06-10 12:30:36 +03:00
Sergey Panteleev
184f3f7bd4
Remove PHP 5, 7 references (#565) 2021-05-12 14:49:16 +03:00
SvenRtbg
477c5f97a6
Document the changes to syslog.filter
* Documenting the changes to syslog.filter

https://github.com/php/php-src/pull/4265 restored the previous handling of multi-line log messages by adding `syslog.filter=raw`.

* Highlight the fact that line splitting is happening in all of the three original modes, but not in "raw".

* Add "raw" to syslog section of 7.3 migration guide

Closes GH-589.
2021-05-10 18:19:06 +02:00
Christoph M. Becker
1fb41f1900 define_syslog_variables() and related INI is removed as of PHP 5.4.0 2021-01-25 19:28:24 +01:00
George Peter Banyard
4a7ddddc27
Remove some mentions of register globals 2021-01-16 11:30:04 +00:00
Christoph Michael Becker
1d11e386eb Update dns_get_record() methodsynopsis
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352215 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 18:46:35 +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
George Peter Banyard
37be0e0626 Mimic 'Alternative signature' prompt for setcookie in other functions which set cookies
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352083 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-14 23:19:07 +00:00
Christoph Michael Becker
728b7a9bc0 Fix #80449: setcookie doc improvement
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351968 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 12:17:23 +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
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
83f2f6fa3a Fix #80209: setcookie() is not fully RFC 6265 compliant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350831 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 14:35:13 +00:00
Christoph Michael Becker
8e3b1a6c1f Remove confusing reference to PHP 5
One can also use `setrawcookie()` with PHP 7 and 8; it just wasn't
available with PHP 4.

We also remove the now obsolete note that `httponly` is available as of
PHP 5.2.0.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350830 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 14:20:49 +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
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
George Peter Banyard
90b1edd9bc DNS_CAA is not supported on Windows
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350550 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-12 16:49:44 +00:00
Karoly Negyesi
5f90c8ee0f warning is correct but it doesnt return null
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350000 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-02 09:12:06 +00:00
Karoly Negyesi
dc9b239186 document setcookie options keys
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349997 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-01 22:21:53 +00:00
Jakub Vrana
0272dc9ba7 Add samesite=None.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348895 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-13 12:27:10 +00:00
George Peter Banyard
dfa4063816 Typos and minor improvements provided by various anonymous users.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348167 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-15 09:23:04 +00:00
Nikita Popov
818703578e Clarify $raw mode of dns_get_record()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347752 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-15 12:20:51 +00:00
Christoph Michael Becker
2ea9e6fea1 Improve wording
Patch provided by david@php.net.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346018 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-19 13:14:01 +00:00
Christoph Michael Becker
7ead611d9b Fix #77125: Typo on openlog() doc page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345967 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-08 22:49:26 +00:00
Christoph Michael Becker
ffe8f84ec5 Document SameSite cookie attribute support (PHP 7.3.0)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345661 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-20 10:50:01 +00:00
Christoph Michael Becker
14ced8c9e6 Fix CAA support changelog entry
CAA support is not available in PHP 7.1.0 and 7.1.1.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344578 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-28 16:34:13 +00:00
Jakub Vrana
158f89672a Rename first parameter to header (bug #75875)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343909 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 09:10:55 +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
852eaaffc4 Add header_remove() to see also section of header()
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343116 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-21 09:26:34 +00:00
Christoph Michael Becker
db0432561c Fix #74417: long2ip() is documented to accept a string
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342916 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 21:28:14 +00:00
Christoph Michael Becker
62e49c2b1b PHP 5.0.3 was still buggy here
See <https://3v4l.org/mmH6M>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342153 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 13:29:46 +00:00
Maciek Sokolewicz
8bd8a4a640 Updated the second example and second note to clarify that negative values will only be returned on 32-bit systems due to the integer value overflowing.
-- 
Provided by Matt Coleman (matt@1eanda.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342112 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-13 18:38:32 +00:00
Joe Watkins
5b695803f0 changelog for PR #2272
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341688 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-19 05:19:08 +00:00
Joe Watkins
5def2bb357 PR #2272 dns_get_record CAA documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341683 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-18 19:14:16 +00:00
Nikita Popov
ba1fff0ef7 dns_get_record() $raw parameter is not by-ref
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341411 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-18 14:36:06 +00:00
Maciej Sobaczewski
95bdd6883b Another round of PHP 4 content removal (mostly inline mentions)
Review is welcome

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341282 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-05 10:17:07 +00:00
Christoph Michael Becker
96e8d5d946 Fix typo (by Harold Iedema <harold@iedema.me>)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339622 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-10 12:13:18 +00:00
Christoph Michael Becker
d62d6b01c4 minor fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338862 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-31 18:48:08 +00:00
Thomas Punt
0c9ff443e0 Resolve doc bug #71618
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338620 c90b9560-bf6c-de11-be94-00142212c4b1
2016-02-21 21:10:12 +00:00
Christoph Michael Becker
c2aae8928b minor fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338507 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 17:34:57 +00:00
Thomas Punt
c05d218bed Fix doc bug #71106
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338304 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 18:50:14 +00:00
Maciej Sobaczewski
5d64d53fa1 Close bug #68640 (Very minor point)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337846 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-16 23:16:57 +00:00
Christoph Michael Becker
c097c5d3ec no need for $HTTP_COOKIE_VARS anymore;
$_REQUEST does not necessarily contain cookies

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337615 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-24 21:34:35 +00:00
Christoph Michael Becker
6fb5cd0a4e added proper <initializer>s
That saves the need to explain how to skip optional parameters.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337614 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-24 21:28:18 +00:00