1
0
mirror of https://github.com/php/doc-tr.git synced 2026-03-24 15:22:23 +01:00
Files
2022-11-17 16:44:37 +03:00

162 lines
4.2 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 5dfba3d91fb059073e955aad7caf886faac652ce Maintainer: nilgun Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.implode">
<refnamediv>
<refname>implode</refname>
<refpurpose>Dizi elemanlarını birleştirip bir dizge elde eder</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>implode</methodname>
<methodparam><type>string</type><parameter>ayraç</parameter></methodparam>
<methodparam><type>array</type><parameter>dizi</parameter></methodparam>
</methodsynopsis>
<simpara>İsimli bağımsız değişkenlerin desteklenmediği diğer sözdizimi:</simpara>
<methodsynopsis>
<type>string</type><methodname>implode</methodname>
<methodparam><type>array</type><parameter>dizi</parameter></methodparam>
</methodsynopsis>
<simpara>Eski sözdizimi (PHP 7.4.0 ve sonrasında kullanımı önerilmiyor,
PHP 8.0.0'da kaldırıldı):</simpara>
<methodsynopsis>
<type>string</type><methodname>implode</methodname>
<methodparam><type>array</type><parameter>dizi</parameter></methodparam>
<methodparam><type>string</type><parameter>ayraç</parameter></methodparam>
</methodsynopsis>
<para>
Dizi elemanlarını bir <parameter>ayraç</parameter> ile birleştirir.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>ayraç</parameter></term>
<listitem>
<para>
Seçimlik. Öntanımlı olarak boş bir dizgedir.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>dizi</parameter></term>
<listitem>
<para>
Dizge haline getirilecek dizi.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Her eleman arasına <parameter>ayraç</parameter> yerleştirilmiş olarak dizi
elemanlarını aynı sırada içeren bir dizge döner.
</para>
</refsect1>
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.0.0</entry>
<entry>
<parameter>ayraç</parameter> bağımsız değişkeninin
<parameter>dizi</parameter> bağımsız değişkeninden sonra aktarılması artık
desteklenmiyor.
</entry>
</row>
<row>
<entry>7.4.0</entry>
<entry>
<parameter>ayraç</parameter> bağımsız değişkeninin
<parameter>dizi</parameter> bağımsız değişkeninden sonra aktarılması artık
önerilmiyor.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>- <function>implode</function> örneği</title>
<programlisting role="php">
<![CDATA[
<?php
$dizi = ['soyadı', 'eposta', 'telefon'];
var_dump(implode(",", $dizi)); // string(21) "soyadı,eposta,telefon"
// Boş diziye boş dizge:
var_dump(implode('hello', [])); // string(0) ""
// Ayraç isteğe bağlıdır:
var_dump(implode(['a', 'b', 'c'])); // string(3) "abc"
?>
]]>
</programlisting>
</example>
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
&note.bin-safe;
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>explode</function></member>
<member><function>preg_split</function></member>
<member><function>http_build_query</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- 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
-->