1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
--TEST-- test cookie --SKIPIF-- <?php if (!extension_loaded("extension_for_tests")) print "skip"; ?> --COOKIE-- peace=toTheWorld;freedom=toThePeople --FILEEOF-- <?php TestVariables\getCookie(); --EXPECT-- _COOKIE[peace] = toTheWorld _COOKIE[freedom] = toThePeople _COOKIE[empty] =