[Solved] How to range and sequence in PHP
You already mentioned the solution in your question. You can use: range(0, 10) To repeat the sequence 3 times you could do: str_repeat(implode(‘ ‘,range(0, 10)).’ ‘, 3); 1 solved How to range and sequence in PHP