摘要:        
<?php /** * 测试pdo和mysqli的执行效率 */ header("Content-type:text/html;charset=utf-8"); //通过pdo链接数据库 $pdo_startTime = microtime(true); $pdo = new PDO("mysql:    阅读全文
posted @ 2017-04-03 15:46
Yxh_blogs
阅读(1709)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<?php /** * 测试pdo和mysqli的连接效率,各连接100次mysql数据库 */ header("Content-type:text/html;charset=utf8"); //通过pdo链接数据库 $pdo_startTime = microtime(true); for($i=    阅读全文
posted @ 2017-04-03 14:56
Yxh_blogs
阅读(1769)
评论(0)
推荐(0)
        

浙公网安备 33010602011771号