1--TEST--
2Test unitialized typed properties normal foreach must not be yielded
3--FILE--
4<?php
5$foo = new class {
6	public int $bar = 10, $qux;
7};
8
9foreach ($foo as $key => $bar) {
10	var_dump($key, $bar);
11}
12?>
13--EXPECT--
14string(3) "bar"
15int(10)
16