Yup. I'm leaning towards Richard's idea of a predefined constant rather than a new keyword which would effectively do the same thing. The only issue I can see coming out of using the constant would be it's represented value. If a compile-time keyword were used, at least it could be caught there without running into any value clashing issues.
-----Original Message----- From: Stas Malyshev [mailto:smalys...@sugarcrm.com] Sent: Wednesday, October 20, 2010 1:37 PM To: rquadl...@googlemail.com Cc: Richard Quadling; PHP internals Subject: Re: [PHP-DEV] Skipping of defaulted parameters. Hi! > 3 - New keyword of default or void to specifically indicate the intent > to use the default value for the argument. Actually, 'default' is already a keyword (switch!), while _ is an actual function name (gettext). So default, syntactically, can work, while _ can't. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php