Hi! > I would have expected 1 - since it appears, from the code, that $a should > only contain integers.
Until the time you changed it. If you write: function foo(SplFileInfo $a) { $a = 3 / 2; } Would you somehow expect $a to magically conjure SplFileInfo object out of 3/2? -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php