A script residing at http://example.com/phpcert/cookies.php contains the following code:
<code>
1 <?php
2 setcookie(‘name1’, ‘value1’, time() + 60*60*24, ‘/’);
3 setcookie(‘name1’, ‘value2’);
4 ?>
</code>
The web browser is configured to accept all cookies. How many cookies will be set by this script?

A.
0
B.
1
C.
2
D.
3
Correct answer is C
0
0