Doc #67893 [Fbk->NoF]: Values of constants not listed
| From: | php-bugs at lists dot php dot net | Date: | Tue, 30 Dec 2014 10:42:43 +0000 |
| Subject: | Doc #67893 [Fbk->NoF]: Values of constants not listed | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-11798@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67893&edit=1
ID: 67893
Updated by: php-bugs@lists.php.net
Reported by: teo8976 at gmail dot com
Summary: Values of constants not listed
-Status: Feedback
+Status: No Feedback
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2014-09-03 03:28:26] sobak@php.net
Which of curl functions returned you an integer you need to associate with constant name? Like
phpman wrote, I'm pretty sure that there is no need to know actual value.
------------------------------------------------------------------------
[2014-08-22 23:37:01] phpmpan at mpan dot pl
Those are _CONSTANTS_. As the user you're not supposed to either know their actual values or
make your code depend on them. In this particular case you are also unable to use such values
anyway, since the only errors one can handle are those one knows beforehead.
For debug purposes there is
curl_error (<https://php.net/manual/function.curl-error.php>).
Note that the upstream itself is not documenting the values on functions' return values, so it
would be quite strange for PHP to document them.
------------------------------------------------------------------------
[2014-08-22 20:02:18] teo8976 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/curl.constants
---
The names of the predefined constants are listed, but their values are missing.
This is ridiculous.
I go to that page because I'm being returned an integer from a curl function and I wanted to
check to which constant it corresponds, and that's not documented.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67893&edit=1