Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static function test_StringManipulation($count = 130000) {
- $time_start = microtime(true);
- $stringFunctions = array(„addslashes”, „chunk_split”, „metaphone”,
- „strip_tags”, „md5”, „sha1”, „strtoupper”, „strtolower”, „strrev”, „strlen”, „so-
- undex”, „ord”);
- foreach ($stringFunctions as $key => $function) {
- if (!function_exists($function)) unset($stringFunctions[$key]);
- }
- $string = „the quick brown fox jumps over the lazy dog”;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement