摘要: memory_limit 顾名思义,即限制 PHP 进程对于内存的使用。例如: magento2 的系统要求里有关于 PHP memory_limit 的限制,不能低于 512M。(默认值为 128M, 如果不更改,会导致 magento 的后台处理逻辑无... 阅读全文
posted @ 2020-06-06 09:00 码农编程进阶笔记 阅读(228) 评论(0) 推荐(0)
摘要: 一 php foreach 数组添加新属性 之前没注意这个问题,今天发现通过 foreach 遍历数组时,新增的属性并没有添加到数组中。 foreach ($tags as $tag) { $tag["name"] = "new name";} //... 阅读全文
posted @ 2020-06-06 09:00 码农编程进阶笔记 阅读(53) 评论(0) 推荐(0)
返回顶部 有事您Q我