diff options
Diffstat (limited to 'tests/php/phpt/variables/023-cookie.phpt')
-rw-r--r-- | tests/php/phpt/variables/023-cookie.phpt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/php/phpt/variables/023-cookie.phpt b/tests/php/phpt/variables/023-cookie.phpt new file mode 100644 index 0000000..0648188 --- /dev/null +++ b/tests/php/phpt/variables/023-cookie.phpt @@ -0,0 +1,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] =
\ No newline at end of file |