[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Benchmark for using a regexp vs. mb_check_encoding to check for UTF-8 encoding. 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: | 127 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file maintenance/benchmarks/Benchmarker.php |
BenchUtf8TitleCheck:: (6 methods):
__construct()
execute()
use_regexp()
use_regexp_non_capturing()
use_regexp_once_only()
use_mb_check_encoding()
Class: BenchUtf8TitleCheck - X-Ref
This little benchmark executes the regexp used in Language->checkTitleEncoding()__construct() X-Ref |
No description |
execute() X-Ref |
No description |
use_regexp( $s ) X-Ref |
No description |
use_regexp_non_capturing( $s ) X-Ref |
No description |
use_regexp_once_only( $s ) X-Ref |
No description |
use_mb_check_encoding( $s ) X-Ref |
No description |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |