Hans Moog wrote:
> Kcachegrind doesn't show the function signature in the callgraph because the 
> parameter signature is not part of the function signature. If the parameter 
> siganture would be moved into the function signature, kcachegrind would adept 
> and show it.
> 
> Btw: You don't have to use it if you don't want to. But PHP5 didn't include 
> type hints for no reason. The problem: Type hints don't make many sense right 
> now.
> Like I already wrote in another comment. If you would use type hints you 
> would understand the need of overloading type hinted methods.

Right, but I am usually profiling and debugging other peoples' code, not
my own, so that argument doesn't work.

There are plenty of strictly typed languages in the world, we don't need
another.  The Web is inherently untyped in that browsers don't type
anything.  We have to intelligently deal with untyped data all the time
and do the appropriate type juggling.

-Rasmus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to