$start =microtime();$string = "";for($i=1;$i<1000000;$i++){$string .= "s";}$end=microtime();echo $time=$end-$start;substr($string,0,strlen($string)-1); echo microtime()-$end; //在千万级内还是只需0.0几秒的?>