php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #46253 wrong return value description for curl_error()
Submitted: 2008-10-08 12:09 UTC Modified: 2008-10-08 18:44 UTC
From: j-pieper at gmx dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: j-pieper at gmx dot net
New email:
PHP Version: OS:

 

 [2008-10-08 12:09 UTC] j-pieper at gmx dot net
Description:
------------
There is a small copy and paste mistake in curl_error() documentation on php.net. I put expected and actual text to "expected result" and "actual result" text fields below.

http://de2.php.net/manual/en/function.curl-error.php

Expected result:
----------------
Return Values

Returns the error message or '' (the empty string) if no error occurred.

Actual result:
--------------
Return Values

Returns the error number or '' (the empty string) if no error occurred.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-10-08 18:44 UTC] kalle@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2014-06-28 19:17 UTC] salathe@php.net
Automatic comment from SVN on behalf of salathe
Revision: http://svn.php.net/viewvc/?view=revision&revision=334002
Log: Fix example to use class constants

Patch by anonymous #46253
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Dec 03 08:00:01 2026 UTC