Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions language/oop5/traits.xml
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,13 @@ Example::doSomething();
</example>
<example xml:id="language.oop5.traits.static.ex3">
<title>Static Properties</title>
<caution>
<simpara>
Prior to PHP 8.3.0, static properties were shared across all classes
using the trait. As of PHP 8.3.0, each class using the trait has its
own copy of the static property.
</simpara>
</caution>
<programlisting role="php">
<![CDATA[
<?php
Expand Down