App下载
实例代码( Tip: 登录后体验更佳 )
1
2
3
4
<?php
$a=array("red","green");
print_r(array_pad($a,-5,"blue"));
?>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
运行结果