I'm +1 for this syntax
function int myfunction(int $param)
{
return $someint;
}C/C++ like, easy to understand And bad idea about making a return type "function" - looks very useless and will not be used a lot. Work with objects with methods returning an object of some kind, then you can do $object->method()->method2()->method3(); P.S. I think this thread should be merged with function param type hinting because they come together and should be implemented together,
