1
0
mirror of https://github.com/php/doc-tr.git synced 2026-03-24 15:22:23 +01:00
Files
archived-doc-tr/reference/strings/functions/chunk-split.xml
2021-06-24 19:08:37 +03:00

116 lines
3.1 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: d335ba69a16f4013280de8e3e71d9ba19fe3cb3c Maintainer: nilgun Status: ready -->
<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.chunk-split">
<refnamediv>
<refname>chunk_split</refname>
<refpurpose>Bir dizgeyi daha küçük parçalara ayırır</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>chunk_split</methodname>
<methodparam><type>string</type><parameter>dizge</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>uzunluk</parameter><initializer>76</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>son</parameter><initializer>"\r\n"</initializer></methodparam>
</methodsynopsis>
<para>
Belirtilen <parameter>dizge</parameter> dizgesini. örneğin, RFC 2045'e
uygun olarak <function>base64_encode</function> ile çıktılamakta kullanmak
üzere daha küçük parçalara bölmek için kullanılır. Her
<parameter>uzunluk</parameter> karakterin sonuna
<parameter>son</parameter> dizgesi yerleştirilir.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>dizge</parameter></term>
<listitem>
<para>
Parçalara ayrılacak dizge.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>uzunluk</parameter></term>
<listitem>
<para>
Parça uzunluğu.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>son</parameter></term>
<listitem>
<para>
Her parçanın sonuna yerleştirilecek dizge.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Parçalanan dizge döner.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>- <function>chunk_split</function> örneği</title>
<programlisting role="php">
<![CDATA[
<?php
// $veri'yi RFC 2045'e uygun olarak biçemleyelim
$yeni_dizge = chunk_split(base64_encode($veri));
?>
]]>
</programlisting>
</example>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>str_split</function></member>
<member><function>explode</function></member>
<member><function>wordwrap</function></member>
<member><link xlink:href="&url.rfc;2045">RFC 2045</link></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
-->