Req #46404 [Nab->Dup]: request for magic method __toNative()
| From: | colinodell@php.net | Date: | Mon, 24 Jul 2017 21:18:56 +0000 |
| Subject: | Req #46404 [Nab->Dup]: request for magic method __toNative() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-210295@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=46404&edit=1
ID: 46404
Updated by: colinodell@php.net
Reported by: info at netmosfera dot it
Summary: request for magic method __toNative()
-Status: Not a bug
+Status: Duplicate
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: *General Issues
Operating System: irrelevant
PHP Version: 5.2.6
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2008-11-23 08:58:25] magicaltux@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2008-10-27 19:15:19] info at netmosfera dot it
~same request
http://bugs.php.net/bug.php?id=46128
------------------------------------------------------------------------
[2008-10-27 16:42:50] info at netmosfera dot it
Description:
------------
hello, i'm asking for a new php magic method
__toNative()
useful for
-a better type hinting
-user defined implementations of native types
-a better way to extend native types without global scope functions
or class static functions
Reproduce code:
---------------
just a feature request:
http://rafb.net/p/qJ97Gf69.html
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=46404&edit=1