会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
PHP1994
2012年12月7日
没有人可以轻松面对拐点
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2012-12-07 22:34 php1994
阅读(3)
评论(0)
推荐(0)
复习控制访问权限
摘要: 一个类的实例,在类外调用类的私有属性失败的例子:<?php class student { private $no; private $name; private $gender; private $age; private function show_age(){ echo"name is $this->name.<br />"; } function ask_age(){ $this->show_age(); } function s...
阅读全文
posted @ 2012-12-07 22:02 php1994
阅读(175)
评论(0)
推荐(0)
公告
导航
博客园
首页
新随笔
联系
订阅
管理