rfc:ustring

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:ustring [2014/10/21 07:01] krakjoerfc:ustring [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 10: Line 10:
 UString aims to tackle the issues of working with Unicode strings in PHP, via a core, default-enabled extension. UString aims to tackle the issues of working with Unicode strings in PHP, via a core, default-enabled extension.
  
-It does this via adding a new class called UString. This class will contain various methods to allow working with charsets such as UTF-8 (default), UTF-16 and several others. UString will provide a userland API, and a backend API for using various different backends. The current implementation supports ICU, but other backends have been suggested, including a native Windows backend.+It does this via adding a new class called UString. This class will contain various methods to allow working with charsets such as UTF-8 (default), UTF-16 and several others.  
 + 
 +UString provides an extension API, so that other extensions may easily work with and return UString instances.
  
 Having UString sit on top of the ICU library will cover most cases, and it is powerful and has been battle tested for years. Having UString sit on top of the ICU library will cover most cases, and it is powerful and has been battle tested for years.
Line 39: Line 41:
  
 Frameworks and components will be able to use UString as a base for their own string classes, which many of them already do. Frameworks and components will be able to use UString as a base for their own string classes, which many of them already do.
-Not a full String API Replacement+ 
 +===== Not a full String API Replacement =====
  
 Many people want to see the string library replaced with a whole new API. Many people don't. This does not try to replace all string usage in PHP, it only aims to replace the main uses of mbstring with a more performant alternative. Many people want to see the string library replaced with a whole new API. Many people don't. This does not try to replace all string usage in PHP, it only aims to replace the main uses of mbstring with a more performant alternative.
Line 63: Line 66:
  
 ===== References ===== ===== References =====
-Links to external references, discussions or RFCs+http://news.php.net/php.internals/78174
rfc/ustring.1413874882.txt.gz · Last modified: 2017/09/22 13:28 (external edit)