News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Codewalkers.com:
Named Arguments Discussion on PHP Mailing List
January 17, 2006 @ 06:54:21

On Codewalkers.com today, there's a note about an interesting bit of discussion going on over on the PHP mailing lists dealing with "named arguments".

There is an interesting discussion going on in the internals list on whether or not to have named arguements in php6. The start of the discussion is here with a break off thread here.

Named arguments would allow you do to something like this:

testFunc(name:"test",vals:"stuff")

Naming the items in the code and allowing them to be accessed via one variable internal to the function. There are some pretty good arguments on both sides of things, but it still doesn't seem like it's going to be taken much further than this...

0 comments voice your opinion now!
named arguments discussion mailing list named arguments discussion mailing list


blog comments powered by Disqus

Similar Posts

Inside Open Source: Possible addition to array syntax in PHP

Vexxhost.com: Top 5 new (and cool!) features in PHP5 that you probably haven't heard of

Codewalkers.com: Named Arguments Discussion on PHP Mailing List

Reinhold Weber's Blog: From PHP to Ruby - 30 similarities and differences

Christian Stocker's Blog: FOTD: REFLECTIONCLASS()->NEWINSTANCEARGS($ARGS) is "slow"


Community Events





Don't see your event here?
Let us know!


symfony2 language laravel community podcast refactor framework introduction release interview configure opinion unittest threedevsandamaybe series list install code developer testing

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework