File tree 3 files changed +7
-1
lines changed
3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 78
78
. Implemented the RFC `Fix "foreach" behavior`. (Dmitry)
79
79
. Implemented the RFC `Generator Delegation`. (Bob)
80
80
. Implemented the RFC `Anonymous Class Support`. (Joe, Nikita, Dmitry)
81
- . Implemented the RFC `Context Sensitive Lexer`. (Marc Almada)
81
+ . Implemented the RFC `Context Sensitive Lexer`. (Marcio Almada)
82
82
. Fixed bug #69511 (Off-by-one buffer overflow in php_sys_readlink).
83
83
(Jan Starke, Anatol)
84
84
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ class Obj
68
68
function static (){ echo __METHOD__ , PHP_EOL ; }
69
69
function abstract (){ echo __METHOD__ , PHP_EOL ; }
70
70
function final (){ echo __METHOD__ , PHP_EOL ; }
71
+ function class (){ echo __METHOD__ , PHP_EOL ; }
71
72
}
72
73
73
74
$ obj = new Obj ;
@@ -135,6 +136,7 @@ $obj->private();
135
136
$ obj ->static ();
136
137
$ obj ->abstract ();
137
138
$ obj ->final ();
139
+ $ obj ->class ();
138
140
139
141
echo "\nDone \n" ;
140
142
@@ -202,5 +204,6 @@ Obj::private
202
204
Obj::static
203
205
Obj::abstract
204
206
Obj::final
207
+ Obj::class
205
208
206
209
Done
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ class Obj
68
68
static function static (){ echo __METHOD__ , PHP_EOL ; }
69
69
static function abstract (){ echo __METHOD__ , PHP_EOL ; }
70
70
static function final (){ echo __METHOD__ , PHP_EOL ; }
71
+ static function class (){ echo __METHOD__ , PHP_EOL ; }
71
72
}
72
73
73
74
Obj::empty ();
@@ -133,6 +134,7 @@ Obj::private();
133
134
Obj::static ();
134
135
Obj::abstract ();
135
136
Obj::final ();
137
+ Obj::class ();
136
138
137
139
echo "\nDone \n" ;
138
140
@@ -200,5 +202,6 @@ Obj::private
200
202
Obj::static
201
203
Obj::abstract
202
204
Obj::final
205
+ Obj::class
203
206
204
207
Done
You can’t perform that action at this time.
0 commit comments