Bug #2414 [Ver->Csd]: getResponseCookies() fails

From: Date: Thu, 30 Sep 2004 13:55:32 +0000
Subject: Bug #2414 [Ver->Csd]: getResponseCookies() fails
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4912@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=2414&edit=1 ID: 2414 Updated by: mj@php.net Reported By: pordal at orangeilk dot com -Status: Verified +Status: Closed Type: Bug Package: Documentation Operating System: Gentoo Linux PHP Version: 4.3.8 New Comment: This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. Previous Comments: ------------------------------------------------------------------------ [2004-09-30 06:24:23] borz_off at cs dot msu dot su Recategorizing it as Documentation bug... Whoever wrote the HTTP_Request docs should check the examples provided, I think there are more broken ones there. ------------------------------------------------------------------------ [2004-09-30 03:07:34] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=2414&edit=1

« previous php.pear.doc (#4912) next »