Skip to content

Commit

Permalink
Uninitialized type properties are silently discarded on array cast
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Nov 17, 2021
1 parent a464e3b commit d332b5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions language/types/array.xml
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions reference/classobj/functions/get-mangled-object-vars.xml
Expand Up @@ -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>

Expand Down

0 comments on commit d332b5a

Please sign in to comment.