Doc #55762 [NEW]: Online docs state incorrect modifier for properties on HttpRequest class.
| From: | shabazzk at gmail dot com | Date: | Thu, 22 Sep 2011 15:09:15 +0000 |
| Subject: | Doc #55762 [NEW]: Online docs state incorrect modifier for properties on HttpRequest class. | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-7245@lists.php.net to get a copy of this message | ||
From:
Operating system: GNU/Linux
PHP version: Irrelevant
Package: HTTP related
Bug Type: Documentation Problem
Bug description:Online docs state incorrect modifier for properties on HttpRequest class.
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 bug report at https://bugs.php.net/bug.php?id=55762&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55762&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55762&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55762&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55762&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55762&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55762&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55762&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55762&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55762&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55762&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55762&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55762&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55762&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55762&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55762&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55762&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55762&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55762&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55762&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55762&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55762&r=mysqlcfg