Home » Web Services » SOAP » Bug #2945
curl_setopt generates notices on old version
Details
| Submitted | 2004-12-10 21:27 UTC |
|---|---|
| From | ajb732 at comcast dot net |
| Assigned | chagenbu |
| Status | Closed |
| Package | SOAP |
| PHP Version | 4.2.2 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2004-12-10 21:27 UTC] ajb732 at comcast dot net
Description:
------------
Using PEAR SOAP 0.8.1 on php4.2.2 generates a notice in /usr/share/pear/SOAP/Transport/HTTP.php line 591
Reproduce code:
---------------
On line 591,
curl_setopt($ch, CURLOPT_HTTP_VERSION, 1);
Generates a notice for undefined constant for CURLOPT_HTTP_VERSION.
Placing a @ at the beginning of this line fixes this.
Expected result:
----------------
Should not generate any notices.
Actual result:
--------------
Generates a Notice.