Warning: setcookie() expects parameter 3 to be long, string givenphp
這個是我用php7.0會報這個錯誤,cookie
切換低版本php5.6就okphp7