php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #68117 Just no info, that it can return "non BOOLEAN false" values
Submitted: 2014-09-29 14:09 UTC Modified: 2015-12-19 23:29 UTC
From: percy dot esim at gmail dot com Assigned: tpunt (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Doesn't matter
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: percy dot esim at gmail dot com
New email:
PHP Version: OS:

 

 [2014-09-29 14:09 UTC] percy dot esim at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.curl-exec
---

It can return BOOLEAN false in case of failure, but also can return NON-BOOLEAN false type (like "0", empty string or NULL) in case of using CURLOPT_RETURNTRANSFER. There is no note about it.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-19 23:25 UTC] tpunt@php.net
-Assigned To: +Assigned To: tpunt
 [2015-12-19 23:28 UTC] tpunt@php.net
Automatic comment from SVN on behalf of tpunt
Revision: http://svn.php.net/viewvc/?view=revision&revision=338332
Log: Resolve doc bug #68117
 [2015-12-19 23:29 UTC] tpunt@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 15:00:02 2026 UTC