blob: 6f74883e73ff334936e29b5132e1e75a9b1d9dfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/**
*
* Test superglobal variables _COOKIE
* 023-cookie.phpt
*
*/
/**
* Set up namespace
*/
namespace TestVariables {
/*
* Test
*/
void getCookie(void)
{
Php::out << "_COOKIE[peace] = " << Php::COOKIE["peace"] << std::endl;
Php::out << "_COOKIE[freedom] = " << Php::COOKIE["freedom"] << std::endl;
Php::out << "_COOKIE[empty] = " << Php::COOKIE["empty"] << std::endl;
}
/**
* End of namespace
*/
}
|