php中__toString()方法用法示例

php中__toString()方法用法示例

这篇文章主要介绍了php中__toString()方法用法,结合实例形式分析了__toString()方法的功能与简单使用技巧,需要的朋友可以参考下