cvs: phpdoc-es /reference/strings/functions strcasecmp.xml

From: Date: Wed, 29 Jun 2005 21:17:54 +0000
Subject: cvs: phpdoc-es /reference/strings/functions strcasecmp.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-945@lists.php.net to get a copy of this message
javi Wed Jun 29 17:17:54 2005 EDT Modified files: /phpdoc-es/reference/strings/functions strcasecmp.xml Log: - Pequeñas correcciones http://cvs.php.net/diff.php/phpdoc-es/reference/strings/functions/strcasecmp.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-es/reference/strings/functions/strcasecmp.xml diff -u phpdoc-es/reference/strings/functions/strcasecmp.xml:1.2 phpdoc-es/reference/strings/functions/strcasecmp.xml:1.3 --- phpdoc-es/reference/strings/functions/strcasecmp.xml:1.2 Sat Aug 17 09:04:36 2002 +++ phpdoc-es/reference/strings/functions/strcasecmp.xml Wed Jun 29 17:17:54 2005 @@ -1,11 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./es/functions/strings.xml, last change in rev 1.7 --> -<!-- last change to 'strcasecmp' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.5 Maintainer: javi Status: ready --> +<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 --> <refentry id="function.strcasecmp"> <refnamediv> <refname>strcasecmp</refname> <refpurpose> - Comparaci&oacute;n de cadenas insensible a may&uacute;sculas y min&uacute;sculas + Comparaci&oacute;n de cadenas insensible a may&uacute;sculas y min&uacute;sculas y segura en modo binario </refpurpose> </refnamediv> @@ -13,28 +14,32 @@ <title>Descripci&oacute;n</title> <methodsynopsis> <type>int</type><methodname>strcasecmp</methodname> - <methodparam><type>string</type><parameter>cad1</parameter></methodparam> - <methodparam><type>string</type><parameter>cad2</parameter></methodparam> + <methodparam><type>string</type><parameter>cadena1</parameter></methodparam> + <methodparam><type>string</type><parameter>cadena2</parameter></methodparam> </methodsynopsis> <para> - Devuelve &lt; 0 si <parameter>cad1</parameter> es menor que - <parameter>cad2</parameter>; &gt; 0 si <parameter>cad1</parameter> - es mayor que <parameter>cad2</parameter>, y 0 si son iguales. + Devuelve &lt; 0 si <parameter>cadena1</parameter> es menor que + <parameter>cadena2</parameter>; &gt; 0 si <parameter>cadena1</parameter> + es mayor que <parameter>cadena2</parameter> y 0 si son iguales. <example> <title>Ejemplo de <function>strcasecmp</function></title> <programlisting role="php"> -$var1 = "Hello"; -$var2 = "hello"; -if (!strcasecmp ($var1, $var2)) { +<![CDATA[ +<?php +$var1 = "Hola"; +$var2 = "hola"; +if (strcasecmp($var1, $var2) == 0) { echo '$var1 es igual a $var2 en una comparaci&oacute;n sin tener en cuenta ' .'may&uacute;sculas o min&uacute;sculas'; } +?> +]]> </programlisting> </example> </para> <simpara> Vea tambi&eacute;n <function>ereg</function>, <function>strcmp</function>, - <function>substr</function>, <function>stristr</function>, y + <function>substr</function>, <function>stristr</function>, <function>strncasecmp</function> y <function>strstr</function>. </simpara> </refsect1>

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