1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-25 15:42:08 +01:00
Commit Graph

49 Commits

Author SHA1 Message Date
hirosan
7ad7192054 set_error_handlerのサンプルコードを修正 (#320) 2025-11-19 17:48:33 +09:00
Yoshinari Takaoka
97fe6c84dd [reference/errorfunc] sync with en 2025-09-02 19:41:54 +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
yoshi-shd
30f5b2edef Update set-error-handler.xml (#70) 2022-12-19 22:14:12 +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
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
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
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
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
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
e72ad67776 sync en, but Status is working.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@342340 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-16 00:52:39 +00:00
TAKAGI Masahiro
26f8f5cc6c Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@334624 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 22:56:38 +00:00
TAKAGI Masahiro
90077aa1c7 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@334602 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-25 20:23:04 +00:00
TAKAGI Masahiro
e60bf0a758 Update EN-Revision
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@331000 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-21 20:55:05 +00:00
TAKAGI Masahiro
cace0f7401 Sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@330256 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-16 23:29:46 +00:00
TAKAGI Masahiro
85184370c2 Update EN-Revision.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@325220 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-16 11:01:17 +00:00
Jakub Vrana
50d8a4ea29 Use <function> for language constructs (now supported by PhD)
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@325214 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-15 21:45:34 +00:00
TAKAGI Masahiro
34c4f5b465 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@324546 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-26 08:51:42 +00:00
TAKAGI Masahiro
2bbc445b07 sync with en (callable type hint introduced in PHP 5.4).
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@324167 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-12 21:14:58 +00:00
TAKAGI Masahiro
edc3d6b148 s/ユーザ[^ー]/ユーザー/g
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@324071 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-10 01:29:04 +00:00
TAKAGI Masahiro
304252b7b3 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@301554 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-26 00:49:06 +00:00
TAKAGI Masahiro
92e2647aa6 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@299007 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-05 03:02:15 +00:00
Torben Wilson
5ba20ff84e Resynched with en (bumped EN-Revision and updated sgml-default-dtd-file).
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@288881 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-28 05:30:52 +00:00
Nilgün Belma Bugüner
04a524a9e6 changed EN-Revision tag as cvs2svn;
fixed svn properties

git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@283945 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-12 16:40:37 +00:00
TAKAGI Masahiro
0530b9ebe7 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@275125 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-03 21:52:23 +00:00
TAKAGI Masahiro
7cafe7b8d8 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@270563 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-05 03:34:14 +00:00
TAKAGI Masahiro
73b214d514 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@265495 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-25 20:42:33 +00:00
TAKAGI Masahiro
05e1777d10 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@241408 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-17 08:56:46 +00:00
Hannes Magnusson
d0ac585542 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there
 - Bump EN-Revision where appropriate


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@238266 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-22 14:32:58 +00:00
TAKAGI Masahiro
04ed709f76 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@229423 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-09 14:58:00 +00:00
TAKAGI Masahiro
a3e63d1a99 sync with en.
- clean whitespaces
- switch to new doc style


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@227393 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-16 15:00:35 +00:00
TAKAGI Masahiro
a6aaaafb96 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@226879 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-10 03:53:24 +00:00
TAKAGI Masahiro
b1ed0631ce sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@212055 c90b9560-bf6c-de11-be94-00142212c4b1
2006-04-27 03:50:17 +00:00
TAKAGI Masahiro
9da46d0f14 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@201592 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-29 15:32:44 +00:00
TAKAGI Masahiro
12c24305dc sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@199997 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-04 22:43:59 +00:00
TAKAGI Masahiro
3831ca58b3 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@193346 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-13 23:57:46 +00:00
Rui Hirokawa
c1d753be2a modified the misused kanji.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@176274 c90b9560-bf6c-de11-be94-00142212c4b1
2005-01-02 07:23:48 +00:00
Rui Hirokawa
64978a5375 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@173345 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-23 07:40:58 +00:00
Rui Hirokawa
c40a460a29 translated sync tag into En-Revision.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@173331 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-23 04:45:51 +00:00
Moriyoshi Koizumi
40d6ed86b3 Let's unify them :)
# sorry for the huge commit


git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@134146 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-04 00:06:52 +00:00
Rui Hirokawa
92d811d741 translation updated.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@105852 c90b9560-bf6c-de11-be94-00142212c4b1
2002-11-26 15:42:15 +00:00
Hartmut Holzgraefe
f1296cb009 banana-split
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@78214 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-15 01:18:44 +00:00