Skip to content

Commit e810e09

Browse files
committed
'修正issue中提出的问题'
1 parent 073548d commit e810e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PHP/PHP手册笔记/6.面向对象(OOP).md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class B extends A{
157157
public static $s = 's';
158158
const PI = 111;
159159
public function test(){
160-
echo parent::age;// 10
160+
echo $this->age;// 10
161161

162162
}
163163

0 commit comments

Comments
 (0)