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.
