From dc34eabd448c020ff78db36b2dd0a9f0c2161f85 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Wed, 6 Aug 2008 18:24:50 +0000 Subject: [PATCH] - More WS fixes git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@264323 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/intl/functions/grapheme-extract.xml | 18 +++++++++--------- reference/intl/functions/grapheme-stripos.xml | 12 ++++++------ reference/intl/functions/grapheme-stristr.xml | 16 ++++++++-------- reference/intl/functions/grapheme-strlen.xml | 8 ++++---- reference/intl/functions/grapheme-strpos.xml | 14 +++++++------- reference/intl/functions/grapheme-strripos.xml | 14 +++++++------- reference/intl/functions/grapheme-strrpos.xml | 12 ++++++------ reference/intl/functions/grapheme-strstr.xml | 16 ++++++++-------- reference/intl/functions/grapheme-substr.xml | 18 +++++++++--------- .../intl/functions/intl-get-error-code.xml | 4 ++-- 10 files changed, 66 insertions(+), 66 deletions(-) diff --git a/reference/intl/functions/grapheme-extract.xml b/reference/intl/functions/grapheme-extract.xml index 9a3fdd1073..a0238878aa 100644 --- a/reference/intl/functions/grapheme-extract.xml +++ b/reference/intl/functions/grapheme-extract.xml @@ -1,5 +1,5 @@ - + grapheme_extract @@ -10,11 +10,11 @@ Procedural style stringgrapheme_extract - stringhaystack - intsize - intextract_type - intstart - intnext + stringhaystack + intsize + intextract_type + intstart + intnext Function to extract a sequence of default grapheme clusters from a text buffer, which must be encoded in UTF-8. @@ -29,7 +29,7 @@ haystack - String to search. + String to search. @@ -37,7 +37,7 @@ size - Maximum number items - based on the $extract_type - to return. + Maximum number items - based on the $extract_type - to return. @@ -63,7 +63,7 @@ start - Starting position in $haystack in bytes - if given, it must be zero or a + Starting position in $haystack in bytes - if given, it must be zero or a positive value that is less than or equal to the length of $haystack in bytes. The default is zero. If $start does not point to the first byte of a UTF-8 character, the start position is moved to the next character boundary. diff --git a/reference/intl/functions/grapheme-stripos.xml b/reference/intl/functions/grapheme-stripos.xml index 4c8cfb80a9..d41d704e02 100644 --- a/reference/intl/functions/grapheme-stripos.xml +++ b/reference/intl/functions/grapheme-stripos.xml @@ -1,5 +1,5 @@ - + grapheme_stripos @@ -10,14 +10,14 @@ Procedural style intgrapheme_stripos - stringhaystack - stringneedle - intoffset + stringhaystack + stringneedle + intoffset Find position (in grapheme units) of first occurrence of a case-insensitive string - + &reftitle.parameters; @@ -43,7 +43,7 @@ offset - The optional $offset parameter allows you to specify where in haystack to + The optional $offset parameter allows you to specify where in haystack to start searching as an offset in grapheme units (not bytes or characters). If not given, the default is zero. The position returned is still relative to the beginning of haystack regardless of the value of $offset. diff --git a/reference/intl/functions/grapheme-stristr.xml b/reference/intl/functions/grapheme-stristr.xml index b3e368e0a8..cbfcd78fae 100644 --- a/reference/intl/functions/grapheme-stristr.xml +++ b/reference/intl/functions/grapheme-stristr.xml @@ -1,5 +1,5 @@ - + grapheme_stristr @@ -10,14 +10,14 @@ Procedural style stringgrapheme_stristr - stringhaystack - stringneedle - booleanbefore_needle + stringhaystack + stringneedle + booleanbefore_needle Returns part of haystack string from the first occurrence of case-insensitive needle to the end of haystack. - + &reftitle.parameters; @@ -27,7 +27,7 @@ haystack - The input string. Must be valid UTF-8. + The input string. Must be valid UTF-8. @@ -35,7 +35,7 @@ needle - The string to look for. Must be valid UTF-8. + The string to look for. Must be valid UTF-8. @@ -43,7 +43,7 @@ before_needle - If TRUE (the default is FALSE), grapheme_strstr() returns the part of the + If TRUE (the default is FALSE), grapheme_strstr() returns the part of the haystack before the first occurence of the needle. diff --git a/reference/intl/functions/grapheme-strlen.xml b/reference/intl/functions/grapheme-strlen.xml index 8ff940b7e3..babd03023d 100644 --- a/reference/intl/functions/grapheme-strlen.xml +++ b/reference/intl/functions/grapheme-strlen.xml @@ -1,5 +1,5 @@ - + grapheme_strlen @@ -10,12 +10,12 @@ Procedural style intgrapheme_strlen - stringinput + stringinput Get string length in grapheme units (not bytes or characters) - + &reftitle.parameters; @@ -25,7 +25,7 @@ input - The string being measured for length. It must be a valid UTF-8 string. + The string being measured for length. It must be a valid UTF-8 string. diff --git a/reference/intl/functions/grapheme-strpos.xml b/reference/intl/functions/grapheme-strpos.xml index e3bb0a9034..f3fae0e523 100644 --- a/reference/intl/functions/grapheme-strpos.xml +++ b/reference/intl/functions/grapheme-strpos.xml @@ -1,5 +1,5 @@ - + grapheme_strpos @@ -10,9 +10,9 @@ Procedural style intgrapheme_strpos - stringhaystack - stringneedle - intoffset + stringhaystack + stringneedle + intoffset Find position (in grapheme units) of first occurrence of a string @@ -27,7 +27,7 @@ haystack - The string to look in. Must be valid UTF-8. + The string to look in. Must be valid UTF-8. @@ -35,7 +35,7 @@ needle - The string to look for. Must be valid UTF-8. + The string to look for. Must be valid UTF-8. @@ -43,7 +43,7 @@ offset - The optional $offset parameter allows you to specify where in $haystack to + The optional $offset parameter allows you to specify where in $haystack to start searching as an offset in grapheme units (not bytes or characters). If not given, the default is zero. The position returned is still relative to the beginning of haystack regardless of the value of $offset. diff --git a/reference/intl/functions/grapheme-strripos.xml b/reference/intl/functions/grapheme-strripos.xml index 3cd71a3cac..30fdedb6ba 100644 --- a/reference/intl/functions/grapheme-strripos.xml +++ b/reference/intl/functions/grapheme-strripos.xml @@ -1,5 +1,5 @@ - + grapheme_strripos @@ -10,14 +10,14 @@ Procedural style intgrapheme_strripos - stringhaystack - stringneedle - intoffset + stringhaystack + stringneedle + intoffset Find position (in grapheme units) of last occurrence of a case-insensitive string - + &reftitle.parameters; @@ -27,7 +27,7 @@ haystack - The string to look in. Must be valid UTF-8. + The string to look in. Must be valid UTF-8. @@ -35,7 +35,7 @@ needle - The string to look for. Must be valid UTF-8. + The string to look for. Must be valid UTF-8. diff --git a/reference/intl/functions/grapheme-strrpos.xml b/reference/intl/functions/grapheme-strrpos.xml index c921d9ff85..706e69ae42 100644 --- a/reference/intl/functions/grapheme-strrpos.xml +++ b/reference/intl/functions/grapheme-strrpos.xml @@ -1,5 +1,5 @@ - + grapheme_strrpos @@ -10,9 +10,9 @@ Procedural style intgrapheme_strrpos - stringhaystack - stringneedle - intoffset + stringhaystack + stringneedle + intoffset Find position (in grapheme units) of last occurrence of a string @@ -27,7 +27,7 @@ haystack - The string to look in. Must be valid UTF-8. + The string to look in. Must be valid UTF-8. @@ -35,7 +35,7 @@ needle - The string to look for. Must be valid UTF-8. + The string to look for. Must be valid UTF-8. diff --git a/reference/intl/functions/grapheme-strstr.xml b/reference/intl/functions/grapheme-strstr.xml index 5c16eb5268..0b796ffdf9 100644 --- a/reference/intl/functions/grapheme-strstr.xml +++ b/reference/intl/functions/grapheme-strstr.xml @@ -1,5 +1,5 @@ - + grapheme_strstr @@ -10,14 +10,14 @@ Procedural style stringgrapheme_strstr - stringhaystack - stringneedle - booleanbefore_needle + stringhaystack + stringneedle + booleanbefore_needle Returns part of haystack string from the first occurrence of needle to the end of haystack. - + &reftitle.parameters; @@ -27,7 +27,7 @@ haystack - The input string. Must be valid UTF-8. + The input string. Must be valid UTF-8. @@ -35,7 +35,7 @@ needle - The string to look for. Must be valid UTF-8. + The string to look for. Must be valid UTF-8. @@ -43,7 +43,7 @@ before_needle - If TRUE (the default is FALSE), grapheme_strstr() returns the part of the + If TRUE (the default is FALSE), grapheme_strstr() returns the part of the haystack before the first occurence of the needle. diff --git a/reference/intl/functions/grapheme-substr.xml b/reference/intl/functions/grapheme-substr.xml index c6a6368000..3c1a15ad37 100644 --- a/reference/intl/functions/grapheme-substr.xml +++ b/reference/intl/functions/grapheme-substr.xml @@ -1,5 +1,5 @@ - + grapheme_substr @@ -10,14 +10,14 @@ Procedural style intgrapheme_substr - stringstring - intstart - intlength + stringstring + intstart + intlength Return part of a string - - + + &reftitle.parameters; @@ -27,7 +27,7 @@ string - The input string. Must be valid UTF-8. + The input string. Must be valid UTF-8. @@ -36,7 +36,7 @@ Start position in default grapheme units. - If $start is non-negative, the returned string will start at the + If $start is non-negative, the returned string will start at the $start'th position in $string, counting from zero. If $start is negative, the returned string will start at the $start'th grapheme unit from the end of string. @@ -48,7 +48,7 @@ Length in grapheme units. - If $length is given and is positive, the string returned will contain + If $length is given and is positive, the string returned will contain at most $length grapheme units beginning from $start (depending on the length of string). If $string is less than or equal to $start grapheme units long, FALSE will be returned. If $length is given and is negative, then diff --git a/reference/intl/functions/intl-get-error-code.xml b/reference/intl/functions/intl-get-error-code.xml index 1e72c8717b..426d19c51e 100755 --- a/reference/intl/functions/intl-get-error-code.xml +++ b/reference/intl/functions/intl-get-error-code.xml @@ -1,5 +1,5 @@ - + intl_get_error_code @@ -32,7 +32,7 @@ <function>intl_get_error_code</function> example - ' ); if( !$coll ) {