com doc/tr: update for sync with English docs.: language/predefined/arithmeticerror.xml language/predefined/arrayaccess.xml language/predefined/closure.xml language/predefined/exception.xml language/predefined/exceptions.xml language/predefined/interfaces.xml language/predefined/throwable.xml language/predefined/unhandledmatcherror.xml language/predefined/valueerror.xml language/predefined/variables.xml language/predefined/weakreference.xml
[email protected] (Nilgün Belma Bugüner) Tue, 12 Jan 2021 08:22:53 +0000
| Newsgroups | php.doc.tr |
|---|---|
| Message-ID | <[email protected]> |
Commit: ded9ac98ed64f894b99b5955cacdae0b9ba00fcb Author: Nilgün Belma Bugüner <[email protected]> Tue, 12 Jan 2021 11:22:53 +0300 Parents: bbb4c0c9f20d020a26842991e1b9cabbe538d114 Branches: master Link: http://git.php.net/?p=doc/tr.git;a=commitdiff;h=ded9ac98ed64f894b99b5955cacdae0b9ba00fcb Log: update for sync with English docs. Changed paths: M language/predefined/arithmeticerror.xml M language/predefined/arrayaccess.xml M language/predefined/closure.xml M language/predefined/exception.xml M language/predefined/exceptions.xml M language/predefined/interfaces.xml M language/predefined/throwable.xml A language/predefined/unhandledmatcherror.xml A language/predefined/valueerror.xml M language/predefined/variables.xml A language/predefined/weakreference.xml
diff_ded9ac98ed64f894b99b5955cacdae0b9ba00fcb.txt
(text/plain, 20.7 KB)
diff --git a/language/predefined/arithmeticerror.xml b/language/predefined/arithmeticerror.xml
index fd72ecda..957e334c 100644
--- a/language/predefined/arithmeticerror.xml
+++ b/language/predefined/arithmeticerror.xml
@@ -1,36 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 10bf01015f2da241855e15b40677eb8f9ffc892e Maintainer: nilgun Status: ready -->
+<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: nilgun Status: ready -->
<phpdoc:exceptionref xml:id="class.arithmeticerror"
xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:phpdoc="http://php.net/ns/phpdoc">
- <title>ArithmeticError</title>
+ <title>ArithmeticError istisnası</title>
<titleabbrev>ArithmeticError</titleabbrev>
-
+
<partintro>
-
+
<!-- {{{ Error intro -->
<section xml:id="arithmeticerror.intro">
&reftitle.intro;
<para>
- Matematiksel işlemler yapılırken bir hata oluştuğunda
- <classname>ArithmeticError</classname> yavrulanır.
- PHP 7.0'da bu hatalara, negatif miktarda bit kaydırma yapmaya çalışırken
- veya bir tamsayının olası sınırlarının dışına çıkan bir değerle sonuçlanan
- <function>intdiv</function> çağrıları dahildir.
+ Matematiksel işlemler yapılırken bir hata oluştuğunda
+ <classname>ArithmeticError</classname> yavrulanır.
+ Bu hatalara, negatif miktarda bit kaydırma yapmaya çalışırken
+ veya bir <type>int</type> türünün olası sınırlarının dışına çıkan
+ bir değerle sonuçlanan <function>intdiv</function> çağrıları dahildir.
</para>
</section>
<!-- }}} -->
-
+
<section xml:id="arithmeticerror.synopsis">
&reftitle.classsynopsis;
-
+
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>ArithmeticError</classname></ooclass>
-
+
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
@@ -52,13 +52,13 @@
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
</classsynopsis>
-
+
<!-- }}} -->
-
+
</section>
</partintro>
</phpdoc:exceptionref>
-
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/language/predefined/arrayaccess.xml b/language/predefined/arrayaccess.xml
index 493055a1..0c45c000 100644
--- a/language/predefined/arrayaccess.xml
+++ b/language/predefined/arrayaccess.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: dac44789165076f0681f0f3403a80c57a4c99b4c Maintainer: nilgun Status: ready -->
+<!-- EN-Revision: 9d539daa5f6be7e126ca3e91ca03eb17ead55af9 Maintainer: nilgun Status: ready -->
<!-- CREDITS: haluk -->
<phpdoc:classref xml:id="class.arrayaccess" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
@@ -46,9 +46,9 @@
<programlisting role="php">
<![CDATA[
<?php
-class obj implements ArrayAccess {
+class Obj implements ArrayAccess {
private $container = array();
-
+
public function __construct() {
$this->container = array(
"bir" => 1,
@@ -56,7 +56,7 @@ class obj implements ArrayAccess {
"üç" => 3,
);
}
-
+
public function offsetSet($offset, $value) {
if (is_null($offset)) {
$this->container[] = $value;
@@ -64,21 +64,21 @@ class obj implements ArrayAccess {
$this->container[$offset] = $value;
}
}
-
+
public function offsetExists($offset) {
return isset($this->container[$offset]);
}
-
+
public function offsetUnset($offset) {
unset($this->container[$offset]);
}
-
+
public function offsetGet($offset) {
return isset($this->container[$offset]) ? $this->container[$offset] : null;
}
}
-$obj = new obj;
+$obj = new Obj;
var_dump(isset($obj["iki"]));
var_dump($obj["iki"]);
diff --git a/language/predefined/closure.xml b/language/predefined/closure.xml
index d3dcb499..b6f4f3a1 100644
--- a/language/predefined/closure.xml
+++ b/language/predefined/closure.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: caec2ae726d4f634844b8996174f831e8fa955bd Maintainer: nilgun Status: ready -->
+<!-- EN-Revision: cdaea0421544885f02ff3d36bd203dc01b78299e Maintainer: nilgun Status: ready -->
<phpdoc:classref xml:id="class.closure" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Closure sınıfı</title>
@@ -16,16 +16,14 @@
</para>
<para>
- PHP 5.3'te gerçeklenen anonim işlevler bu tür nesneler üretir. Bu olgu,
- bir uygulama ayrıntısı olarak görülüyordu, ancak şimdi güvenilirdir.
- PHP 5.4 ve sonrasında, bu sınıf, anonim işlevlerin oluşturulduktan sonra
- daha iyi denetlenmesini sağlayan yöntemlere sahiptir.
+ Anonim işlevler bu tür nesneler üretir. Bu sınıf oluşturulduktan sonra,
+ anonim işlevlerin daha iyi denetlenmesini sağlayan yöntemlere sahiptir.
</para>
<para>
- Burada listelenen yöntemlerden başka <literal>__invoke</literal> yöntemine
+ Burada listelenen yöntemlerden başka <literal>__invoke</literal> yöntemine
de sahiptir. Bu sınıf, <link linkend="language.oop5.magic.invoke">sihirli
- çağrıları</link> gerçekleyen sınıflarla tutarlılık için vardır ve bu
+ çağrıları</link> gerçekleyen sınıflarla tutarlılık için vardır ve bu
yöntem işlev çağrısı için kullanılmaz.
</para>
@@ -46,7 +44,7 @@
</ooclass>
</classsynopsisinfo>
<!-- }}} -->
-
+
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.closure')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
</classsynopsis>
diff --git a/language/predefined/exception.xml b/language/predefined/exception.xml
index e63df27a..9f73ee3c 100644
--- a/language/predefined/exception.xml
+++ b/language/predefined/exception.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: aaeb51d9192b3857567c4bc032616e4c85d962e9 Maintainer: nilgun Status: ready -->
+<!-- EN-Revision: cdaea0421544885f02ff3d36bd203dc01b78299e Maintainer: nilgun Status: ready -->
<!-- CREDITS: haluk -->
<phpdoc:exceptionref xml:id="class.exception"
xmlns="http://docbook.org/ns/docbook"
@@ -16,12 +16,8 @@
<section xml:id="exception.intro">
&reftitle.intro;
<para>
- <ooclass><classname>Exception</classname></ooclass> PHP5'te tüm istisnalar
- için ve PHP7'de tüm kullanıcı istisnaları için temel sınıftır.
- </para>
- <para>
- PHP 7 öncesinde, <classname>Exception</classname> sınıfı
- <classname>Throwable</classname> arayüzünü gerçeklemiyordu.
+ <ooclass><classname>Exception</classname></ooclass> tüm kullanıcı
+ istisnaları için temel sınıftır.
</para>
</section>
<!-- }}} -->
diff --git a/language/predefined/exceptions.xml b/language/predefined/exceptions.xml
index 80728356..6ffe7da6 100644
--- a/language/predefined/exceptions.xml
+++ b/language/predefined/exceptions.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: fd35a907bb40a81e8ce5a8905944e9701a82abce Maintainer: nilgun Status: ready -->
+<!-- EN-Revision: 6970f8fa7b14b019d0d33ebe1d6ab85cabeb3072 Maintainer: nilgun Status: ready -->
<!-- CREDITS: haluk -->
<part xml:id="reserved.exceptions" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Öntanımlı İstisnalar</title>
@@ -24,6 +24,9 @@
&language.predefined.compileerror;
&language.predefined.parseerror;
&language.predefined.typeerror;
+ &language.predefined.valueerror;
+ &language.predefined.unhandledmatcherror;
+
</part>
<!-- Keep this comment at the end of the file
diff --git a/language/predefined/interfaces.xml b/language/predefined/interfaces.xml
index c7e6feba..76d5416a 100644
--- a/language/predefined/interfaces.xml
+++ b/language/predefined/interfaces.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: fc07a643d49229dbdd4eb334c484c6ac16c979b9 Maintainer: nilgun Status: ready -->
+<!-- EN-Revision: faabf4e74accd1a5791a9144353c91a06f8af154 Maintainer: nilgun Status: ready -->
<!-- CREDITS: haluk -->
<part xml:id="reserved.interfaces" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Öntanımlı Arayüzler ve Sınıflar</title>
@@ -20,6 +20,7 @@
&language.predefined.serializable;
&language.predefined.closure;
&language.predefined.generator;
+ &language.predefined.weakreference;
</part>
diff --git a/language/predefined/throwable.xml b/language/predefined/throwable.xml
index 634a2fa6..c26fc106 100644
--- a/language/predefined/throwable.xml
+++ b/language/predefined/throwable.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 9a4e00c8f075b1fc66a4dcf5b6b35c3a81f1a6c0 Maintainer: nilgun Status: ready -->
+<!-- EN-Revision: cdaea0421544885f02ff3d36bd203dc01b78299e Maintainer: nilgun Status: ready -->
<phpdoc:classref xml:id="class.throwable" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
- <title>Throwable</title>
+ <title>Throwable Arayüzü</title>
<titleabbrev>Throwable</titleabbrev>
<partintro>
@@ -12,14 +12,14 @@
<section xml:id="throwable.intro">
&reftitle.intro;
<para>
- <classname>Throwable</classname> PHP 7'de bir &throw; deyimi üzerinden
- yavrulanabilen <classname>Error</classname> ve
+ <classname>Throwable</classname> bir &throw; deyimi üzerinden
+ yavrulanabilen <classname>Error</classname> ve
<classname>Exception</classname> gibi nesneler için temel arayüzdür.
</para>
<note>
<para>
- PHP sınıfları doğrudan <classname>Throwable</classname> arayüzünden
- gerçeklenemez, bunun yerine <classname>Exception</classname> sınıfı
+ PHP sınıfları doğrudan <classname>Throwable</classname> arayüzünden
+ gerçeklenemez, bunun yerine <classname>Exception</classname> sınıfı
genişletilerek gerçeklenir.
</para>
</note>
@@ -40,7 +40,7 @@
</ooclass>
</classsynopsisinfo>
<!-- }}} -->
-
+
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.throwable')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
</classsynopsis>
diff --git a/language/predefined/unhandledmatcherror.xml b/language/predefined/unhandledmatcherror.xml
new file mode 100644
index 00000000..fee45e6e
--- /dev/null
+++ b/language/predefined/unhandledmatcherror.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: d60cfe1bfdfc1b3c297b98153671d7a72fdf2a1f Maintainer: nilgun Status: ready -->
+<phpdoc:exceptionref xml:id="class.unhandledmatcherror"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:phpdoc="http://php.net/ns/phpdoc">
+ <title>UnhandledMatchError istisnası</title>
+ <titleabbrev>UnhandledMatchError</titleabbrev>
+
+ <partintro>
+
+<!-- {{{ Error intro -->
+ <section xml:id="unhandledmatcherror.intro">
+ &reftitle.intro;
+ <para>
+ Bir match ifadesine aktarılan özne, match ifadesinin herhangi bir kolu tarafından işlenmediğinde, bir
+ <ooclass><classname>UnhandledMatchError</classname></ooclass> yavrulanır.
+ </para>
+ </section>
+<!-- }}} -->
+
+ <section xml:id="unhandledmatcherror.synopsis">
+ &reftitle.classsynopsis;
+
+<!-- {{{ Synopsis -->
+ <classsynopsis>
+ <ooclass><classname>UnhandledMatchError</classname></ooclass>
+
+<!-- {{{ Class synopsis -->
+ <classsynopsisinfo>
+ <ooclass>
+ <classname>UnhandledMatchError</classname>
+ </ooclass>
+
+ <ooclass>
+ <modifier>extends</modifier>
+ <classname>Error</classname>
+ </ooclass>
+ </classsynopsisinfo>
+<!-- }}} -->
+
+ <classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
+ <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
+ <xi:fallback />
+ </xi:include>
+
+ <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
+ <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
+ </classsynopsis>
+
+<!-- }}} -->
+
+ </section>
+ </partintro>
+</phpdoc:exceptionref>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
diff --git a/language/predefined/valueerror.xml b/language/predefined/valueerror.xml
new file mode 100644
index 00000000..cf04c141
--- /dev/null
+++ b/language/predefined/valueerror.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 8bffa662766ee9c3908290c98d1af32dab4a9be5 Maintainer: nilgun Status: ready -->
+<phpdoc:exceptionref xml:id="class.valueerror"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:phpdoc="http://php.net/ns/phpdoc">
+ <title>ValueError istisnası</title>
+ <titleabbrev>ValueError</titleabbrev>
+
+ <partintro>
+
+<!-- {{{ Error intro -->
+ <section xml:id="valueerror.intro">
+ &reftitle.intro;
+ <para>
+ Bir değiştirgenin türü doğru, ancak değeri yanlış olduğunda bir
+ <classname>ValueError</classname> yavrulanır. Örneğin, bir işlev pozitif
+ bir tamsayı beklerken negatif bir tamsayı aktarmak veya bir işlev boş
+ olmayan bir dize/dizi beklerken boş olanı aktarmak gibi.
+ </para>
+ </section>
+<!-- }}} -->
+
+ <section xml:id="valueerror.synopsis">
+ &reftitle.classsynopsis;
+
+<!-- {{{ Synopsis -->
+ <classsynopsis>
+ <ooclass><classname>ValueError</classname></ooclass>
+
+<!-- {{{ Class synopsis -->
+ <classsynopsisinfo>
+ <ooclass>
+ <classname>ValueError</classname>
+ </ooclass>
+
+ <ooclass>
+ <modifier>extends</modifier>
+ <classname>Error</classname>
+ </ooclass>
+ </classsynopsisinfo>
+<!-- }}} -->
+
+ <classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
+ <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
+ <xi:fallback />
+ </xi:include>
+
+ <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
+ <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
+ </classsynopsis>
+<!-- }}} -->
+ </section>
+ </partintro>
+</phpdoc:exceptionref>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
diff --git a/language/predefined/variables.xml b/language/predefined/variables.xml
index 36b1dda7..686ea58c 100644
--- a/language/predefined/variables.xml
+++ b/language/predefined/variables.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: yasar Status: ready -->
+<!-- EN-Revision: a71742330defbc0edfbc6822b4f947bf437b2f70 Maintainer: yasar Status: ready -->
<reference xml:id="reserved.variables" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Öntanımlı Değişkenler</title>
@@ -14,11 +14,6 @@
kendilerini gösterirler.
</para>
- <para>
- Ayrıca "<link linkend="faq.register-globals"> register_globals beni nasıl
- etkiler?</link>" başlıklı SSS kısmına da bakınız.
- </para>
-
</partintro>
&language.predefined.variables.superglobals;
diff --git a/language/predefined/weakreference.xml b/language/predefined/weakreference.xml
new file mode 100644
index 00000000..e36b74e0
--- /dev/null
+++ b/language/predefined/weakreference.xml
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: faabf4e74accd1a5791a9144353c91a06f8af154 Maintainer: nilgun Status: ready -->
+<phpdoc:classref xml:id="class.weakreference" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
+
+ <title>WeakReference sınıfı</title>
+ <titleabbrev>WeakReference</titleabbrev>
+
+ <partintro>
+
+<!-- {{{ WeakReference intro -->
+ <section xml:id="weakreference.intro">
+ &reftitle.intro;
+ <para>
+ Zayıf gönderimler, programcının, nesnenin yok edilmesini engellemeyen
+ bir nesneye gönderim tutmasına izin verir. Önbellek benzeri yapıları
+ gerçeklemek için kullanışlıdır.
+ </para>
+ <note>
+ <para>
+ <classname>WeakReference</classname> sınıfı,
+ <link linkend="class.weakref">Weakref</link> eklentisinin
+ <classname>WeakRef</classname> sınıfı ile karıştırılmamalıdır.
+ </para>
+ </note>
+ <para>
+ <classname>WeakReference</classname> örnekleri dizileştirilemez.
+ </para>
+ </section>
+<!-- }}} -->
+
+ <section xml:id="weakreference.synopsis">
+ &reftitle.classsynopsis;
+
+<!-- {{{ Synopsis -->
+ <classsynopsis>
+ <ooclass><classname>WeakReference</classname></ooclass>
+
+<!-- {{{ Class synopsis -->
+ <classsynopsisinfo>
+ <ooclass>
+ <classname>WeakReference</classname>
+ </ooclass>
+ </classsynopsisinfo>
+<!-- }}} -->
+
+ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
+ <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.weakreference')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
+ <xi:fallback />
+ </xi:include>
+ <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.weakreference')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
+ <xi:fallback />
+ </xi:include>
+ </classsynopsis>
+<!-- }}} -->
+
+ </section>
+
+ <section xml:id="weakreference.examples">
+ <title>- WeakReference Örnekleri</title>
+ <para>
+ <example xml:id="weakreference.basic-example">
+ <title>- Temel WeakReference Kullanımı</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$obj = new stdClass;
+$weakref = WeakReference::create($obj);
+var_dump($weakref->get());
+unset($obj);
+var_dump($weakref->get());
+?>
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+object(stdClass)#1 (0) {
+}
+NULL
+]]>
+ </screen>
+ </example>
+ </para>
+ </section>
+
+ </partintro>
+
+ &language.predefined.weakreference.construct;
+ &language.predefined.weakreference.create;
+ &language.predefined.weakreference.get;
+
+</phpdoc:classref>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->