Method overloading by method signature

From: Date: Sat, 13 Oct 2007 16:46:20 +0000
Subject: Method overloading by method signature
Groups: php.internals 
Request: Send a blank email to internals+get-32747@lists.php.net to get a copy of this message
Will method overloading by method signature be implemented in php6 or even php 5.3? Example: <?php namespace xyz; import core::TestClass; class Test extends TestClass { public string function test(integer $int) { return "Hi"; } public integer function test(string $string, integer $int) { return $int; } } ?> I think this would be a very big advantage and would help developers to write better code.

« previous php.internals (#32747) next »