PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Bug #2414

getResponseCookies() fails

Details

Submitted2004-09-30 07:07 UTC
Frompordal at orangeilk dot com
Assignedmj
StatusClosed
PackageDocumentation
PHP Version4.3.8
OSGentoo Linux
Roadmaps(Not assigned)

Comments

[2004-09-30 07:07 UTC] pordal at orangeilk dot com

Description:
------------
The example code provided to get cookies returns the following error:

Fatal error: Call to a member function on a non-object in cookies.php on line 11

(when copied into a file named test.php).

Reproduce code:
---------------
The code was copied and pasted verbatim from: http://pear.php.net/manual/en/package.http.http-request.cookie.php

Expected result:
----------------
A table of cookies

Actual result:
--------------
Fatal error