Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

StringUtils: cs

  • Loading branch information...
commit bdeddcaf2568534eda44c5aa56fca7636cb9ed04 1 parent 1d800eb
@marc-mabe authored
View
7 library/Zend/Stdlib/StringUtils.php
@@ -30,14 +30,14 @@
/**
* Ordered list of registered string wrapper instances
- *
+ *
* @var StringWrapperInterface[]
*/
protected static $wrapperRegistry;
/**
* A list of known single-byte encodings (upper-case)
- *
+ *
* @var string[]
*/
protected static $singleByteEncodings = array(
@@ -45,9 +45,8 @@
'ISO-8859-1', 'ISO-8859-2', 'ISO-8859-3', 'ISO-8859-4', 'ISO-8859-5',
'ISO-8859-6', 'ISO-8859-7', 'ISO-8859-8', 'ISO-8859-9', 'ISO-8859-10',
'ISO-8859-11', 'ISO-8859-13', 'ISO-8859-14', 'ISO-8859-15', 'ISO-8859-16',
- 'CP-1251', 'CP-1252'
+ 'CP-1251', 'CP-1252',
// TODO
-
);
/**
View
4 library/Zend/Stdlib/StringWrapper/Iconv.php
@@ -112,7 +112,7 @@ class Iconv extends AbstractStringWrapper
'TDS565',
// Platform specifics
- 'ATARIST', 'RISCOS-LATIN1',
+ 'ATARIST', 'RISCOS-LATIN1',
);
/**
@@ -143,7 +143,7 @@ public function strlen($str, $encoding = 'UTF-8')
/**
* Returns the portion of string specified by the start and length parameters
- *
+ *
* @param string $str
* @param int $offset
* @param int|null $length
View
2  library/Zend/Stdlib/StringWrapper/Intl.php
@@ -57,7 +57,7 @@ public function strlen($str, $encoding = 'UTF-8')
/**
* Returns the portion of string specified by the start and length parameters
- *
+ *
* @param string $str
* @param int $offset
* @param int|null $length
View
24 library/Zend/Stdlib/StringWrapper/MbString.php
@@ -48,15 +48,15 @@ class MbString extends AbstractStringWrapper
'ISO-2022-JP-MS',
'CP932',
'CP51932',
- 'SJIS-MAC', 'MACJAPANESE', // **
- 'SJIS-Mobile#DOCOMO', 'SJIS-DOCOMO', // **
- 'SJIS-Mobile#KDDI', 'SJIS-KDDI', // **
- 'SJIS-Mobile#SOFTBANK', 'SJIS-SOFTBANK', // **
- 'UTF-8-Mobile#DOCOMO', 'UTF-8-DOCOMO', // **
- 'UTF-8-Mobile#KDDI-A', // **
- 'UTF-8-Mobile#KDDI-B', 'UTF-8-KDDI', // **
- 'UTF-8-Mobile#SOFTBANK', 'UTF-8-SOFTBANK', // **
- 'ISO-2022-JP-MOBILE#KDDI', 'ISO-2022-JP-KDDI', // **
+ 'SJIS-MAC', 'MACJAPANESE',
+ 'SJIS-Mobile#DOCOMO', 'SJIS-DOCOMO',
+ 'SJIS-Mobile#KDDI', 'SJIS-KDDI',
+ 'SJIS-Mobile#SOFTBANK', 'SJIS-SOFTBANK',
+ 'UTF-8-Mobile#DOCOMO', 'UTF-8-DOCOMO',
+ 'UTF-8-Mobile#KDDI-A',
+ 'UTF-8-Mobile#KDDI-B', 'UTF-8-KDDI',
+ 'UTF-8-Mobile#SOFTBANK', 'UTF-8-SOFTBANK',
+ 'ISO-2022-JP-MOBILE#KDDI', 'ISO-2022-JP-KDDI',
'JIS',
'JIS-MS',
'CP50220',
@@ -87,7 +87,7 @@ class MbString extends AbstractStringWrapper
'8BIT',
'EUC-CN',
'CP936',
- 'GB18030', // **
+ 'GB18030',
'HZ',
'EUC-TW',
'CP950',
@@ -98,7 +98,7 @@ class MbString extends AbstractStringWrapper
'WINDOWS-1251', 'CP1251',
'WINDOWS-1252', 'CP1252',
'CP866', 'IBM866',
- 'KOI8-R'
+ 'KOI8-R',
);
/**
@@ -153,7 +153,7 @@ public function strlen($str, $encoding = 'UTF-8')
/**
* Returns the portion of string specified by the start and length parameters
- *
+ *
* @param string $str
* @param int $offset
* @param int|null $length
View
2  library/Zend/Stdlib/StringWrapper/Native.php
@@ -42,7 +42,7 @@ public function strlen($str, $encoding = 'UTF-8')
/**
* Returns the portion of string specified by the start and length parameters
- *
+ *
* @param string $str
* @param int $offset
* @param int|null $length
View
2  library/Zend/Stdlib/StringWrapper/StringWrapperInterface.php
@@ -44,7 +44,7 @@ public function strlen($str, $encoding = 'UTF-8');
/**
* Returns the portion of string specified by the start and length parameters
- *
+ *
* @param string $str
* @param int $offset
* @param int|null $length
Please sign in to comment.
Something went wrong with that request. Please try again.