mirror of
https://github.com/php/doc-tr.git
synced 2026-03-23 23:02:09 +01:00
fix RelaxNG validation errors
This commit is contained in:
@@ -203,13 +203,13 @@
|
||||
Bu, takma adların yardımı ile mümkündür. Aynı yazı örneği için çok
|
||||
sayıda başvuru edinmek için örneği şöyle oluşturabilirsiniz:I
|
||||
</para>
|
||||
<example><programlisting role="php">
|
||||
<informalexample><programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$yazı = new COM("C:\docs\yazı.doc");
|
||||
?>
|
||||
]]>
|
||||
</programlisting></example>
|
||||
</programlisting></informalexample>
|
||||
<para>
|
||||
Çalışan bir örnek olmadığı takdirde bu yeni bir örnek oluşturur, aksi
|
||||
takdirde çalışan örnek için bir başvuru döndürür.
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
sahiptir. POST yöntemi ile gönderilmiş değerleri bir ilişkisel dizi
|
||||
olarak <varname>$_POST</varname> üzerinden döngüye sokabilirsiniz.
|
||||
Örnek olarak, &foreach; ile basit bir döngü oluşturup boş değerleri <function>empty</function> ile tespit edip bütün değerleri basalım:
|
||||
<example><programlisting role="php">
|
||||
<informalexample><programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$empty = $post = array();
|
||||
@@ -71,7 +71,7 @@ if (empty($empty)) {
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting></example>
|
||||
</programlisting></informalexample>
|
||||
</para>
|
||||
|
||||
</answer>
|
||||
@@ -101,7 +101,7 @@ if (empty($empty)) {
|
||||
<question>
|
||||
<para>
|
||||
Aşağıdakini gerçeklerken çıktı yanlış sırada basılıyor:
|
||||
<example><programlisting role="php">
|
||||
<informalexample><programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
function işlevim($bağımsız_değişken)
|
||||
@@ -112,7 +112,7 @@ $değişken = 10;
|
||||
echo "işlevim($değişken) = " . işlevim($değişken);
|
||||
?>
|
||||
]]>
|
||||
</programlisting></example>
|
||||
</programlisting></informalexample>
|
||||
Neyi yanlış yapıyorum?
|
||||
</para>
|
||||
</question>
|
||||
@@ -130,14 +130,14 @@ echo "işlevim($değişken) = " . işlevim($değişken);
|
||||
<question>
|
||||
<para>
|
||||
Hey, satırsonu karakterleri nereye gitti?
|
||||
<example><programlisting role="php">
|
||||
<informalexample><programlisting role="php">
|
||||
<![CDATA[
|
||||
<pre>
|
||||
<?php echo "Bu ilk satır olmalı."; ?>
|
||||
<?php echo "Bu da ilk satırın altındaki satır olmalı."; ?>
|
||||
</pre>
|
||||
]]>
|
||||
</programlisting></example>
|
||||
</programlisting></informalexample>
|
||||
</para>
|
||||
</question>
|
||||
<answer>
|
||||
@@ -196,7 +196,7 @@ echo "işlevim($değişken) = " . işlevim($değişken);
|
||||
PHP'yi bir Apache modülü olarak çalıştırıyorsanız
|
||||
<function>getallheaders</function> işlevi istediğiniz şeyi yapacaktır.
|
||||
Aşağıdaki küçük kod tüm istek başlıklarını gösterecektir:
|
||||
<example><programlisting role="php">
|
||||
<informalexample><programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$başlıklar = getallheaders();
|
||||
@@ -205,7 +205,7 @@ foreach ($başlıklar as $isim => $içerik) {
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting></example>
|
||||
</programlisting></informalexample>
|
||||
</para>
|
||||
<para>
|
||||
Ayrıca bakınız:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: f94d903985119d3ac00f4528551df947f57b667f Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 16f66c05a4060a7d673ae1c70b656d65009407b0 Maintainer: nilgun Status: ready -->
|
||||
<sect1 xml:id="language.oop5.properties" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Özellikler</title>
|
||||
|
||||
@@ -199,6 +199,12 @@ Fatal error: Uncaught Error: Typed property Shape::$numberOfSides must not be ac
|
||||
PHP 8.1.0 itibariyle, bir özellik <code>readonly</code> ile
|
||||
bildirilebilmekte ve böylece ilklendirmeden sonra özellik üzerinde
|
||||
değişiklik yapılması engellenebilmektedir.
|
||||
PHP 8.4.0'dan önce <literal>readonly</literal> özelliği örtük olarak
|
||||
private-set'tir ve yalnızca aynı sınıftan yazılabilir.
|
||||
PHP 8.4.0 ve sonrasında, <literal>readonly</literal> özellikleri örtük olarak
|
||||
<link linkend="language.oop5.visibility-members-aviz"><literal>protected(set)</literal></link>'tir,
|
||||
bu nedenle alt sınıflardan yazılabilir. İstenirse açıkça geçersiz
|
||||
kılınabilir.
|
||||
<example>
|
||||
<title>- Salt-okunur özellik örneği</title>
|
||||
<programlisting role="php">
|
||||
@@ -267,7 +273,7 @@ $test1->prop = "foobar";
|
||||
Salt-okunur özelliklerde öntanımlı değerin açıkça belirtilmesine izin
|
||||
verilmez. Çünkü, salt-okunur bir özelliği bir değerle bildirmek, özünde
|
||||
bir sabitten farksız olduğundan bu yararsızdır.
|
||||
<example>
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
@@ -279,7 +285,7 @@ class Test {
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</informalexample>
|
||||
</para>
|
||||
</note>
|
||||
<note>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 310963ad9ab1c2ca315361ff94314a21fa65f8b8 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 89ae180a851621c308f0ea4604ff2e919aa57a7f Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="function.curl-setopt" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>curl_setopt</refname>
|
||||
@@ -28,7 +28,8 @@
|
||||
<term><parameter>seçenek</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Atanacak <literal>CURLOPT_XXX</literal> seçeneği.
|
||||
Atanacak <constant>CURLOPT_<replaceable>*</replaceable></constant>
|
||||
seçeneği.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -368,16 +369,18 @@
|
||||
</row>
|
||||
<row>
|
||||
<entry valign="top"><constant>CURLOPT_NOPROGRESS</constant></entry>
|
||||
<entry valign="top"><para>
|
||||
cURL aktarımının gelişim göstergesini kapatmak için &true;
|
||||
olmalıdır.
|
||||
<entry valign="top">
|
||||
<simpara>
|
||||
cURL aktarımının gelişim göstergesini kapatmak için &true;
|
||||
olmalıdır.
|
||||
</simpara>
|
||||
<note>
|
||||
<para>
|
||||
PHP bu seçeneğe öntanımlı olarak &true; atar. Bu sadece hata
|
||||
ayıklama amacıyla değiştirlmelidir.
|
||||
</para>
|
||||
</note>
|
||||
</para></entry>
|
||||
</entry>
|
||||
<entry />
|
||||
</row>
|
||||
<row>
|
||||
@@ -1222,18 +1225,20 @@
|
||||
<row>
|
||||
<entry valign="top"><constant>CURLOPT_PROXY_SSLVERSION</constant></entry>
|
||||
<entry valign="top">
|
||||
<constant>CURL_SSLVERSION_DEFAULT</constant>,
|
||||
<constant>CURL_SSLVERSION_TLSv1</constant>,
|
||||
<constant>CURL_SSLVERSION_TLSv1_0</constant>,
|
||||
<constant>CURL_SSLVERSION_TLSv1_1</constant>,
|
||||
<constant>CURL_SSLVERSION_TLSv1_2</constant>,
|
||||
<constant>CURL_SSLVERSION_TLSv1_3</constant>,
|
||||
<constant>CURL_SSLVERSION_MAX_DEFAULT</constant>,
|
||||
<constant>CURL_SSLVERSION_MAX_TLSv1_0</constant>,
|
||||
<constant>CURL_SSLVERSION_MAX_TLSv1_1</constant>,
|
||||
<constant>CURL_SSLVERSION_MAX_TLSv1_2</constant>,
|
||||
<constant>CURL_SSLVERSION_MAX_TLSv1_3</constant> veya
|
||||
<constant>CURL_SSLVERSION_SSLv3</constant> sabitlerinden biri.
|
||||
<simpara>
|
||||
<constant>CURL_SSLVERSION_DEFAULT</constant>,
|
||||
<constant>CURL_SSLVERSION_TLSv1</constant>,
|
||||
<constant>CURL_SSLVERSION_TLSv1_0</constant>,
|
||||
<constant>CURL_SSLVERSION_TLSv1_1</constant>,
|
||||
<constant>CURL_SSLVERSION_TLSv1_2</constant>,
|
||||
<constant>CURL_SSLVERSION_TLSv1_3</constant>,
|
||||
<constant>CURL_SSLVERSION_MAX_DEFAULT</constant>,
|
||||
<constant>CURL_SSLVERSION_MAX_TLSv1_0</constant>,
|
||||
<constant>CURL_SSLVERSION_MAX_TLSv1_1</constant>,
|
||||
<constant>CURL_SSLVERSION_MAX_TLSv1_2</constant>,
|
||||
<constant>CURL_SSLVERSION_MAX_TLSv1_3</constant> veya
|
||||
<constant>CURL_SSLVERSION_SSLv3</constant> sabitlerinden biri.
|
||||
</simpara>
|
||||
<warning>
|
||||
<simpara>
|
||||
En iyi seçim, bunu ayarlamamak ve uzak SSL protokol sürümünü
|
||||
@@ -1592,8 +1597,10 @@
|
||||
<row>
|
||||
<entry valign="top"><constant>CURLOPT_COOKIEJAR</constant></entry>
|
||||
<entry valign="top">
|
||||
Tanıtıcı kapatıldığında (ör. curl_close çağrısından sonra) tüm
|
||||
dahili çerezlerin kaydedileceği dosyanın adı.
|
||||
<simpara>
|
||||
Tanıtıcı kapatıldığında (ör. curl_close çağrısından sonra) tüm
|
||||
dahili çerezlerin kaydedileceği dosyanın adı.
|
||||
</simpara>
|
||||
<warning>
|
||||
<simpara>
|
||||
PHP 8.0.0 itibariyle, <function>curl_close</function> işlevsel
|
||||
@@ -2065,8 +2072,10 @@
|
||||
<row>
|
||||
<entry valign="top"><constant>CURLOPT_PROXY_TLSAUTH_TYPE</constant></entry>
|
||||
<entry valign="top">
|
||||
HTTPS bağlantısı için kullanılan TLS kimlik doğrulama yöntemi.
|
||||
Desteklenen yöntem <literal>"SRP"</literal> dir.
|
||||
<simpara>
|
||||
HTTPS bağlantısı için kullanılan TLS kimlik doğrulama yöntemi.
|
||||
Desteklenen yöntem <literal>"SRP"</literal> dir.
|
||||
</simpara>
|
||||
<note>
|
||||
<para>
|
||||
TLS için Güvenli Uzak Parola (SRP) kimlik doğrulaması, her iki
|
||||
@@ -2282,16 +2291,18 @@
|
||||
</row>
|
||||
<row>
|
||||
<entry valign="top"><constant>CURLOPT_SSLKEYPASSWD</constant></entry>
|
||||
<entry valign="top"><para>
|
||||
<constant>CURLOPT_SSLKEY</constant> ile belirtilen gizli SSL
|
||||
anahtarını kullanmak için gereken gizli parola.
|
||||
<entry valign="top">
|
||||
<simpara>
|
||||
<constant>CURLOPT_SSLKEY</constant> ile belirtilen gizli SSL
|
||||
anahtarını kullanmak için gereken gizli parola.
|
||||
</simpara>
|
||||
<note>
|
||||
<para>
|
||||
Bu seçenekle belirtilen parolayı yetkisiz kişilerin okumaması
|
||||
için PHP betiğini güvenilir bir yerde tutmaya çalışın.
|
||||
</para>
|
||||
</note>
|
||||
</para></entry>
|
||||
</entry>
|
||||
<entry valign="top">
|
||||
</entry>
|
||||
</row>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 89562618e93396020a5120a8d8c466ae6457cc77 Maintainer: haluk Status: ready -->
|
||||
<section xml:id="intl.locale-constants" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Yerel Yaftaları</title>
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry xml:id="locale.constants.default-locale">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 7a3899eea90f3df8dcfe8fd350900162f3490bed Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 2a5223230bf6177c225003ca30c63f48ef266cc0 Maintainer: nilgun Status: ready -->
|
||||
<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.echo">
|
||||
<refnamediv>
|
||||
<refname>echo</refname>
|
||||
@@ -140,9 +140,8 @@ echo $some_var ? 'true': 'false';
|
||||
sözdiziminin bir parçası değil, bağımsız değişken olarak verilen ifadenin bir
|
||||
parçasıdır.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<programlisting role="php">
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
echo "hello";
|
||||
@@ -166,9 +165,8 @@ echo("hello", " world");
|
||||
// Bir çözümleme hatası oluşur, çünkü ("hello", " world") geçersiz bir ifadedir
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</note>
|
||||
<tip>
|
||||
<para>
|
||||
|
||||
@@ -221,7 +221,7 @@ echo "7) ".var_export(substr(1.2e3, 0, 4), true).PHP_EOL;
|
||||
Geçersiz bir karakter aralığı istenmişse, <function>substr</function>
|
||||
PHP 8.0.0 ve sonrasına boş dizge döndürüyor, evvelce &false; döndürürdü.
|
||||
</para>
|
||||
<example>
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
@@ -241,7 +241,7 @@ string(0) ""
|
||||
bool(false)
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</informalexample>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: d08d2e887fdc229f16748df96450c9b68c9a3076 Maintainer: nilgun Status: ready -->
|
||||
<!-- EN-Revision: 2a5223230bf6177c225003ca30c63f48ef266cc0 Maintainer: nilgun Status: ready -->
|
||||
<refentry xml:id="function.debug-zval-dump" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>debug_zval_dump</refname>
|
||||
@@ -112,9 +112,8 @@ string(11) "Hello World" refcount(3)
|
||||
<function>debug_zval_dump</function> işlevinin göstermesini de önler.
|
||||
Örneklerle açıklamak gerekirse, yukarıdaki örneğin biraz değiştirilmiş
|
||||
bir halini ele alalım:
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
@@ -134,7 +133,7 @@ debug_zval_dump($var1);
|
||||
string(11) "Hello World" refcount(2)
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</informalexample>
|
||||
</para>
|
||||
<para>
|
||||
<varname>$var1</varname>, <varname>$var2</varname> ve
|
||||
|
||||
@@ -142,7 +142,6 @@ echo $v;
|
||||
<para>
|
||||
<example>
|
||||
<title>- stdClass'ın dışa aktarılması (PHP 7.3.0'den beri)</title>
|
||||
<title>Exporting stdClass (since PHP 7.3.0)</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user