PHP 获取 对象唯一id spl_object_hash
1 | // 对象spl_object_hash测试 |
注意
When an object is destroyed, its hash may be reused for other objects.
当对象被销毁时候,这个哈希id可能被其他对象重用
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Dev!
1 | // 对象spl_object_hash测试 |
When an object is destroyed, its hash may be reused for other objects.
当对象被销毁时候,这个哈希id可能被其他对象重用