[lang-ref] ( sequence_1_to_n ) ( php )

<?php
public function testSequence1ToN(): void
{
	// range(1, n)
	$items = range(1, 3);

	$this->assertIsArray($items);
	$this->assertSame([1, 2, 3], $items);
}