摘要:
对象转数组,原先私有化的属性不能被用来比较和 $em[''] 这样输出,但是循环输出是没问题的,有点奇怪,知道的人请留言!! <?php header('content-type:text/html;charset=gdt8'); class Pre1 { private $name = '大爷'; 阅读全文
摘要:
AtomicInteger类的理解与使用 首先看两段代码,一段是Integer的,一段是AtomicInteger的,为以下: public class Sample1 { private static Integer count = 0; synchronized public static vo 阅读全文
摘要:
1 1.header 2 header("Content-Type:application/vnd.ms-excel"); 3 header("Content-Disposition:attachment;filename=sample.xls"); 4 header("Pragma:no-cach 阅读全文
摘要:
http_build_query (PHP 5, PHP 7) http_build_query — 生成 URL-encode 之后的请求字符串 阅读全文