while是先判断在执行循环体,do....while是先执行循环体在判断,其实他的目的只是区别一下用法。第一个没有执行,只执行了第二个。顶我上去。。。
2016-06-10
echo memory_get_usage().'<br/>';
echo memory_get_usage().'<br/>';
echo memory_get_usage().'<br/>';
连续输入的只有第一次和第二次不同
echo memory_get_usage().'<br/>';
echo memory_get_usage().'<br/>';
连续输入的只有第一次和第二次不同
2016-06-10
最新回答 / Songo
$str="就是就是"echo strlen($str);//返回12,是因为字符编码是utf-8,检查方法是这样的:<?php$string="就是就是";$encode = mb_detect_encoding($string, array("ASCII","UTF-8","GB2312","GBK"));echo $encode;?>
2016-06-10
出现localhost/test.php这个提示:“原因:指定的网页不存在(404)的这种情况的可以参考楼下 的 Include conf/extra/httpd-vhosts.conf前面加个#,改成 #Include conf/extra/httpd-vhosts.conf
2016-06-08