mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
wrapped the see also
added <constant> fixed a param name cs & ws git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@159340 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
2b48dd5cdb
commit
5c7c03f22b
13 changed files with 74 additions and 48 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.get-html-translation-table">
|
||||
<refnamediv>
|
||||
|
@ -69,8 +69,9 @@ $original = strtr($encoded, $trans);
|
|||
</para>
|
||||
<para>
|
||||
See also <function>htmlspecialchars</function>,
|
||||
<function>htmlentities</function>, <function>strtr</function>,
|
||||
and <function>array_flip</function>.
|
||||
<function>htmlentities</function>,
|
||||
<function>strtr</function>, and
|
||||
<function>array_flip</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.md5-file">
|
||||
<refnamediv>
|
||||
|
@ -33,8 +33,9 @@
|
|||
md5sum.
|
||||
</para>
|
||||
<para>
|
||||
See also <function>md5</function>, <function>crc32</function>,
|
||||
and <function>sha1_file</function>.
|
||||
See also <function>md5</function>,
|
||||
<function>crc32</function>, and
|
||||
<function>sha1_file</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.printf">
|
||||
<refnamediv>
|
||||
|
@ -18,9 +18,13 @@
|
|||
is described in the documentation for <function>sprintf</function>.
|
||||
</simpara>
|
||||
<simpara>
|
||||
See also <function>print</function>, <function>sprintf</function>,
|
||||
<function>vprintf</function>, <function>sscanf</function>,
|
||||
<function>fscanf</function> and <function>flush</function>.
|
||||
See also
|
||||
<function>print</function>,
|
||||
<function>sprintf</function>,
|
||||
<function>vprintf</function>,
|
||||
<function>sscanf</function>,
|
||||
<function>fscanf</function>, and
|
||||
<function>flush</function>.
|
||||
</simpara>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry id="function.sha1">
|
||||
<refnamediv>
|
||||
<refname>sha1</refname>
|
||||
|
@ -44,8 +44,9 @@ if (sha1($str) === 'd0be2dc421be4fcd0172e5afceea3970e2f3d940') {
|
|||
</example>
|
||||
</para>
|
||||
<simpara>
|
||||
See also <function>sha1_file</function>, <function>crc32</function>,
|
||||
and <function>md5</function>
|
||||
See also <function>sha1_file</function>,
|
||||
<function>crc32</function>, and
|
||||
<function>md5</function>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.soundex">
|
||||
<refnamediv>
|
||||
|
@ -33,11 +33,11 @@
|
|||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
soundex("Euler") == soundex("Ellery"); // E460
|
||||
soundex("Gauss") == soundex("Ghosh"); // G200
|
||||
soundex("Hilbert") == soundex("Heilbronn"); // H416
|
||||
soundex("Knuth") == soundex("Kant"); // K530
|
||||
soundex("Lloyd") == soundex("Ladd"); // L300
|
||||
soundex("Euler") == soundex("Ellery"); // E460
|
||||
soundex("Gauss") == soundex("Ghosh"); // G200
|
||||
soundex("Hilbert") == soundex("Heilbronn"); // H416
|
||||
soundex("Knuth") == soundex("Kant"); // K530
|
||||
soundex("Lloyd") == soundex("Ladd"); // L300
|
||||
soundex("Lukasiewicz") == soundex("Lissajous"); // L222
|
||||
?>
|
||||
]]>
|
||||
|
@ -45,8 +45,10 @@ soundex("Lukasiewicz") == soundex("Lissajous"); // L222
|
|||
</example>
|
||||
</para>
|
||||
<para>
|
||||
See also <function>levenshtein</function>,
|
||||
<function>metaphone</function>, and <function>similar_text</function>.
|
||||
See also
|
||||
<function>levenshtein</function>,
|
||||
<function>metaphone</function>, and
|
||||
<function>similar_text</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.26 -->
|
||||
<refentry id="function.str-pad">
|
||||
<refnamediv>
|
||||
|
@ -28,9 +28,10 @@
|
|||
</para>
|
||||
<para>
|
||||
Optional argument <parameter>pad_type</parameter> can be
|
||||
STR_PAD_RIGHT, STR_PAD_LEFT, or STR_PAD_BOTH. If
|
||||
<constant>STR_PAD_RIGHT</constant>, <constant>STR_PAD_LEFT</constant>,
|
||||
or <constant>STR_PAD_BOTH</constant>. If
|
||||
<parameter>pad_type</parameter> is not specified it is assumed to
|
||||
be STR_PAD_RIGHT.
|
||||
be <constant>STR_PAD_RIGHT</constant>.
|
||||
</para>
|
||||
<para>
|
||||
If the value of <parameter>pad_length</parameter> is negative or
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.strcasecmp">
|
||||
<refnamediv>
|
||||
|
@ -36,8 +36,11 @@ if (strcasecmp($var1, $var2) == 0) {
|
|||
</example>
|
||||
</para>
|
||||
<simpara>
|
||||
See also <function>ereg</function>, <function>strcmp</function>,
|
||||
<function>substr</function>, <function>stristr</function>,
|
||||
See also
|
||||
<function>ereg</function>,
|
||||
<function>strcmp</function>,
|
||||
<function>substr</function>,
|
||||
<function>stristr</function>,
|
||||
<function>strncasecmp</function>, and
|
||||
<function>strstr</function>.
|
||||
</simpara>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.strcmp">
|
||||
<refnamediv>
|
||||
|
@ -24,9 +24,12 @@
|
|||
</simpara>
|
||||
<simpara>
|
||||
See also <function>ereg</function>,
|
||||
<function>strcasecmp</function>, <function>substr</function>,
|
||||
<function>stristr</function>, <function>strncasecmp</function>,
|
||||
<function>strncmp</function>, and <function>strstr</function>.
|
||||
<function>strcasecmp</function>,
|
||||
<function>substr</function>,
|
||||
<function>stristr</function>,
|
||||
<function>strncasecmp</function>,
|
||||
<function>strncmp</function>, and
|
||||
<function>strstr</function>.
|
||||
</simpara>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.8 -->
|
||||
<refentry id="function.stristr">
|
||||
<refnamediv>
|
||||
|
@ -44,8 +44,10 @@
|
|||
</example>
|
||||
</para>
|
||||
<para>
|
||||
See also <function>strchr</function>,
|
||||
<function>strrchr</function>, <function>substr</function>, and
|
||||
See also
|
||||
<function>strchr</function>,
|
||||
<function>strrchr</function>,
|
||||
<function>substr</function>, and
|
||||
<function>ereg</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.strlen">
|
||||
<refnamediv>
|
||||
|
@ -10,10 +10,10 @@
|
|||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>strlen</methodname>
|
||||
<methodparam><type>string</type><parameter>str</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>string</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns the length of <parameter>string</parameter>.
|
||||
Returns the length of the given <parameter>string</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.38 -->
|
||||
<refentry id="function.strnatcasecmp">
|
||||
<refnamediv>
|
||||
|
@ -34,10 +34,14 @@
|
|||
</simpara>
|
||||
<simpara>
|
||||
See also <function>ereg</function>,
|
||||
<function>strcasecmp</function>, <function>substr</function>,
|
||||
<function>stristr</function>, <function>strcmp</function>,
|
||||
<function>strncmp</function>, <function>strncasecmp</function>,
|
||||
<function>strnatcmp</function>, and <function>strstr</function>.
|
||||
<function>strcasecmp</function>,
|
||||
<function>substr</function>,
|
||||
<function>stristr</function>,
|
||||
<function>strcmp</function>,
|
||||
<function>strncmp</function>,
|
||||
<function>strncasecmp</function>,
|
||||
<function>strnatcmp</function>, and
|
||||
<function>strstr</function>.
|
||||
</simpara>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.66 -->
|
||||
<refentry id="function.strncasecmp">
|
||||
<refnamediv>
|
||||
|
@ -29,9 +29,12 @@
|
|||
equal.
|
||||
</simpara>
|
||||
<simpara>
|
||||
See also <function>ereg</function>, <function>strcasecmp</function>,
|
||||
<function>strcmp</function>, <function>substr</function>,
|
||||
<function>stristr</function>, and <function>strstr</function>.
|
||||
See also <function>ereg</function>,
|
||||
<function>strcasecmp</function>,
|
||||
<function>strcmp</function>,
|
||||
<function>substr</function>,
|
||||
<function>stristr</function>, and
|
||||
<function>strstr</function>.
|
||||
</simpara>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.38 -->
|
||||
<refentry id="function.strncmp">
|
||||
<refnamediv>
|
||||
|
@ -20,7 +20,8 @@
|
|||
This function is similar to <function>strcmp</function>, with the
|
||||
difference that you can specify the (upper limit of the) number
|
||||
of characters (<parameter>len</parameter>) from each string to be
|
||||
used in the comparison.</para>
|
||||
used in the comparison.
|
||||
</para>
|
||||
<simpara>
|
||||
Returns < 0 if <parameter>str1</parameter> is less than
|
||||
<parameter>str2</parameter>; > 0 if <parameter>str1</parameter>
|
||||
|
|
Loading…
Reference in a new issue