Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@stop yeah, probably, though as seen with php 5 to 7 it's possible to drop old trash
-
@Bitwise
It's vital feature imho, makes code much more readable and flexible in terms of non-forced arguments positions, instead of having just values and having to check on the function signature to know the order -
@Bitwise Have bookmarked the book for later read, thanks! though I can't see how func_get_args ever introduces any readable code, if it's not used in its actual rare use cases.
-
"The implementation that accompanies this proposal is not complete yet. As this is a very complicated feature I do not wish to spend time finishing it without knowing that we actually want this feature."
https://wiki.php.net/rfc/...
Well...
Related Rants
It's really frustrating, how named params have been suggested since php 5.6 but never since implemented, it's a thing that I just keep missing from .net and other languages, that have had it for more than a decade now.
https://wiki.php.net/rfc/...
https://philsturgeon.uk/php/2013/...
rant
php
rfc
named parameters