[prev in list] [next in list] [prev in thread] [next in thread]
List: php-internals
Subject: Re: [PHP-DEV] vsprintf()
From: Richard Quadling <rquadling () gmail ! com>
Date: 2013-04-25 9:07:31
Message-ID: CAKUjMCXWP7DPzrX4UyqTPbR37Ooe1WdBunH_FMm19bTYn=1HbQ () mail ! gmail ! com
[Download RAW message or body]
On 24 April 2013 17:39, Anthony Ferrara <ircmaxell@gmail.com> wrote:
> 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
>
>
I'm only half joking.
--
Richard Quadling
Twitter : @RQuadling
EE : http://e-e.com/M_248814.html
Zend : http://bit.ly/9O8vFY
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic