Skip to content

Commit 617cc59

Browse files
committed
Added notes stating that these features were added in 8.4:
lazy objects and property hooks This closes #4375
1 parent 9e08f60 commit 617cc59

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

language/oop5/lazy-objects.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@
2626
identities.
2727
</simpara>
2828

29+
<note>
30+
<title>Version Information</title>
31+
<simpara>
32+
Lazy objects were introduced in PHP 8.4.
33+
</simpara>
34+
</note>
35+
2936
<sect2 xml:id="language.oop5.lazy-objects.creation">
3037
<title>Creating Lazy Objects</title>
3138

language/oop5/property-hooks.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@
4343
operation in addition to altering its behavior, use
4444
<link linkend="language.oop5.visibility-members-aviz">asymmetric property visibility</link>.
4545
</simpara>
46+
47+
<note>
48+
<title>Version Information</title>
49+
<simpara>
50+
Property hooks were introduced in PHP 8.4.
51+
</simpara>
52+
</note>
53+
4654
<sect2>
4755
<title>Basic Hook Syntax</title>
4856
<simpara>

0 commit comments

Comments
 (0)