php将数组中的最后一个元素放到第一个

array_unshift($firstStepResult, array_pop($firstStepResult));

php将数组中的最后一个元素放到第一个_第1张图片

 转换之后

php将数组中的最后一个元素放到第一个_第2张图片

你可能感兴趣的:(php)