Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65476 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35791 invoked from network); 30 Jan 2013 07:42:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2013 07:42:57 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.176 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.210.176 mail-ia0-f176.google.com Received: from [209.85.210.176] ([209.85.210.176:58889] helo=mail-ia0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DA/E4-09318-FFEC8015 for ; Wed, 30 Jan 2013 02:42:55 -0500 Received: by mail-ia0-f176.google.com with SMTP id i18so1858669iac.7 for ; Tue, 29 Jan 2013 23:42:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=y61xTc2/GDlAaCZjaY9TYf6OX+FtygpOyDWX5q4VDOk=; b=BITY9Dhwc4QoxIyx3tkDeJ9cnCyXD6BgcfUVIUb8GVZsYiZsaDbh8t5JCr9HCxQhps XBN7XTbCD774h86QQXRJxO72jJOScUaDUyZqDUa0U2xsCtAtkCtq3XQKR97lS6Ss28J+ Exe8DPAuFa4voKzxIxiDGc0D3E9CZZTOpJu+KApnYla0gw9SELogZ2cKC+IC0Wj5m1dX FjpJMxuRYE+LeuqjihmzTb0jZR29sVBurvRtqrCpx70Ak/X7kRlmq1+/IAeAEnymZwGA heCrUxo9rd9v9WvZwPaUCTy4EnPBJVxmOrS9jjM9QPfCOlIy+s5H0hTGPd+7D5B7yEw3 RyIA== MIME-Version: 1.0 X-Received: by 10.42.157.68 with SMTP id c4mr2529766icx.35.1359531772775; Tue, 29 Jan 2013 23:42:52 -0800 (PST) Received: by 10.50.106.138 with HTTP; Tue, 29 Jan 2013 23:42:52 -0800 (PST) Received: by 10.50.106.138 with HTTP; Tue, 29 Jan 2013 23:42:52 -0800 (PST) In-Reply-To: <51085497.3090504@sugarcrm.com> References: <1359498582.20362.YahooMailNeo@web133002.mail.ir2.yahoo.com> <51085497.3090504@sugarcrm.com> Date: Wed, 30 Jan 2013 08:42:52 +0100 Message-ID: To: Stas Malyshev Cc: "internals@lists.php.net" , hakre Content-Type: multipart/alternative; boundary=90e6ba613b32608c9004d47ca8c3 Subject: Re: [PHP-DEV] echo new SplFileObject(__FILE__); From: tyra3l@gmail.com (Ferenc Kovacs) --90e6ba613b32608c9004d47ca8c3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2013.01.30. 0:01, "Stas Malyshev" ezt =C3=ADrta: > > Hi! > > > Can somebody shed some light why: > > > > > > > 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 --90e6ba613b32608c9004d47ca8c3--