Re: [RFC] skipping optional parameters
| From: | Ryan McCue | Date: | Wed, 18 Apr 2012 07:52:24 +0000 |
| Subject: | Re: [RFC] skipping optional parameters | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-60164@lists.php.net to get a copy of this message | ||
Yasuo Ohgaki wrote:
Something like setcookie( name:'mycookie', value:'abc', secure:true, httponly:true ); is really nice to have. Source code will be much more readable.This is getting off-topic, but while we're here, I think: setcookie($name => 'mycookie', $value => 'abc'); ...would be better. -- Ryan McCue <http://ryanmccue.info/>