Home > Backend Development > PHP Tutorial > 关于php数组排序的有关问题

关于php数组排序的有关问题

WBOY
Release: 2016-06-13 12:37:39
Original
804 people have browsed it

关于php数组排序的问题?

$arr = array('中','秋','节','快','乐')
Copy after login


我想实现上面这个数组内的各项(中秋节快乐)前后顺序不变,可以增减的所有排序:

中秋节快乐
中秋节快
中秋节乐
中秋节
秋节快
秋节
节乐
中秋



类似这样 所有的

请大家多多指教 谢谢~

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