[PHP-DEV] Re: Type hinting question

2008-03-31 Thread Christian Müller
Sam Barrow schrieb: Not bringing the issue back up on the list, I was just wondering if there is a supporter of type hinting that would be willing to help me implement an automatic conversion of objects with a __tostring() method to strings if the object was passed as an argument with a string ty

[PHP-DEV] Re: Type hinting

2007-12-11 Thread Christian Müller
Sam Barrow schrieb: What is the general opinion on this? I am all for it. And i think you (or someone else) had it combined with overloading, wich would be a quite nice extra benefit. -- Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.n

[PHP-DEV] Re: Type hinting

2007-12-11 Thread Christian Müller
Sam Barrow schrieb: > What is the general opinion on this? I'm all for it. Would be using it already, if it where available as an extension. Do i recall right, that you (or someone else) had this combined with overloading? -- Chris -- PHP Internals - PHP Runtime Development Mailing List To