|
PHP5中文手册
http_parse_cookie(PECL pecl_http:0.20.0-1.5.5) http_parse_cookie — Parse HTTP cookie 说明
object http_parse_cookie
( string $cookie
[, int $flags
[, array $allowed_extras
]] )
Parses HTTP cookies like sent in a response into a struct. 参数
返回值Returns a stdClass object on success or FALSE on failure. 范例
Example#1 Using http_parse_cookie()
<?php 上例将输出:
|