We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3010cc4 commit c1c803cCopy full SHA for c1c803c
language/oop5/traits.xml
@@ -423,6 +423,13 @@ Example::doSomething();
423
</example>
424
<example xml:id="language.oop5.traits.static.ex3">
425
<title>Static Properties</title>
426
+ <caution>
427
+ <simpara>
428
+ Prior to PHP 8.3.0, static properties were shared across all classes
429
+ using the trait. As of PHP 8.3.0, each class using the trait has its
430
+ own copy of the static property.
431
+ </simpara>
432
+ </caution>
433
<programlisting role="php">
434
<![CDATA[
435
<?php
0 commit comments