Jannik Zschiesche wrote:
another small advantage would be that IDEs could show you the default value
for the argument when hovering the default keyword.
But a good IDE is already showing the full function and notes ... and will
autocomplete so that this fix is not actually required :)

In many cases, the 'additions' being loaded into the core would be much better
handled in an IDE and already were in am ore flexible way ...

Except for the case when the default changes.
With `default` you will to the new default, with a (once) generated code block
in the IDE it will stay the old default.

And exactly this is the actual intention of this proposal (as far as I
understood it).

? ... How would the default change from what is defined in the code?
What am I missing?

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

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

Reply via email to