Domandina sui cookie!

10. How would you store an array in a cookie?

A. By adding two square brackets ([]) to the name of the cookie
B. By using the implode function
C. It is not possible to store an array in a cookie due to storage limitations
D. By using the serialize function
E. By adding the keyword ARRAY to the name of the cookie
Io ho risposto A (anche se mi rendo conto che è corretta anche B) perché nel manuale c'è scritto:

Cookie values must be scalar; of course, you can create arrays using the same array
notation that we used for $_GET and $_POST:
setcookie("test_cookie[0]", "foo");
setcookie("test_cookie[1]", "bar");
setcookie("test_cookie[2]", "bar");
Tuttavia l'unica risposta corretta era la B. Sbaglio a considerare anche la A corretta alla luce di quanto c'è scritto sopra?