Doc #55762 [Asn->Csd]: Online docs state incorrect modifier for properties on HttpRequest class.
| From: | nikic@php.net | Date: | Thu, 22 Sep 2011 15:25:40 +0000 |
| Subject: | Doc #55762 [Asn->Csd]: Online docs state incorrect modifier for properties on HttpRequest class. | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-7246@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55762&edit=1
ID: 55762
Updated by: nikic@php.net
Reported by: shabazzk at gmail dot com
Summary: Online docs state incorrect modifier for properties
on HttpRequest class.
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: HTTP related
Operating System: GNU/Linux
PHP Version: Irrelevant
Assigned To: ircmaxell
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2011-09-22 15:24:48] nikic@php.net
Automatic comment from SVN on behalf of nikic
Revision: http://svn.php.net/viewvc/?view=revision&revision=317154
Log: Fix Doc Bug #55762: Online docs state incorrect modifier for properties on HttpRequest class.
------------------------------------------------------------------------
[2011-09-22 15:09:15] shabazzk at gmail dot com
Description:
------------
Looking at the online document reference for the HttpRequest class; the
properties/fields indicate the wrong modifier. The stated modifier is "protected"
when in fact it is "private".
The online documentation in question can be found here:
http://www.php.net/manual/en/class.httprequest.php
Test script:
---------------
php --rc httprequest
-- output:
...
- Properties [16] {
Property [ <default> private $options ]
Property [ <default> private $postFields ]
Property [ <default> private $postFiles ]
Property [ <default> private $responseInfo ]
Property [ <default> private $responseMessage ]
Property [ <default> private $responseCode ]
Property [ <default> private $responseStatus ]
Property [ <default> private $method ]
Property [ <default> private $url ]
Property [ <default> private $contentType ]
Property [ <default> private $requestBody ]
Property [ <default> private $queryData ]
Property [ <default> private $putFile ]
Property [ <default> private $putData ]
Property [ <default> private $history ]
Property [ <default> public $recordHistory ]
}
...
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55762&edit=1