1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-24 15:12:22 +01:00

194 Commits

Author SHA1 Message Date
Louis-Arnaud
0a15f1bb57 表記揺れ修正: パーサ → パーサー (#325)
Closes #310

Co-authored-by: KentarouTakeda <4785040+KentarouTakeda@users.noreply.github.com>
2026-02-24 23:42:11 +09:00
hirosan
7ad7192054 set_error_handlerのサンプルコードを修正 (#320) 2025-11-19 17:48:33 +09:00
Yoshinari Takaoka
83acd502f9 誤訳を修正 2025-09-11 21:26:40 +09:00
Yoshinari Takaoka
56c8c1236d Followup "Document get_error_handler(), get_exception_handler()"
99916949eb
2025-09-11 20:09:47 +09:00
Yoshinari Takaoka
97fe6c84dd [reference/errorfunc] sync with en 2025-09-02 19:41:54 +09:00
Yoshinari Takaoka
e62ed7ce7c ビルド時の Wrong XML file: エラーを解消。
php doc-base/scripts/broken.php --dos2unix ja

ビルド時の冪等性を保つと Andre は言っているが、これだと Windows で安易に phpdoc を編集できなくなるねぇ。
2025-08-05 18:38:57 +09:00
nsfisis
661e9cc309 Use modern markup for E_* constants を取り込み (#4056) (#303)
* Use modern markup for E_* constants を取り込み: マークアップの変更のみ (#4056)

* Use modern markup for E_* constants を取り込み: 内容を更新 (#4056)
2025-07-18 17:18:02 +09:00
Hideki Kinjyo
2d5c2712f6 [PHP 8.4] fix php/doc-en#4063 (PHP 8.4: trigger_error() updates) (#191)
* [WIP] work on php/doc-en#4063

* #191 Insert original content

ref: 72b70d7c3c

* #191 Translate

* #194 Fix element position
2024-11-25 23:05:37 +09:00
Yoshinari Takaoka
b0311185bc trigger-error.xml: add the literal tag for the E_USER_*
210d382b5b
2024-07-27 20:53:32 +09:00
Yoshinari Takaoka
56d4d96192 Remove empty resources pages
48ce43fe79
2024-07-27 20:38:54 +09:00
Yoshinari Takaoka
6caf9da879 Remove empty requirements pages
605553e228
2024-07-27 11:26:43 +09:00
schrosis
5853965657 翻訳漏れ修正 (#122) 2024-07-26 11:49:29 +09:00
Yoshinari Takaoka
a5d63ead49 Remove empty installation pages
57d1b0df36
2024-06-29 15:16:59 +09:00
Yoshinari Takaoka
eb9cbc9406 debug-print-backtrace.xml: added include and require statements links
1fd69376c6
2024-06-15 18:52:12 +09:00
Yoshinari Takaoka
cc4c078dd8 Sync some methodsynopses with stubs
d715365c09
2024-04-28 14:23:12 +09:00
Gina Peter Banyard
d80e0341dd Run script from doc-en PR 3206 2024-02-28 19:38:21 +00:00
Gina Peter Banyard
3949505003 Apply revchecked skipped commit c60943fefc4ff8950460e76d714a463437cf0eb2
Replace PHP_INI_* with INI_* constants
2024-01-26 13:55:31 +00:00
nsfisis
e5349d6844 Fix description of debug_backtrace()'s parameters (#112) 2024-01-21 20:15:45 +09:00
Yoshinari Takaoka
706500f3c3 Fix debug_backtrace() argument description
Zero ``0`` is a specific value

e203b12d79
2023-11-19 18:11:32 +09:00
Yoshinari Takaoka
1a270b0421 Note that error control operator (@) affects error_reporting
9caac4c5cc
2023-10-18 21:49:27 +09:00
Yoshinari Takaoka
8faf12d1c2 error_reporting: Fix return value description
2fe8d67ea4
2023-10-17 02:24:38 +09:00
Yoshinari Takaoka
3fd3dc3c30 Add note explaining the bitmap combination possiblities for debug_backtrace()
26a8f2141b
2023-07-28 18:39:47 +09:00
Yoshinari Takaoka
69132cde93 Document removal of log_errors_max_len INI setting
72a6f3d35e
2023-05-11 19:15:52 +09:00
Yoshinari Takaoka
395b40f83a Narrow bool return types to true when possible
f781803449
2023-05-09 00:54:15 +09:00
Yoshinari Takaoka
7df7e4dcb4 Exceptions are not specific to PHP 5
686b6869e2
2023-03-18 19:24:58 +09:00
Yoshinari Takaoka
6ea902a35a die is not a function
23906aa9f6
2023-01-19 21:00:42 +09:00
Yoshinari Takaoka
b55619ba11 Reword excessively hardcore requirement
While we're at it, we also remove the personalization.
日本語版でも少しだけ訳を調整した。

bd38d9d20a
2022-12-31 22:59:19 +09:00
Yoshinari Takaoka
d68f90e3e9 「参照ください」に統一
- 参照下さい
- 参照して下さい
- 参照してください

を「参照ください」に置き換えた。
個人的には「参照ください」は違和感のある日本語だが、既存の訳で圧倒的な優勢だったそれを採用した。

closes: #23
2022-12-19 23:29:40 +09:00
yoshi-shd
30f5b2edef Update set-error-handler.xml (#70) 2022-12-19 22:14:12 +09:00
Yoshinari Takaoka
fa7acf941f fixed build error / added part of 8.2.0 migration guide. 2022-09-26 19:50:25 +09:00
Yoshinari Takaoka
65c65aaaaa Use the alias entity everywhere
b5525a1412
2022-09-07 16:33:45 +09:00
Yoshinari Takaoka
645d326d80 Reword parameter description of set_exception_handler
09f4a3f040
2022-05-20 01:05:42 +09:00
Yoshinari Takaoka
fc2c148c1c static[プロパティ|メソッド] 関連をさらに調整 2022-05-03 02:35:52 +09:00
Yoshinari Takaoka
a015c61fae Fixed info about @ operator
- UPGRADING says that the error_reporting (ie. value returned by error_reporting() or ini_get('error_reporting ')) is changed, not the severity value passed to the handler.
- UPGRADING says that the error_reporting() == 0 should be replaced with !(error_reporting() & $err_no) in code, not the return with return false. So there is currenctly no way how to detect @ operator.
- "Prior to PHP 8.0.0, the value of the severity passed to the custom error handler was always 0" - no true
- "return false; // Silenced" - not true, if the function returns false then the normal error handler continues, so it is not "silenced".

14a60fad6e
2022-04-05 19:35:50 +09:00
Yoshinari Takaoka
876575fa86 Default value for error_reporting is E_ALL as of PHP 8.0.0
b9d5dcd782
2022-01-09 06:26:29 +09:00
Yoshinari Takaoka
af24130230 Generate various ext/standard method synopses from stubs - part 5
/769812c12f
2021-12-22 21:59:37 +09:00
Yoshinari Takaoka
e4aaafc21f Update set_error|exeception_handler $callback descriptions
First, the $callback is a callable, and users are supposed to either
know what that means, or look it up elsewhere in the documentation, so
there is no need to explain it here again, and let it rot again.

Second, there is no need anymore to document pre PHP 7.0.0 behavior.

44090248a8
2021-12-18 09:20:16 +09:00
Yoshinari Takaoka
ba92ebd3b1 log_errors do not use error_append_string directive
https://bugs.php.net/bug.php?id=39492
470a17d5e8
2021-11-23 22:54:30 +09:00
Yoshinari Takaoka
9454ffd362 Remove obsolete info about display_errors being bool once
3f1bb54ebf
2021-11-23 22:48:04 +09:00
Yoshinari Takaoka
baa3f8eb21 set_error_handler() no longer returns null on failure
As of PHP 8.0.0, it throws a TypeError; prior to that version, that was
undefined behavior (as documented for internal functions).

7a312f9c79
2021-11-19 06:24:32 +09:00
Yoshinari Takaoka
66367280d4 Types are not hints in PHP.
As they are checked at run-time, type checking is enforced in PHP and not 'hinted'.

b95e76e41d
2021-10-10 18:28:12 +09:00
Yoshinari Takaoka
cc01df47c5 * 他と統一するため、オペレーティングシステム には中黒をつかわない
* (これは好みの問題だが) システム・ロガー の中黒も削除
* 日本語としてすっと読めるように調整
2021-10-03 04:07:28 +09:00
shu1007
7cbd651c14 message_type=0の説明の修正 (#16) 2021-10-02 02:06:20 +09:00
Yoshinari Takaoka
2b92b2909d Followed change of default value of display_startup_errors, as of PHP 8.0.0
3cdd39bb95
2021-09-09 21:58:28 +09:00
Yoshinari Takaoka
be80fb6387 Remove E_STRICT and other PHP 5 related information
de9c65c91f
2021-08-18 21:47:15 +09:00
Yoshinari Takaoka
c6943e5ae0 updated track_errors (removed as of PHP 8.0.0) changelog.
ついでに、日本語版にのみ存在していた、表のカラムのズレを修正した。
a63794ecfd
2021-08-16 14:12:07 +09:00
Yoshinari Takaoka
d9109736cd syslog.filter is not supported on Windows
704b528c70
2021-07-30 21:44:42 +09:00
Yoshinari Takaoka
a27074acab Fix issues in ErrorFunc directory 2021-06-10 01:20:39 +09:00
Yoshinari Takaoka
6ef96778fc Remove PHP 5 specific info 2021-05-24 00:34:39 +09:00
Yoshinari Takaoka
34d75253c4 Generate methodsynopses based on stubs for Zend functions and methods (php/doc-en#168) 2021-05-23 12:33:54 +09:00