Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67130 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81511 invoked from network); 24 Apr 2013 16:39:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Apr 2013 16:39:07 -0000 Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.179 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.220.179 mail-vc0-f179.google.com Received: from [209.85.220.179] ([209.85.220.179:51550] helo=mail-vc0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A6/34-60231-AAA08715 for ; Wed, 24 Apr 2013 12:39:06 -0400 Received: by mail-vc0-f179.google.com with SMTP id hz11so2018662vcb.10 for ; Wed, 24 Apr 2013 09:39:04 -0700 (PDT) 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=e8kbaAB8QIQRdcHujIXqYyh4wGc5UHSOt5YXHRFPSAQ=; b=hSTsljWTiP8fUvHGKkQoe21ZNafS7KD98rCAIXyV0oSnnemxg0ZJVLV7bH4U2WmtmR uZ0nqBOWbeKb758xwq51mEaE2XO1hQ2oDgpxOcagEZVQz0hclAa/nLbUlwr8oEfvJ+29 fk7H3OEXb1j8KtCsEtCzwba1ZQUDxKfUFPfgPJ2PnBTbyGHoaRXuKhdOYTpOIdbSU9wQ j/CPIejpBrSwX3kS7vGIaQZaQM4fFxkpi/rCKj0D6Z2l/zlhJwI0/6aE32D0sF7x3J7L Jw9fgd8llf5QBNtiibbhh0uACKkO+ENZIAMYjuZdgJmt/gxXywAqr96Me9rRf4qHrJ4o MzVw== MIME-Version: 1.0 X-Received: by 10.220.223.202 with SMTP id il10mr25785986vcb.4.1366821544022; Wed, 24 Apr 2013 09:39:04 -0700 (PDT) Received: by 10.58.156.103 with HTTP; Wed, 24 Apr 2013 09:39:03 -0700 (PDT) In-Reply-To: References: Date: Wed, 24 Apr 2013 12:39:03 -0400 Message-ID: To: Richard Quadling Cc: Richard Bradley , Rasmus Schultz , PHP internals Content-Type: multipart/alternative; boundary=14dae9cdc4879a5e7c04db1df0f0 Subject: Re: [PHP-DEV] vsprintf() From: ircmaxell@gmail.com (Anthony Ferrara) --14dae9cdc4879a5e7c04db1df0f0 Content-Type: text/plain; charset=ISO-8859-1 Richard, Oh! Another magic method opportunity ... > > /** > * Operates just like __toString(), but returns an array. > */ > public function __toArray(); > > > (ducking) I know you're joking, but this has been brought up before (and I intend to bring it up again): https://wiki.php.net/rfc/object_cast_to_types --14dae9cdc4879a5e7c04db1df0f0--