1--TEST-- 2Testing each() with an undefined variable 3--FILE-- 4<?php 5 6each($foo); 7 8?> 9--EXPECTF-- 10Warning: Variable passed to each() is not an array or object in %s on line %d 11