#46404 [Opn->Bgs]: request for magic method __toNative()
ID: 46404
Updated by: magicaltux@php.net
Reported By: info at netmosfera dot it
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: irrelevant
PHP Version: 5.2.6
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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 http://bugs.php.net/?id=46404&edit=1
Thread (4 messages)