svn: /phpdoc/ja/trunk/language/oop5/ magic.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Sun, 26 Jan 2020 23:55:05 +0000

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

Log:
Update doc in regards to being able to throw exceptions in __toString().

Changed paths:
    U   phpdoc/ja/trunk/language/oop5/magic.xml

Modified: phpdoc/ja/trunk/language/oop5/magic.xml
===================================================================
--- phpdoc/ja/trunk/language/oop5/magic.xml	2020-01-26 18:07:02 UTC (rev 349027)
+++ phpdoc/ja/trunk/language/oop5/magic.xml	2020-01-26 23:55:05 UTC (rev 349028)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 346507 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 349020 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka,mumumu -->

 <sect1 xml:id="language.oop5.magic" xmlns="http://docbook.org/ns/docbook">
@@ -150,7 +150,7 @@
   </para>
    <warning>
     <simpara>
-     <link linkend="object.tostring">__toString()</link> メソッド内から例外を投げることはできません。そうした場合、致命的なエラーが発生します。
+     PHP 7.4.0 より前のバージョンでは、<link linkend="object.tostring">__toString()</link> メソッド内から例外を投げることはできません。そうした場合、致命的なエラーが発生します。
     </simpara>
    </warning>  <example>
    <title>簡単な例</title>
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.