Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged 关于php

0 votes
1.0k views
1 answer
    方法定义: protected function get($para1, $para1, $para1){ ... } 方法调用 get('1', '2'); 正常来说这样调用应该会报错的。 我在本地(PHP 7.1)调用就报错了.在我的服务器(PHP 7.0)上调用就没报错, 这是什么原因导致的?...
asked Feb 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
943 views
1 answer
    用户访问A链接 ngnix rewrite: A=>B apache rewrite: B=>C php获取的 REQUEST_URI是? 测试结果是B,为什么?...
asked Feb 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
925 views
1 answer
    var_dump( (pack("C" , 1)<<1) ==pack("C" , 1) ); 为什么是true呢...
asked Feb 5, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
4.0k views
1 answer
    php新增了yield,据说能大幅减少内存的占用,但是工作多年,一直没有用过它,主要是感觉没有使用的场景,我看网上有下面的使用示例,感觉这样似乎并不好,下面这个似乎会不停的去数据库取数据,请精通 ... ()) { yield $row;//逐行读出数据库行 } } foreach (get() as $row) { var_dump($row); }...
asked Jan 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...