$count = 0;
if (isset($_COOKIE['count'])) $count = $_COOKIE['count'];
$count++;
setcookie("count",$count,ox7FFFFFFF,"/");
echo $count;
// Warning: setcookie() expects parameter 3 to be integer, string given in D:\OpenServer\OSPanel\domains\test\index.php on line 95