Hi! > But this isn't that strong of an argument, and I think that following > what SplFileInfo does would be more sensible (echoing the filename), but > I'm not sure change would worth breaking BC for.
I don't see why it would be more sensible. It's different objects that do different things - Info represents file name, more or less, while Object represents file contents. I see no reason why it would only make sense for Object to return filename, or why we should "fix" something that is not broken. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php