Location: PHPKode > projects > phc > test/subjects/phc/foreach_dump.php
<?php

	// Check foreach loop are unparsed in the MIR

	// { phc-option: --dump=mir }
	// { phc-regex-output: /foreach_reset\(\$\w+, ht_iterator\d+\);/ }
	// { phc-regex-output: /\$THK10 = foreach_has_key\(\$\w+, ht_iterator\d+\)/ }

	foreach ($x as $y)
	{
	}
?>
Return current item: phc