How exactly do you think are default parameters related to the issue, anyway?
Java uses multi-method dispatch to work around missing default values: function foo($a, $some_flag) { ... } function foo($a) { foo($a, false); } instead of function foo($a, $some_flag = false) { ... }
I assume you are you aware of what dynamic dispatch is trying to solve
Whatever example I'd give you'd probably say it's not the relevant one. But if you give me a use case for dynamic dispatch I show you how I'd do it in PHP. Maybe we should take that off list though and present just the result of our research :-)
- Chris
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php