#46404 [Com]: request for magic method __toNative()

From: Date: Mon, 27 Oct 2008 19:15:20 +0000
Subject: #46404 [Com]: request for magic method __toNative()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-130224@lists.php.net to get a copy of this message
ID: 46404 Comment by: info at netmosfera dot it Reported By: info at netmosfera dot it Status: Open Bug Type: Feature/Change Request Operating System: irrelevant PHP Version: 5.2.6 New Comment: ~same request http://bugs.php.net/bug.php?id=46128 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#130224) next »