svn: /phpdoc/ja/trunk/reference/errorfunc/functions/ set-error-handler.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Wed, 05 Feb 2020 21:23:28 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=349137

Log:
Clarify set_error_handler types that cannot be handled (doc bug #76318)

Patch by Sorin Nunca

Bug: https://bugs.php.net/76318 (Closed) Unclear statement in set_error_handler docs
      
Changed paths:
    U   phpdoc/ja/trunk/reference/errorfunc/functions/set-error-handler.xml

Modified: phpdoc/ja/trunk/reference/errorfunc/functions/set-error-handler.xml
===================================================================
--- phpdoc/ja/trunk/reference/errorfunc/functions/set-error-handler.xml	2020-02-05 21:22:57 UTC (rev 349136)
+++ phpdoc/ja/trunk/reference/errorfunc/functions/set-error-handler.xml	2020-02-05 21:23:28 UTC (rev 349137)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 342126 Maintainer: takagi Status: ready -->
-<!-- CREDITS: hirokawa -->
+<!-- EN-Revision: 349133 Maintainer: takagi Status: ready -->
+<!-- CREDITS: hirokawa,mumumu -->
 <refentry xml:id="function.set-error-handler" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>set_error_handler</refname>
@@ -47,9 +47,9 @@
    <constant>E_ERROR</constant>, <constant>E_PARSE</constant>,
    <constant>E_CORE_ERROR</constant>, <constant>E_CORE_WARNING</constant>,
    <constant>E_COMPILE_ERROR</constant>,
-   <constant>E_COMPILE_WARNING</constant> および
-   <function>set_error_handler</function> がコールされたファイルで発生した
-   大半の <constant>E_STRICT</constant> 。
+   <constant>E_COMPILE_WARNING</constant>。これらは発生した場所に関係なく使えません。
+   また、<function>set_error_handler</function> がコールされたファイルで発生した
+   大半の <constant>E_STRICT</constant> も、ユーザー定義の関数では扱えません。
   </para>
   <para>
    (ファイルアップロードのように)スクリプトが実行される前にエラーが
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.