--TEST-- Type inference should not result in infinite loop --FILE-- --EXPECTF-- Warning: Undefined variable $a in %s on line %d