[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Other tests for the unicode normalization module. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
File Size: | 275 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file includes/normal/UtfNormal.php |
normalize_form_c( $c ) X-Ref |
The following section will be used for testing different normalization methods. - Pure PHP ~ no assertion errors ~ 6.25 minutes - php_utfnormal.so or intl extension: both are wrappers around libicu so we list the version of libicu when making the comparison - libicu Ubuntu 3.8.1-3ubuntu1.1 php 5.2.6-3ubuntu4.5 ~ 2200 assertion errors ~ 5 seconds ~ output: http://paste2.org/p/921566 - libicu Ubuntu 4.2.1-3 php 5.3.2-1ubuntu4.2 ~ 1384 assertion errors ~ 15 seconds ~ output: http://paste2.org/p/921435 - libicu Debian 4.4.1-5 php 5.3.2-1ubuntu4.2 ~ no assertion errors ~ 13 seconds - Tests comparing pure PHP output with libicu output were added later and slow down the runtime. |
normalize_form_d( $c ) X-Ref |
No description |
normalize_form_kc( $c ) X-Ref |
No description |
normalize_form_kd( $c ) X-Ref |
No description |
normalize_form_c_php( $c ) X-Ref |
This set of functions is only useful if youve added a param to the following functions to force pure PHP usage. I decided not to commit that code since might produce a slowdown in the UTF normalization code just for the sake of these tests. -- hexmode return: string |
normalize_form_d_php( $c ) X-Ref |
No description |
normalize_form_kc_php( $c ) X-Ref |
No description |
normalize_form_kd_php( $c ) X-Ref |
No description |
my_assert( $file, $line, $code ) X-Ref |
No description |
unichr( $c ) X-Ref |
No description |
unistr( $c ) X-Ref |
No description |
getRow( $f ) X-Ref |
No description |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |