Hi!

> Can somebody shed some light why:
> 
>     <?php
> 
>     echo new SplFileObject(__FILE__);

__toString is mapped to current() for SplFileObject:
http://www.php.net/manual/en/splfileobject.current.php

it's not documented for some reason, I think it makes sense to file a
docs bug on that.

-- 
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

Reply via email to