Doc #76328 [NEW]: Documentation of CURLINFO_HTTP_CODE as legacy
| From: | ssimo3 at lsuhsc dot edu | Date: | Fri, 11 May 2018 13:59:21 +0000 |
| Subject: | Doc #76328 [NEW]: Documentation of CURLINFO_HTTP_CODE as legacy | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-15684@lists.php.net to get a copy of this message | ||
From: ssimo3 at lsuhsc dot edu
Operating system:
PHP version: 5.6.36
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Documentation of CURLINFO_HTTP_CODE as legacy
Description:
------------
---
From manual page: http://www.php.net/function.curl-getinfo
---
I believe that whoever documented the change to curlinfo in PHP 5.5,
i.e., added CURLINFO_RESPONSE_CODE, forgot to state "(Legacy - from PHP
5.5 onward, use CURLINFO_RESPONSE_CODE instead)" after the definition of
CURLINFO_HTTP_CODE. I do not have any code which does not contain secret
credentials which demonstrates that they are the same. Nonetheless, even
in the most obscure of response codes, they appear to change in
lockstep. Thank you!
Stuart Simon
--
Edit bug report at https://bugs.php.net/bug.php?id=76328&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76328&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76328&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76328&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76328&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76328&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76328&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76328&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76328&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76328&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76328&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76328&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76328&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76328&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76328&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76328&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76328&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76328&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76328&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76328&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76328&r=mysqlcfg