什么是PHP数组的最大尺寸? [英] What is the maximum size of an array in PHP?

查看:127
本文介绍了什么是PHP数组的最大尺寸?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们希望数据库值存储在阵列。但是,我们不知道这是允许在PHP数组的最大尺寸?

We like to store database values in array. But we do not know the maximum size of an array which is allowed in PHP?

推荐答案

有是一个数组的上限没有最大。目前,正在对记忆你的脚本可以使用量的限制。这可以在php.ini配置中的'memory_limit的'来改变。

There is no max on the limit of an array. There is a limit on the amount of memory your script can use. This can be changed in the 'memory_limit' in your php.ini configuration.

这篇关于什么是PHP数组的最大尺寸?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆