55、数据库连接当使用完毕时应关掉,不要用长连接。
56、split比exploade快
split()
0.001813 - 0.002271 seconds (avg 0.002042 seconds)
explode()
0.001678 - 0.003626 seconds (avg 0.002652 seconds)
Split can take regular expressions as delimiters, and runs faster too. ~23% on average.
您可能感兴趣的文章: