projects
/
scuttle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tagged 0.7.5
[scuttle]
/
includes
/
utf8
/
tests
/
bench
/
strrpos.php
diff --git a/includes/utf8/tests/bench/strrpos.php
b/includes/utf8/tests/bench/strrpos.php
new file mode 100644
(file)
index 0000000..
5da54f6
--- /dev/null
+++ b/
includes/utf8/tests/bench/strrpos.php
@@ -0,0
+1,7
@@
+<?php
+require_once dirname(__FILE__).'/../benchconfig.php';
+$page = file_get_contents(UTF8DATA . '/utf8.html' );
+foreach ( range('A', 'Z') as $char ) {
+ print utf8_strrpos($page, $char)."\n";
+}
+?>
Benjamin Mako Hill
||
Want to submit a patch?