rfc:intl.char

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
Last revisionBoth sides next revision
rfc:intl.char [2014/12/16 07:17] – Update with implementation and notes about changes made along the way pollitarfc:intl.char [2015/01/16 17:17] pollita
Line 3: Line 3:
   * Date: 2014-11-24   * Date: 2014-11-24
   * Author: Sara Golemon, pollita@php.net   * Author: Sara Golemon, pollita@php.net
-  * Status: Under Discussion+  * Status: Accepted
   * First Published at: http://wiki.php.net/rfc/intl.char   * First Published at: http://wiki.php.net/rfc/intl.char
  
Line 13: Line 13:
  
 Expose additional ICU functionality from [[http://icu-project.org/apiref/icu4c/uchar_8h.html|uchar.h]] as  IntlChar::*() following the ICU API as much as possible. Expose additional ICU functionality from [[http://icu-project.org/apiref/icu4c/uchar_8h.html|uchar.h]] as  IntlChar::*() following the ICU API as much as possible.
 +
 +See hphp/runtime/ext/icu/ext_icu_uchar.php in [[https://reviews.facebook.net/D30573]] for a full breakdown of the functions (complete with docblocks).   Constants can be found in either PR's *-enum.h files.
  
 ===== Proposed PHP Version(s) ===== ===== Proposed PHP Version(s) =====
Line 46: Line 48:
 Some methods take a range in the form ($start, $limit) which the range is INclusive of $start, and EXclusive of $limit.  i.e. (0x20, 0x30) => 0x20..0x2F.  I kept this meaning for $limit to stay consistent with the ICU API, but changing $limit to have the semantics of $end would probably make more sense in PHP. Some methods take a range in the form ($start, $limit) which the range is INclusive of $start, and EXclusive of $limit.  i.e. (0x20, 0x30) => 0x20..0x2F.  I kept this meaning for $limit to stay consistent with the ICU API, but changing $limit to have the semantics of $end would probably make more sense in PHP.
  
-===== Proposed Voting Choices =====+===== Vote ===== 
 + 
 +<doodle title="Accept the IntlChar RFC and merge into master?" auth="pollita" voteType="single" closed="true"> 
 +   * Yes 
 +   * No 
 +</doodle>
  
-50% + 1"Merge IntlChar implementation as is?"+  * Voting opened2014-12-26 02:20 UTC 
 +  * Voting closed: 2015-01-16 17:20 UTC (3 week voting period)
  
 ===== Implementation ===== ===== Implementation =====
  
-[[https://github.com/sgolemon/php-src/compare/intl.uchar|github/sgolemon/php-src/intl.uchar]]+  * PHP7: [[https://github.com/sgolemon/php-src/compare/intl.uchar|github/sgolemon/php-src/intl.uchar]] 
 +  * HHVM [[https://reviews.facebook.net/D30573]]
rfc/intl.char.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1