[lang-ref] ( clear_by_reassign ) ( php )
<?php
public function testClearByReassign(): void
{
// $items = []
$items = ['A', 'B', 'C', 'D', 'E'];
$items = [];
$this->assertSame([], $items);
}
<?php
public function testClearByReassign(): void
{
// $items = []
$items = ['A', 'B', 'C', 'D', 'E'];
$items = [];
$this->assertSame([], $items);
}