会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ghostwu
Ubuntu+Vim下的程序员
博客园
首页
联系
订阅
管理
2018年4月27日
php魔术方法__tostring的应用
摘要: 当echo一个对象的时候,会报错误 Object of class Person could not be converted to string 我们可以通过魔术方法__tostring() 把对象转成字符串 继续改造php静态变量与方法与phar的使用 ghostconfig.php ghost
阅读全文
posted @ 2018-04-27 22:56 ghostwu
阅读(980)
评论(0)
推荐(0)
编辑
公告
Copyright ©2017 ghostwu