From b053b36586c8b453057d141090a8c9547e8d7c50 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Wed, 6 Aug 2008 18:05:59 +0000 Subject: [PATCH] - Fixed WS and examples (< ?php) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@264322 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/intl/functions/grapheme-extract.xml | 38 +++++++------- reference/intl/functions/grapheme-stripos.xml | 34 ++++++------- reference/intl/functions/grapheme-stristr.xml | 30 +++++------ reference/intl/functions/grapheme-strlen.xml | 24 ++++----- reference/intl/functions/grapheme-strpos.xml | 34 ++++++------- .../intl/functions/grapheme-strripos.xml | 34 ++++++------- reference/intl/functions/grapheme-strrpos.xml | 32 ++++++------ reference/intl/functions/grapheme-strstr.xml | 30 +++++------ reference/intl/functions/grapheme-substr.xml | 50 +++++++++---------- 9 files changed, 153 insertions(+), 153 deletions(-) diff --git a/reference/intl/functions/grapheme-extract.xml b/reference/intl/functions/grapheme-extract.xml index d533129605..9a3fdd1073 100644 --- a/reference/intl/functions/grapheme-extract.xml +++ b/reference/intl/functions/grapheme-extract.xml @@ -1,5 +1,5 @@ - + grapheme_extract @@ -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,10 +63,10 @@ start - 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. + 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. @@ -74,8 +74,8 @@ next - Reference to a value that will be set to the next starting position. - When the call returns, this may point to the first byte position past the end of the string. + Reference to a value that will be set to the next starting position. + When the call returns, this may point to the first byte position past the end of the string. @@ -95,11 +95,11 @@ &reftitle.examples; - - <function>grapheme_extract</function> example - + + <function>grapheme_extract</function> example + ]]> - - - &example.outputs; - - + + &example.outputs; + + - + diff --git a/reference/intl/functions/grapheme-stripos.xml b/reference/intl/functions/grapheme-stripos.xml index 3998ce8573..4c8cfb80a9 100644 --- a/reference/intl/functions/grapheme-stripos.xml +++ b/reference/intl/functions/grapheme-stripos.xml @@ -1,5 +1,5 @@ - + grapheme_stripos @@ -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,10 +43,10 @@ offset - 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. + 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. @@ -64,11 +64,11 @@ &reftitle.examples; - - <function>grapheme_stripos</function> example - + + <function>grapheme_stripos</function> example + ]]> - - - &example.outputs; - - + + &example.outputs; + + - + diff --git a/reference/intl/functions/grapheme-stristr.xml b/reference/intl/functions/grapheme-stristr.xml index 3361ccb08e..b3e368e0a8 100644 --- a/reference/intl/functions/grapheme-stristr.xml +++ b/reference/intl/functions/grapheme-stristr.xml @@ -1,5 +1,5 @@ - + grapheme_stristr @@ -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,8 +43,8 @@ before_needle - If TRUE (the default is FALSE), grapheme_strstr() returns the part of the - haystack before the first occurence of the needle. + If TRUE (the default is FALSE), grapheme_strstr() returns the part of the + haystack before the first occurence of the needle. @@ -62,11 +62,11 @@ &reftitle.examples; - - <function>grapheme_stristr</function> example - + + <function>grapheme_stristr</function> example + ]]> - - - &example.outputs; - - + + &example.outputs; + + - + diff --git a/reference/intl/functions/grapheme-strlen.xml b/reference/intl/functions/grapheme-strlen.xml index 4475a1697b..8ff940b7e3 100644 --- a/reference/intl/functions/grapheme-strlen.xml +++ b/reference/intl/functions/grapheme-strlen.xml @@ -1,5 +1,5 @@ - + grapheme_strlen @@ -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. @@ -43,11 +43,11 @@ &reftitle.examples; - - <function>grapheme_strlen</function> example - + + <function>grapheme_strlen</function> example + ]]> - - - &example.outputs; - - + + &example.outputs; + + - + diff --git a/reference/intl/functions/grapheme-strpos.xml b/reference/intl/functions/grapheme-strpos.xml index eb18309386..e3bb0a9034 100644 --- a/reference/intl/functions/grapheme-strpos.xml +++ b/reference/intl/functions/grapheme-strpos.xml @@ -1,5 +1,5 @@ - + grapheme_strpos @@ -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,10 +43,10 @@ offset - 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. + 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. @@ -64,11 +64,11 @@ &reftitle.examples; - - <function>grapheme_strpos</function> example - + + <function>grapheme_strpos</function> example + ]]> - - - &example.outputs; - - + + &example.outputs; + + - + diff --git a/reference/intl/functions/grapheme-strripos.xml b/reference/intl/functions/grapheme-strripos.xml index 3947e0aa8d..3cd71a3cac 100644 --- a/reference/intl/functions/grapheme-strripos.xml +++ b/reference/intl/functions/grapheme-strripos.xml @@ -1,5 +1,5 @@ - + grapheme_strripos @@ -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,10 +43,10 @@ offset - 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. + 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. @@ -64,11 +64,11 @@ &reftitle.examples; - - <function>grapheme_strripos</function> example - + + <function>grapheme_strripos</function> example + ]]> - - - &example.outputs; - - + + &example.outputs; + + - + diff --git a/reference/intl/functions/grapheme-strrpos.xml b/reference/intl/functions/grapheme-strrpos.xml index e0677c5850..c921d9ff85 100644 --- a/reference/intl/functions/grapheme-strrpos.xml +++ b/reference/intl/functions/grapheme-strrpos.xml @@ -1,5 +1,5 @@ - + grapheme_strrpos @@ -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,10 +43,10 @@ offset - 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. + 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. @@ -64,9 +64,9 @@ &reftitle.examples; - - <function>grapheme_strrpos</function> example - + + <function>grapheme_strrpos</function> example + ]]> - - - &example.outputs; - - + + &example.outputs; + + - + diff --git a/reference/intl/functions/grapheme-strstr.xml b/reference/intl/functions/grapheme-strstr.xml index d5c43471f7..5c16eb5268 100644 --- a/reference/intl/functions/grapheme-strstr.xml +++ b/reference/intl/functions/grapheme-strstr.xml @@ -1,5 +1,5 @@ - + grapheme_strstr @@ -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,8 +43,8 @@ before_needle - If TRUE (the default is FALSE), grapheme_strstr() returns the part of the - haystack before the first occurence of the needle. + If TRUE (the default is FALSE), grapheme_strstr() returns the part of the + haystack before the first occurence of the needle. @@ -62,11 +62,11 @@ &reftitle.examples; - - <function>grapheme_strstr</function> example - + + <function>grapheme_strstr</function> example + ]]> - - - &example.outputs; - - + + &example.outputs; + + - + diff --git a/reference/intl/functions/grapheme-substr.xml b/reference/intl/functions/grapheme-substr.xml index 2093cfde95..c6a6368000 100644 --- a/reference/intl/functions/grapheme-substr.xml +++ b/reference/intl/functions/grapheme-substr.xml @@ -1,5 +1,5 @@ - + grapheme_substr @@ -27,7 +27,7 @@ string - The input string. Must be valid UTF-8. + The input string. Must be valid UTF-8. @@ -35,11 +35,11 @@ start - Start position in default grapheme units. - 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. + Start position in default grapheme units. + 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. @@ -47,14 +47,14 @@ length - Length in grapheme units. - 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 - that many grapheme units will be omitted from the end of string (after the - start position has been calculated when a start is negative). If $start - denotes a position beyond this truncation, an empty string will be returned. + Length in grapheme units. + 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 + that many grapheme units will be omitted from the end of string (after the + start position has been calculated when a start is negative). If $start + denotes a position beyond this truncation, an empty string will be returned. @@ -72,11 +72,11 @@ &reftitle.examples; - - <function>grapheme_substr</function> example - + + <function>grapheme_substr</function> example + ]]> - - - &example.outputs; - - + + &example.outputs; + + - +