2013.01.30. 0:01, "Stas Malyshev" <smalys...@sugarcrm.com> ezt írta:
>
> 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
>

I've changed the docs so the __toString is listed in the method synapsis,
see http://docs.php.net/manual/en/class.splfileobject.php

Reply via email to