mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Uninitialized type properties are silently discarded on array cast
Cf. <https://bugs.php.net/81629>.
This commit is contained in:
parent
a464e3bda1
commit
d332b5ae70
2 changed files with 4 additions and 0 deletions
|
@ -840,6 +840,8 @@ $error_descriptions[8] = "This is just an informal notice";
|
|||
private variables have the class name prepended to the variable
|
||||
name; protected variables have a '*' prepended to the variable name. These
|
||||
prepended values have <literal>NUL</literal> bytes on either side.
|
||||
Uninitialized <link linkend="language.oop5.properties.typed-properties">typed properties</link>
|
||||
are silently discarded.
|
||||
</para>
|
||||
|
||||
<informalexample>
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
exceptions: private variables have the class name prepended to the variable name,
|
||||
and protected variables have a <literal>*</literal> prepended to the variable name.
|
||||
These prepended values have <literal>NUL</literal> bytes on either side.
|
||||
Uninitialized <link linkend="language.oop5.properties.typed-properties">typed properties</link>
|
||||
are silently discarded.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
Loading…
Reference in a new issue