Re: Scalar Type Casting Magic Methods
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)