#20544 [Opn->]: set function arguments by name

From: Date: Thu, 21 Nov 2002 13:26:11 +0000
Subject: #20544 [Opn->]: set function arguments by name
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25419@lists.php.net to get a copy of this message
ID: 20544 Updated by: derick@php.net Reported By: z95kahe@mtek.chalmers.se -Status: Open +Status: Won\'t fix Bug Type: Feature/Change Request Operating System: WindowsXP PHP Version: 4.2.3 New Comment: This was discussed before -> won't be implemented. Derick Previous Comments: ------------------------------------------------------------------------ [2002-11-21 07:25:03] z95kahe@mtek.chalmers.se I realy think it would be nice to be able to set function arguments by their name. Especially when you have default arguments in a function. An example: function aaa( a = 'A', b = 'B', c = 'C' ) { } aaa( b -> 'D' ); Would call function aaa, set argument b to 'D' and leave the other arguments unchanged. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20544&edit=1

« previous php.bugs (#25419) next »