> 7 public function __construct() { > 8 $this->foo = array(new Foo, new Foo); > 9 foreach ($foo as $bar) {}
$this->foo ? > Warning: Invalid argument supplied for foreach() > in E:\test.php on line 9 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php