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
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
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
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
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
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
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
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
be80fb6387
Remove E_STRICT and other PHP 5 related information
...
de9c65c91f
2021-08-18 21:47:15 +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
Yoshinari Takaoka
0e29a256ef
Removed Changelog entries for PHP 5, PHP 7.0 ( php/doc-en#543 )
2021-04-23 01:59:00 +09:00
Yoshinari Takaoka
4ff851ad4f
Cleanup and update docs related to @ operator
...
Also fix part of the set_error_handler() docs
Closes GH-441
2021-02-19 21:55:00 +09:00
Yoshinari Takaoka
875e657151
error_log($msg, 0) always returns true
...
Cf. <https://bugs.php.net/66760 >.
2021-02-18 17:55:40 +09: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
0973de56dc
set_error_handler: clarify callback parameters and PHP 8.0 changes
...
Closes GH-276.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@352041 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-12 18:57:55 +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
10a6f3885c
added svn keywords
...
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351444 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-19 00:12:20 +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
Yoshinari Takaoka
8cad649719
Get rid of "callback" types
...
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350805 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-06 21:36:49 +00:00
Yoshinari Takaoka
e9212c586b
Fix #80164 : Example says "see changelog" but there's no changelog
...
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-01 07:46:17 +00:00
Yoshinari Takaoka
73ccac34bf
Remove PHP4 or PHP5 only extension, changelogs
...
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350668 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-27 01:47:22 +00:00
Yoshinari Takaoka
e817b94c0f
Improve example regarding valid HTML
...
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350548 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-12 11:42:07 +00:00
Yoshinari Takaoka
4017517417
Clarify set_error_handler types that cannot be handled (doc bug #76318 )
...
Patch by Sorin Nunca
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@349137 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-05 21:23:28 +00:00
Yoshinari Takaoka
a748802bf3
updated translation
...
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348786 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-04 07:46:33 +00:00
Satoru Yoshida
fb6bf55500
Translation correction
...
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@348077 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-27 14:20:47 +00:00
Satoru Yoshida
fe07575cd5
sync en
...
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@347997 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-16 10:50:42 +00:00