language/oop5/late-static-bindings.xml
9ee9eccf455188ab6eb352194eb6f9eb99e15606
...
...
@@ -3,7 +3,7 @@
3
3
<sect1 xml:id="language.oop5.late-static-bindings" xmlns="http://docbook.org/ns/docbook">
4
4
<title>Late Static Bindings</title>
5
5
<para>
6
-
As of PHP 5.3.0, PHP implements a feature called late static bindings which
6
+
PHP implements a feature called late static bindings which
7
7
can be used to reference the called class in a context of static inheritance.
8
8
</para>
9
9

...
...
@@ -80,7 +80,7 @@ A
80
80
<para>
81
81
Late static bindings tries to solve that limitation by introducing a
82
82
keyword that references the class that was initially called at runtime.
83
-
Basically, a keyword that would allow you to reference
83
+
Basically, a keyword that would allow referencing
84
84
<literal>B</literal> from <literal>test()</literal> in the previous
85
85
example. It was decided not to introduce a new keyword but rather use
86
86
<literal>static</literal> that was already reserved.
87
87