Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
オブジェクト配列の一部をランダム化したい。私は10個の要素の配列を持っていて、最初の5つのエントリをランダムな順序でソートしたいのと同じように、他の/最後の5つのエントリはまったく同じになります。PHPでこれを行う簡単/効率的な方法はありますか? ありがとう。