com doc/ja: Revert "Show info about PHP error reporting": language/types/type-juggling.xml
| From: | Yoshinari Takaoka | Date: | Fri, 19 Mar 2021 19:13:11 +0000 |
| Subject: | com doc/ja: Revert "Show info about PHP error reporting": language/types/type-juggling.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-6263@lists.php.net to get a copy of this message | ||
Commit: 10079f0e9e8b23e580b0e6ce17e10d69331aff97
Author: Yoshinari Takaoka <mumumu@mumumu.org> Sat, 20 Mar 2021 04:13:11 +0900
Parents: 366c0aae04f23910f03d6fb58e286a5f24ce6729
Branches: master
Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=10079f0e9e8b23e580b0e6ce17e10d69331aff97
Log:
Revert "Show info about PHP error reporting"
This reverts commit f3e5da1, because
it was accidentally committed.
Cf. <#465>.
Bugs:
https://bugs.php.net/465
Changed paths:
M language/types/type-juggling.xml
Diff:
diff --git a/language/types/type-juggling.xml b/language/types/type-juggling.xml
index f88eb7529d..da4f45ca4e 100644
--- a/language/types/type-juggling.xml
+++ b/language/types/type-juggling.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: f3e5da139a9576c522d6e6a43394f1496b72de0e Maintainer: takagi Status: ready
-->
+<!-- EN-Revision: c4de1a06045b84afa79ac0b6503fa4f60400359c Maintainer: takagi Status: ready
-->
<!-- CREDITS: hirokawa,shimooka,mumumu -->
<sect1 xml:id="language.types.type-juggling">
<title>型の相互変換</title>
@@ -31,8 +31,8 @@
$foo = "1"; // $foo は文字列 (ASCII 49) です
$foo *= 2; // ここでは、$foo は整数 (2) です
$foo = $foo * 1.3; // ここでは、$foo はfloat (2.6) です
-$foo = 5 * "10 Little Piggies"; // $foo は integer (50) ですが、PHP 8.0.0 では
E_WARNING (A non-numeric value encountered)
が発生します。これより前のバージョンでは、E_NOTICE (A non well formed numeric
value encountered) が発生していました。
-$foo = 5 * "10 Small Pigs"; // $foo は integer (50) ですが、PHP 8.0.0 では
E_WARNING (A non-numeric value encountered)
が発生します。これより前のバージョンでは、E_NOTICE (A non well formed numeric
value encountered) が発生していました。
+$foo = 5 * "10 Little Piggies"; // $foo は integer (50) です
+$foo = 5 * "10 Small Pigs"; // $foo は integer (50) です
?>
]]>
<!-- bad example, no real operator (must be used with variable, modifies it too)