1
0
mirror of https://github.com/php/doc-ja.git synced 2026-04-25 00:48:05 +02:00
Commit Graph

181 Commits

Author SHA1 Message Date
Yoshinari Takaoka 10db6a37d4 戻り値の未訳部分を対応 2025-09-19 20:18:05 +09:00
Yoshinari Takaoka 50a5b1db09 [reference/network] sync with en 2025-09-09 21:32:03 +09:00
KentarouTakeda 180a2c1299 <type>型名</type><type>typeName</type> に修正 (#210) 2024-12-31 12:26:43 +09:00
siwa32 7eed1daf09 [PHP 8.4] Function return type changesの翻訳 (#209)
* [PHP 8.4] Function return type changesの翻訳

* [PHP 8.4] Function return type changesの翻訳
2024-12-13 14:35:06 +09:00
SUMIDA, Ippei 8dac32e82d request_parse_bodyの翻訳 (#206)
* request_parse_bodyの翻訳

* 改行やインデントを原文と揃える

* 見出し文章の言い回しを他と統一

---------

Co-authored-by: 武田 憲太郎 <takeda@youmind.jp>
2024-12-08 21:17:56 +09:00
SUMIDA, Ippei 4a0bf070a5 [PHP 8.4] Document http_(get|clear)_last_response_headers() functions (#204)
* http_get_last_response_headers(), http_get_clear_last_response_headers()の翻訳

* wrapperを翻訳

* インデントとホワイトスペースを原文とあわせる

---------

Co-authored-by: 武田 憲太郎 <takeda@youmind.jp>
2024-12-04 08:37:24 +09:00
Yoshinari Takaoka adbc745a9d Remove empty configuration pages
https://github.com/php/doc-en/commit/765b2d6eec7dfbaeed900b32aa91a1360d73df42
2024-07-27 19:04:27 +09:00
Yoshinari Takaoka 07e0aa17e9 setcookie.xml: add tags for the parameter and function names
https://github.com/php/doc-en/commit/1ad4e2d550953000e2441b663226300596962ef2
2024-07-27 18:12:13 +09:00
Yoshinari Takaoka 1ad5d7693b setcookie.xml: amend the argument type to bool
https://github.com/php/doc-en/commit/d4b1a8809677c3acf104fd1eb2ee17d185e87afd
2024-07-27 11:21:01 +09:00
Yoshinari Takaoka a5d63ead49 Remove empty installation pages
https://github.com/php/doc-en/commit/57d1b0df36cc1da4fae0113979343405eff223fd
2024-06-29 15:16:59 +09:00
Yoshinari Takaoka a358a5ad6a Add missing network constants
https://github.com/php/doc-en/commit/a6faadde38e014437de2577d995882f9d0fdbd35
2024-05-19 10:54:58 +09:00
Yoshinari Takaoka e4880011cf Sync some methodsynopses with stubs
https://github.com/php/doc-en/commit/db22a7cfcbc3af221f67e228336ac3e2d62aaf2c
2024-04-29 20:57:51 +09:00
Yoshinari Takaoka f95abdb05d Add Network LOG_LOCAL IDs
https://github.com/php/doc-en/commit/1b0696f82ce6fd918bfe19efb8241542e2ce1b62
2024-04-28 17:06:25 +09:00
Yoshinari Takaoka cc4c078dd8 Sync some methodsynopses with stubs
https://github.com/php/doc-en/commit/d715365c098db000eaf7dcd987ee6093f6e83091
2024-04-28 14:23:12 +09:00
Yoshinari Takaoka 8dcfb8c529 Change literal to constant tags
https://github.com/php/doc-en/commit/61374bbe228e8e9c55a24aba59a1e2bb2a871148
2024-04-28 14:12:56 +09:00
Yoshinari Takaoka f74998b483 Document approach to set cookie attributes not known to setcookie()
https://github.com/php/doc-en/commit/cefe817294283d42d0555951c02b9223a5a5ca4a
2024-01-21 17:08:10 +09:00
Yoshinari Takaoka 362d1f1866 Add note to headers_sent() about empty filename
https://github.com/php/doc-en/commit/b4989f5c1f052314ff2c36e9cc3d56b3a7a24e9b
2023-06-08 23:54:31 +09:00
Yoshinari Takaoka 395b40f83a Narrow bool return types to true when possible
https://github.com/php/doc-en/commit/f781803449007bb0e3a96c693e0eee067f7eb466
2023-05-09 00:54:15 +09:00
Yoshinari Takaoka ff7041b8f8 Fix typo (header_list → headers_list)
https://github.com/php/doc-en/commit/6b053588fb22cdc167766d4aa0e2f87cd52ecb32
2023-01-28 11:58:06 +09:00
Yoshinari Takaoka e79ed7a147 Fix: setcookie() datetime format change in 8.2 is undocumented
https://github.com/php/doc-en/commit/5d6153f896f4698bc2df1a41db1271075dd3b62d
2023-01-08 10:36:52 +09:00
Yoshinari Takaoka 213d76ce8a Remove unnecessary procedural role
https://github.com/php/doc-en/commit/c4ac6c0cfa04e2d7910b0f0aeb2004f49081620b
2022-11-07 19:13:28 +09:00
Yoshinari Takaoka e6edadafc5 setcookie documentation recommends using mktime()
We improve the somewhat confusing mixing of time() and mktime(), and
also reword to avoid personalization.

https://github.com/php/doc-en/commit/a64d62cdd778ffa40493eae8dde024ff1c169573
2022-07-08 08:48:54 +09:00
Yoshinari Takaoka 2e18445e32 Named argument in setcookie function called $expires instead of $expires_or_options
https://github.com/php/doc-en/commit/d829c7d11f311e5b115865fe6920f63aa2d9bde7
2021-12-18 09:41:05 +09:00
Yoshinari Takaoka ac00943119 Documentation for net_get_interfaces()
https://github.com/php/doc-en/commit/de14580fb32c39675f69937dd215f1744d0874d9
2021-12-16 13:02:43 +09:00
Yoshinari Takaoka f70d2204a3 setcookie() description is not updated
The exact date in the past may not matter too much, so we are
unspecific here.

And no, you can't set `$value` to false, because the parameter expects
a string.

https://github.com/php/doc-en/commit/730cbb0a7a85d0d561f667265119e9cdc92b635c
2021-12-10 19:26:28 +09:00
Yoshinari Takaoka 353b29d6c7 Generate a few ext/standard method synopses from stubs
https://github.com/php/doc-en/commit/4e6f0774f03131cbeeb8c21019a690bf97fd22b6
2021-10-13 00:43:30 +09:00
Yoshinari Takaoka 04e0ec3e90 Improve headers_list() example
Two & 1/2 things with the PHP example code:

1. `X-` prefix header names June 2012 [1], [2].

2. PHP prepends the `default_charset` [3] on any `text/*` media type in
   Content-Type header, unless the `charset` is with the `header()` call,
   like in the example.

3. PHP version 5.1.3 (May 2006) -> 8.0.11, the X-Powered-By header [4]
   removed (only distracting w/ the example).

PHP version in use to generate the output: 8.0.11.

[1]: https://datatracker.ietf.org/doc/html/rfc6648
[2]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers
[3]: https://www.php.net/manual/en/ini.core.php#ini.default-charset
[4]: https://www.php.net/manual/en/ini.core.php#ini.expose-php

https://github.com/php/doc-en/commit/eecf09080681d1e242b9dc1b8a8148eda66141f8
2021-10-13 00:32:20 +09:00
Yoshinari Takaoka 0555fa191f s/返り値/戻り値/g 2021-10-09 02:40:05 +09:00
Yoshinari Takaoka 8c6c002807 Remove some unnecessary methodsynopsis role attributes
https://github.com/php/doc-en/commit/7f99d5e488d161ce3b12d1dae405a283728933c3
2021-09-15 00:43:54 +09:00
Yoshinari Takaoka 2a0735c218 While DNS_A6 is available on Windows, it is not really supported
Cf. <https://github.com/php/php-src/blob/d3a6054d4441a6d431e6ca7aa63de62cee5585c2/ext/standard/dns_win32.c#L307>.
https://github.com/php/doc-en/commit/7be2426e49ee1c9131866f20b67a48aaea0a642a
2021-08-31 12:45:52 +09:00
Yoshinari Takaoka 114e3842a1 Fix #73805: header() may not actually set header
We document that header() issues `E_WARNING` on failure, and link to
`headers_list()` which might be used to check success of `header()`.
2021-08-03 23:49:05 +09:00
Yoshinari Takaoka 791420bd20 Remove obsolete info about IE 4 and 5.5
https://github.com/php/doc-en/commit/590f93a2ebeb9f7d4d5f443105c39bba9770a902
2021-08-03 23:44:42 +09:00
Yoshinari Takaoka 3584e0a5f5 Syslog does not support the %m format specificer
Nor any other printf specifier

Drop version name for Windows note as a drive by fix.
2021-07-16 23:01:25 +09:00
Yoshinari Takaoka 9e5a128d7a Use a better example for using header() to set status code
This may be the first thing users see when searching how to set the
response code - most will not be familiar with differences between
http/1.0 and 1.1

- HTTP/1.0 does not support connection keepalive
- http_response_code(404) is a shorter way to set a status code with the default status message

https://www.php.net/manual/en/function.header.php#92305 also mentions
that the wrong protocol can cause issues with (older?) web servers
2021-06-22 03:25:04 +09:00
Yoshinari Takaoka 768620118f update EN-Revision only 2021-06-12 02:20:26 +09:00
Yoshinari Takaoka 6d632e4a6d Fix function name 2021-06-12 02:00:15 +09:00
Yoshinari Takaoka 5f5a518bd5 Fix issues in Network directory 2021-06-11 01:11:54 +09:00
Yoshinari Takaoka 9e32c45b7e Remove PHP 5, 7 references (php/doc-en#565) 2021-05-13 10:14:52 +09:00
Yoshinari Takaoka 7b25774e25 Document the changes to syslog.filter
* Documenting the changes to syslog.filter

php/php-src#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
2021-05-11 10:22:30 +09:00
Yoshinari Takaoka bb53e2bd90 s/シグナチャ/シグネチャ/ 2021-02-09 21:02:05 +09:00
Yoshinari Takaoka 416048eea9 define_syslog_variables() and related INI is removed as of PHP 5.4.0 2021-01-26 09:59:22 +09:00
Yoshinari Takaoka cff053cfac Remove some mentions of register globals 2021-01-16 20:55:03 +09:00
Yoshinari Takaoka 96e1ed3d69 Update dns_get_record() methodsynopsis
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352226 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-28 00:16:45 +00:00
Yoshinari Takaoka def02cf418 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/ja/trunk@352198 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 04:34:12 +00:00
Yoshinari Takaoka 35e082c907 Mimic 'Alternative signature' prompt for setcookie in other functions which set cookies
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352090 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-15 03:24:17 +00:00
Yoshinari Takaoka 975835b9bd update EN-Revision only
EN-Revision was fully updated, because of revert r351730, r351729.


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352016 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-11 19:06:49 +00:00
Yoshinari Takaoka 326a4227a7 Fix #80449: setcookie doc improvement
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351973 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-09 13:23:37 +00:00
Yoshinari Takaoka eb3777f5de Use canonical type names, part II.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351158 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 20:44:33 +00:00
Yoshinari Takaoka e70a9d4629 Fix return types
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351156 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 19:51:55 +00:00
Yoshinari Takaoka 144f5f2124 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351153 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 19:20:32 +00:00