龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > web编程 > php编程 >

array_fill() php中填充数组函数array_fill()使用范例

时间:2014-09-29 03:06来源:网络整理 作者:网络 点击:
分享到:
php中填充数组函数array_fill()使用范例 使用范例,下面的代码表示给$usertype数组0-4的位置填充sharejs.com的默认值 [代码片段(3行)]

使用范例,下面的代码表示给$usertype数组0-4的位置填充sharejs.com的默认值

$usertype = array_fill(0, 4, "outofmemory.cn");

精彩图集

赞助商链接