48
48
</para >
49
49
<warning >
50
50
<simpara >
51
- Passing < constant >E_USER_ERROR</ constant > as the
52
- <parameter >error_level</ parameter > is now deprecated.
53
- Throw an <exceptionname >Exception</exceptionname > or
54
- call <function >exit</function > instead.
51
+ < parameter >error_level</ parameter > として
52
+ <constant >E_USER_ERROR</ constant > を指定するのは非推奨となりました。
53
+ かわりに、 <exceptionname >Exception</exceptionname > をスローするか、
54
+ <function >exit</function > を呼び出してください。
55
55
</simpara >
56
56
</warning >
57
57
</refsect1 >
88
88
<row >
89
89
<entry >8.4.0</entry >
90
90
<entry >
91
- Passing < constant >E_USER_ERROR</ constant > as the
92
- <parameter >error_level</ parameter > is now deprecated.
93
- Throw an <exceptionname >Exception</exceptionname > or
94
- call <function >exit</function > instead.
91
+ < parameter >error_level</ parameter > として
92
+ <constant >E_USER_ERROR</ constant > を指定するのは非推奨となりました。
93
+ かわりに、 <exceptionname >Exception</exceptionname > をスローするか、
94
+ <function >exit</function > を呼び出してください。
95
95
</entry >
96
96
</row >
97
97
<row >
98
98
<entry >8.4.0</entry >
99
99
<entry >
100
- The function now has a return type of <type >true </type >
101
- instead of <type >bool </type >.
100
+ 戻り値の型が、 <type >bool </type > ではなく
101
+ <type >true </type > に変更されました。
102
102
</entry >
103
103
</row >
104
104
<row >
128
128
<?php
129
129
$password = $_POST['password'] ?? '';
130
130
if ($password === '') {
131
- trigger_error("Using an empty password is unsafe ", E_USER_WARNING);
131
+ trigger_error("空のパスワードを使用することは安全ではありません ", E_USER_WARNING);
132
132
}
133
133
$hash = password_hash($password, PASSWORD_DEFAULT);
134
134
?>
@@ -155,7 +155,7 @@ $hash = password_hash($password, PASSWORD_DEFAULT);
155
155
<member ><function >set_error_handler</function ></member >
156
156
<member ><function >restore_error_handler</function ></member >
157
157
<member ><link linkend =" errorfunc.constants" >エラーレベル定数</link ></member >
158
- <member >The <classname >Deprecated</classname > attribute </member >
158
+ <member ><classname >Deprecated</classname > アトリビュート </member >
159
159
</simplelist >
160
160
</para >
161
161
</refsect1 >
0 commit comments