Added: phpdoc/ja/trunk/reference/weakref/book.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/book.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/book.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+ 弱い参照
+ Weakref
+
+
+ &reftitle.intro;
+
+ 一時的なオブジェクトへの、非侵入型のゲートウェイを提供します。
+ 通常の (強い) 参照とは異なり、弱い参照はガベージコレクタがオブジェクトを解放するのを邪魔しません。
+ そのため、オブジェクトが破棄された後でもそのオブジェクトへの弱い参照が残っている可能性があります。
+ そんな場合は、弱い参照は自動的に無効になります。
+
+
+
+
+ Weakref の使用例
+
+valid()) {
+ echo "Object still exists!\n";
+ var_dump($r1->get());
+} else {
+ echo "Object is dead!\n";
+}
+
+unset($o1);
+
+if ($r1->valid()) {
+ echo "Object still exists!\n";
+ var_dump($r1->get());
+} else {
+ echo "Object is dead!\n";
+}
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reference.weakref.setup;
+ &reference.weakref.weakref;
+ &reference.weakref.weakmap;
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/book.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/setup.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/setup.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/setup.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,54 @@
+
+
+
+
+
+ &reftitle.setup;
+
+
+ &reftitle.required;
+ &no.requirement;
+
+
+
+ &reftitle.install;
+
+ &pecl.moved;
+
+
+ &pecl.info;
+ &url.pecl.package;weakref.
+
+
+ &pecl.windows.download;
+
+
+
+
+ &reftitle.resources;
+ &no.resource;
+
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/setup.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakmap/construct.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakmap/construct.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakmap/construct.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+ WeakMap::__construct
+ 新しいマップを作る
+
+
+
+ &reftitle.description;
+
+ public WeakMap::__construct
+
+
+
+ 新しいマップを作ります。
+
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ &return.void;
+
+
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakmap/construct.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakmap/count.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakmap/count.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakmap/count.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+ WeakMap::count
+ マップ内の生きたエントリを数える
+
+
+
+ &reftitle.description;
+
+ public intWeakMap::count
+
+
+
+ マップ内の生きたエントリを数えます。
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ マップ内の生きたエントリを返します。
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakmap/count.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakmap/current.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakmap/current.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakmap/current.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+ WeakMap::current
+ 反復処理中の現在の値を返す
+
+
+
+ &reftitle.description;
+
+ public mixedWeakMap::current
+
+
+
+ マップ内の反復処理中に、現在の値を返します。
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ 反復処理中の現在の値を返します。
+
+
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakmap/current.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakmap/key.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakmap/key.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakmap/key.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+ WeakMap::key
+ 反復処理中の現在のキーを返す
+
+
+
+ &reftitle.description;
+
+ public objectWeakMap::key
+
+
+
+ マップ内で、反復処理中の現在の位置にあるキーが保持するオブジェクトを返します。
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ 現在処理中のキーのオブジェクトを返します。
+
+
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakmap/key.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakmap/next.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakmap/next.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakmap/next.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+ WeakMap::next
+ マップの次の要素に進む
+
+
+
+ &reftitle.description;
+
+ public voidWeakMap::next
+
+
+
+ マップの次の要素に進みます。
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ &return.void;
+
+
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakmap/next.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakmap/offsetexists.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakmap/offsetexists.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakmap/offsetexists.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+ WeakMap::offsetExists
+ オブジェクトがマップ内にあるかどうかを調べる
+
+
+
+ &reftitle.description;
+
+ public boolWeakMap::offsetExists
+ objectobject
+
+
+ 渡されたオブジェクトがマップ内で参照されているかどうかを調べます。
+
+
+
+
+
+ &reftitle.parameters;
+
+
+ object
+
+
+ 調べたいオブジェクト。
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ オブジェクトがマップ内に含まれる場合に &true;、それ以外の場合に &false; を返します。
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakmap/offsetexists.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakmap/offsetget.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakmap/offsetget.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakmap/offsetget.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+ WeakMap::offsetGet
+ オブジェクトを指定して、それが指す値を返す
+
+
+
+ &reftitle.description;
+
+ public mixedWeakMap::offsetGet
+ objectobject
+
+
+ オブジェクトを指定して、それが指す値を返します。
+
+
+
+
+ &reftitle.parameters;
+
+
+ object
+
+
+ マップ内のキーとして含まれるオブジェクト。
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ 引数で渡したオブジェクトに関連づけられた値を返します。
+ 値がない場合は &null; を返します。
+
+
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakmap/offsetget.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakmap/offsetset.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakmap/offsetset.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakmap/offsetset.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+ WeakMap::offsetSet
+ 新しいキー/値のペアでマップを更新する
+
+
+
+ &reftitle.description;
+
+ public voidWeakMap::offsetSet
+ objectobject
+ mixedvalue
+
+
+ 新しいキー/値のペアでマップを更新します。そのキーが既にマップに存在する場合は、
+ 古い値を新しい値で置き換えます。
+
+
+
+
+ &reftitle.parameters;
+
+
+ object
+
+
+ キー/値のペアでキーになるオブジェクト。
+
+
+
+
+ value
+
+
+ キー/値のペアで値として扱う任意のデータ。
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ &return.void;
+
+
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakmap/offsetset.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakmap/offsetunset.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakmap/offsetunset.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakmap/offsetunset.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+ WeakMap::offsetUnset
+ エントリをマップから削除する
+
+
+
+ &reftitle.description;
+
+ public voidWeakMap::offsetUnset
+ objectobject
+
+
+ エントリをマップから削除します。
+
+
+
+
+ &reftitle.parameters;
+
+
+ object
+
+
+ マップから削除するキーのオブジェクト。
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ &return.void;
+
+
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakmap/offsetunset.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakmap/rewind.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakmap/rewind.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakmap/rewind.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+ WeakMap::rewind
+ イテレータをマップの先頭まで巻き戻す
+
+
+
+ &reftitle.description;
+
+ public voidWeakMap::rewind
+
+
+
+ イテレータをマップの先頭まで巻き戻します。
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ &return.void;
+
+
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakmap/rewind.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakmap/valid.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakmap/valid.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakmap/valid.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+ WeakMap::valid
+ イテレータが有効なマップ要素を指しているかどうかを返す
+
+
+
+ &reftitle.description;
+
+ public boolWeakMap::valid
+
+
+
+ イテレータが有効なマップ要素を指しているかどうかを返します。
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ イテレータが有効なマップ要素を指していてそこにアクセスできる場合に &true;、
+ そうでない場合に &false; を返します。
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakmap/valid.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakmap.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakmap.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakmap.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+ WeakMap クラス
+ WeakMap
+
+
+
+
+
+ &reftitle.intro;
+
+
+
+
+
+
+
+ &reftitle.classsynopsis;
+
+
+
+ WeakMap
+
+
+
+
+ WeakMap
+
+
+
+ Countable
+
+
+
+ ArrayAccess
+
+
+
+ Iterator
+
+
+
+ Traversable
+
+
+
+
+ &Methods;
+
+
+
+
+
+
+
+ &reftitle.examples;
+
+
+ Weakmap の使用例
+
+
+
+ &example.outputs;
+
+
+
+
+
+
+
+
+
+
+ &reference.weakref.entities.weakmap;
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakmap.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakref/acquire.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakref/acquire.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakref/acquire.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,164 @@
+
+
+
+
+
+ Weakref::acquire
+ オブジェクトへの強い参照を確保する
+
+
+
+ &reftitle.description;
+
+ public boolWeakref::acquire
+
+
+
+ オブジェクトへの強い参照を確保し、事実上、弱い参照を強い参照に切り替えます。
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ その参照が有効で、かつ強い参照に切り替えられた場合に &true;、
+ それ以外の場合に &false; を返します。
+
+
+
+
+ &reftitle.examples;
+
+
+ Weakref::acquire の例
+
+acquire();
+
+echo "Unsetting o1...\n";
+unset($o1);
+
+$o2 = $r1->get();
+
+$r1->release();
+
+echo "Unsetting o2...\n";
+unset($o2);
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+
+ ネストした確保と解放の例
+
+acquire();
+
+echo " Unsetting...\n";
+unset($o1);
+
+echo " Acquiring...\n";
+$r1->acquire();
+
+echo " Acquiring...\n";
+$r1->acquire();
+
+echo " Releasing...\n";
+$r1->release();
+
+echo " Releasing...\n";
+$r1->release();
+
+echo "Releasing...\n";
+$r1->release();
+
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+
+ Weakref::release
+
+
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakref/acquire.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakref/construct.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakref/construct.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakref/construct.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,114 @@
+
+
+
+
+
+ Weakref::__construct
+ 弱い参照を新しく作る
+
+
+
+ &reftitle.description;
+
+ public Weakref::__construct
+ objectobject
+
+
+ 弱い参照を新しく作ります。
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ object
+
+
+ 参照するオブジェクト。
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ &return.void;
+
+
+
+
+ &reftitle.examples;
+
+
+ Weakref::__construct の例
+
+valid()) {
+ echo "Object still exists!\n";
+ var_dump($r1->get());
+} else {
+ echo "Object is dead!\n";
+}
+
+unset($o1);
+
+if ($r1->valid()) {
+ echo "Object still exists!\n";
+ var_dump($r1->get());
+} else {
+ echo "Object is dead!\n";
+}
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakref/construct.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakref/get.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakref/get.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakref/get.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,63 @@
+
+
+
+
+
+ Weakref::get
+ 弱い参照が指す先にオブジェクトを返す
+
+
+
+ &reftitle.description;
+
+ public objectWeakref::get
+
+
+
+ 弱い参照が指す先にオブジェクトを返します。
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ 参照が有効な場合にその先のオブジェクトを返します。それ以外の場合に &null; を返します。
+
+
+
+
+ &reftitle.seealso;
+
+
+ Weakref::valid
+
+
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakref/get.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakref/release.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakref/release.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakref/release.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,107 @@
+
+
+
+
+
+ Weakref::release
+ 確保した参照を解放する
+
+
+
+ &reftitle.description;
+
+ public boolWeakref::release
+
+
+
+ 確保した参照を解放します。強い参照を、元の弱い参照に戻すことになります。
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ 先に確保した参照を解放できた場合に &true;、それ以外の場合に &false; を返します。
+
+
+
+
+ &reftitle.examples;
+
+
+ Weakref::release の例
+
+acquire();
+
+echo "Unsetting o1...\n";
+unset($o1);
+
+$o2 = $r1->get();
+
+$r1->release();
+
+echo "Unsetting o2...\n";
+unset($o2);
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+
+ Weakref::acquire
+
+
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakref/release.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakref/valid.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakref/valid.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakref/valid.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,65 @@
+
+
+
+
+
+ Weakref::valid
+ 参照先のオブジェクトがまだ存在するかどうかを調べる
+
+
+
+ &reftitle.description;
+
+ public boolWeakref::valid
+
+
+
+ 参照先のオブジェクトがまだ存在するかどうかを調べます。
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ オブジェクトがまだ存在して
+ Weakref::get アクセス可能な場合に &true;、
+ それ以外の場合に &false; を返します。
+
+
+
+
+ &reftitle.seealso;
+
+
+ Weakref::get
+
+
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakref/valid.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ja/trunk/reference/weakref/weakref.xml
===================================================================
--- phpdoc/ja/trunk/reference/weakref/weakref.xml (rev 0)
+++ phpdoc/ja/trunk/reference/weakref/weakref.xml 2012-12-23 05:22:09 UTC (rev 328865)
@@ -0,0 +1,122 @@
+
+
+
+
+ WeakRef クラス
+ WeakRef
+
+
+
+
+
+ &reftitle.intro;
+
+ WeakRef クラスはオブジェクトへのゲートウェイを提供します。
+ ガベージコレクタがオブジェクトを解放するのを邪魔しません。
+ また、弱い参照を強い参照に切り替える方法も用意します。
+
+
+
+
+
+ &reftitle.classsynopsis;
+
+
+
+ WeakRef
+
+
+
+
+
+ WeakRef
+
+
+
+
+
+ &Methods;
+
+
+
+
+
+
+
+ &reftitle.examples;
+
+
+ WeakRef の使用例
+
+valid()) {
+ echo "Object still exists!\n";
+ var_dump($r1->get());
+} else {
+ echo "Object is dead!\n";
+}
+
+unset($o1);
+
+if ($r1->valid()) {
+ echo "Object still exists!\n";
+ var_dump($r1->get());
+} else {
+ echo "Object is dead!\n";
+}
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+
+
+
+ &reference.weakref.entities.weakref;
+
+
+
+
+
Property changes on: phpdoc/ja/trunk/reference/weakref/weakref.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native