1--TEST--
2$this in foreach
3--FILE--
4<?php
5$a = [[1]];
6foreach ($a as list($this)) {
7	var_dump($this);
8}
9?>
10--EXPECTF--
11Fatal error: Cannot re-assign $this in %sthis_in_foreach_004.php on line 3
12