update : 2015.11.03
php.shukuma.com검색:
|
The WeakRef class(PECL weakref >= 0.1.0) 소개The WeakRef class provides a gateway to objects without preventing the garbage collector from freeing those objects. It also provides a way to turn a weak reference into a strong one. 클래스 개요
WeakRef
{
/* 메소드 */
}예제
Example #1 WeakRef usage example
<?php 위 예제의 출력: Object still exists! object(MyClass)#1 (0) { } Destroying object! Object is dead! Table of Contents
|