Advertisement
kaziop

Untitled

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