[lang-ref] ( array_for_c_style ) ( php )

<?php
public function testArrayForCStyle(): void
{
	// for ($i = 0; $i < count($items); $i++)
	$items = ['A', 'B', 'C', 'D', 'E'];

	$r = '';
	for ($i = 0; $i < count($items); $i++) {
		$r .= $items[$i];
	}

	$this->assertSame('ABCDE', $r);
}