Home  >  Article  >  Backend Development  >  PHP大批量数据操作时临时调整内存与执行时间的方法_php技巧

PHP大批量数据操作时临时调整内存与执行时间的方法_php技巧

WBOY
WBOYOriginal
2016-05-17 09:20:03892browse
复制代码 代码如下:

ini_set('memory_limit', '250M'); //内存限制
set_time_limit(0); //
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn