On Feb 19, 2013, at 8:00 AM, Sara Golemon <poll...@php.net> wrote: > On Tue, Feb 19, 2013 at 4:41 AM, Kingsquare.nl - Robin Speekenbrink > <ro...@kingsquare.nl> wrote: >> Just a question from one of the lingering listeners: would this change also >> ease the `skipping` of default values for parameters? (as discussed for RFC >> https://wiki.php.net/rfc/skipparams) >> >> That way it would be consistent with this RFC and the list() construct ? >> > It's orthogonal to skipparams. It'd neither help nor hurt based on > the recommendations of that RFC. > > With regard to list(), it already supports expressions like this: > list($x,) = array(123); so nothing more needs to be done for it and > it's not at odds with either of these RFCs.
I would vote +1 on this solely for the sake of consistency. I've never liked the idea behind the parser's actions on constructs (list, array). > > -Sara > > -- > 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