Re: Scalar Type Casting Magic Methods

From: Date: Sun, 05 May 2013 08:03:21 +0000
Subject: Re: Scalar Type Casting Magic Methods
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message


Thanks for the reply. I hope it would be part of next release eg 5.5.1
Oleku


________________________________
 From: Nikita Popov <[email protected]>
To: Oleku Konko <[email protected]> 
Cc: "[email protected]" <[email protected]>;
"[email protected]" <[email protected]> 
Sent: Sunday, May 5, 2013 8:55 AM
Subject: Re: [PHP-DEV] Scalar Type Casting Magic Methods
 


On Sat, May 4, 2013 at 5:31 PM, Oleku Konko <[email protected]> wrote:

Quick Observations : 
>
>I had this issue ( http://stackoverflow.com/questions/16375331/increment-on-tostring )
>and it kept me thinking why no error was returned, then i stumble up this RFC :  https://wiki.php.net/rfc/object_cast_to_types
>
>The patch is basic , simple and working and it should be seriously considered in 5.5.  I
>want to  believe if https://github.com/php/php-src/pull/334 can
>make it to PHP 5.5 then we should give object_cast_to_types the same opportunity except they are
>string objections why it should not be so
>
 This can't go into PHP 5.5 anymore as we're already past feature freeze.
Nikita 


Thread (8 messages)

« previous php.internals (#67307) next »