Home > Backend Development > PHP Tutorial > 有没有实现这样功能的相关数组函数?该如何处理

有没有实现这样功能的相关数组函数?该如何处理

WBOY
Release: 2016-06-13 13:49:52
Original
806 people have browsed it

有没有实现这样功能的相关数组函数?
$a0 =array(9,7,8,6,5,8,3,5,11,5);


就是数组里的值都减去一个当前数组值小于的数的函数?

------解决方案--------------------
array_map

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template