cvs: phpdoc-es /reference/strings/functions str-repeat.xml

From: Date: Thu, 30 Jun 2005 10:06:47 +0000
Subject: cvs: phpdoc-es /reference/strings/functions str-repeat.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-960@lists.php.net to get a copy of this message
javi Thu Jun 30 06:06:47 2005 EDT Modified files: /phpdoc-es/reference/strings/functions str-repeat.xml Log: - Añadido EN-Revision - Pequeñas correcciones http://cvs.php.net/diff.php/phpdoc-es/reference/strings/functions/str-repeat.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-es/reference/strings/functions/str-repeat.xml diff -u phpdoc-es/reference/strings/functions/str-repeat.xml:1.2 phpdoc-es/reference/strings/functions/str-repeat.xml:1.3 --- phpdoc-es/reference/strings/functions/str-repeat.xml:1.2 Sat Aug 17 09:04:36 2002 +++ phpdoc-es/reference/strings/functions/str-repeat.xml Thu Jun 30 06:06:46 2005 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./es/functions/strings.xml, last change in rev 1.7 --> -<!-- last change to 'str-repeat' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.7 Maintainer: javi Status: ready --> +<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.str-repeat"> <refnamediv> <refname>str_repeat</refname> @@ -10,28 +11,36 @@ <title>Descripci&oacute;n</title> <methodsynopsis> <type>string</type><methodname>str_repeat</methodname> - <methodparam><type>string</type><parameter>cad_entrada</parameter></methodparam> + <methodparam><type>string</type><parameter>cadena</parameter></methodparam> <methodparam><type>int</type><parameter>veces</parameter></methodparam> </methodsynopsis> <para> - Devuelve la <parameter>cad_entrada</parameter> repetida - <parameter>veces</parameter>. - <parameter>veces</parameter> debe ser mayor que 0. + Devuelve la <parameter>cadena</parameter> repetida el n&uacute;mero + de veces indicado por el par&aacute;metro <parameter>veces</parameter>. + <parameter>veces</parameter> debe ser mayor o igual que 0. Si su valor + es 0, la funci&oacute;n devuelve una cadena vac&iacute;a. </para> <example> <title>Ejemplo de <function>str_repeat</function></title> <programlisting role="php"> -echo str_repeat ("-=", 10); +<![CDATA[ +<?php +echo str_repeat("-=", 10); +?> +]]> </programlisting> + &example.outputs; + <screen> +<![CDATA[ +-=-=-=-=-=-=-=-=-=-= +]]> + </screen> </example> <para> - Esto mostrar&aacute; "-=-=-=-=-=-=-=-=-=-=". + Vea tambi&eacute;n <link linkend="control-structures.for">for</link>, + <function>str_pad</function> y + <function>substr_count</function>. </para> - <note> - <para> - Esta funci&oacute;n fue a&ntilde;adida en el PHP 4.0. - </para> - </note> </refsect1> </refentry>

« previous php.doc.es (#960) next »