'.$s.'
'.''; } function millis(){ return round(microtime(true) * 1000); } function calc($f,$s){ global $num; $t = millis(); for($i=0; $i<$num; $i++){ $f($s); } $res = millis() - $t; return ''.$res.' ms'; } function test($s){ // echo('

【"'.$s.'"】

'); echo('echo("'); echo('

PHP

'); println("urlencode:\t".calc('urlencode',$s).''); println("rawurlencode:\t".calc('rawurlencode',$s).''); println("base64_encode:\t".calc('base64_encode',$s).''); echo('");'); } ?> Encode Tests

- Test