PHP海补知识(8)-- 继承,privatre&protected B extend A,如果attribute或function被指定为private,则无法继承;如果被指定为protected,可以被继承。 这是我的个人日记本