Hi,

2012/4/18 Ryan McCue <li...@rotorised.com>:
> 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.

Real life code would be something like

setcookie($name => $my_cookie_name, $value => $value);

It's confusing.
Off topic anyway.

Regards,

--
Yasuo Ohgaki
yohg...@ohgaki.net

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to