From the documentation of [php.net](http://php.net/setcookie):
     Cookies available to a lower domain, such as 'example.com' will be available to higher subdomains, such as 'www.example.com'.