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

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

WBOY
WBOYOriginal
2016-06-13 12:37:39686browse

关于php数组排序的问题?

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


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

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



类似这样 所有的 

请大家多多指教 谢谢~

Statement:
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