simple meaning of Cookie in Php?

simple meaning of cookie
A cookie is commonly used for identify a user. A cookie is a small file that store user's computer. Each time the same computer requests a page with a browser, it will send the cookie too. With PHP, you can both create and retrieve cookie values.
create cookie
setcookie() function used for set cookie.
syntax of cookie
setcookie(name, value, expire, path, domain);
Example of cookie
<?php
setcookie("test", "Koran", time()+3600);
?>
In the example above, we will create a cookie named "test" and assign the value "Koran" to it.
We also specify that the cookie should expire after one hour: