Tagged 0.7.5
[scuttle] / includes / utf8 / tests / bench / substr.php
1 <?php
2 require_once dirname(__FILE__).'/../benchconfig.php';
3 $page = file_get_contents(UTF8DATA . '/utf8.html' );
4 for($i = 0; $i < 37919; $i+= 1000) {
5     utf8_substr($page, $i);
6 }
7 print "Done\n";
8 ?>

Benjamin Mako Hill || Want to submit a patch?