This commit is contained in:
Martin Samesch 2022-04-05 14:00:49 +02:00
parent 5065e44c26
commit 87b5827062
No known key found for this signature in database
GPG key ID: D916421AD0A9ACD7
2 changed files with 3 additions and 3 deletions

View file

@ -15,11 +15,11 @@
</sect2>
<sect2 xml:id="migration72.other-changes.mail">
<title>Changes to <function>mail</function> and <function>mb_sendmail</function></title>
<title>Changes to <function>mail</function> and <function>mb_send_mail</function></title>
<para>
The $additional_headers parameter of <function>mail</function> and
<function>mb_sendmail</function> now also accepts an <type>array</type>
<function>mb_send_mail</function> now also accepts an <type>array</type>
instead of a <type>string</type>.
</para>
</sect2>

View file

@ -1951,7 +1951,7 @@ echo $foo ?? $bar ?? $baz ?? $qux; // outputs 1
<warning>
<para>
Prior to PHP 8.0.0, the <function>error_report</function> called inside the custom error handler
Prior to PHP 8.0.0, the <function>error_reporting</function> called inside the custom error handler
always returned <literal>0</literal> if the error was suppressed by the <literal>@</literal> operator.
As of PHP 8.0.0, it returns the value <literal>E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR | E_PARSE</literal>.
</para>