PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Web Services » SOAP » Bug #1385

Warnings from simple WSDL instantiation

Details

Submitted2004-05-11 18:37 UTC
Fromfredb86 at hotmail dot com
StatusDuplicate
PackageSOAP
PHP Version4.3.6
OSRedhat Linux 9
Roadmaps(Not assigned)

Comments

[2004-05-11 18:37 UTC] fredb86 at hotmail dot com

Description:
------------
Instantiating a very simple WSDL generates warnings.

Pear SOAP 0.8RC3

Reproduce code:
---------------
<?php
error_reporting(E_ALL);
require_once("SOAP/Client.php");
$wsdl='http://www.xmethods.net/sd/2001/TemperatureService.wsdl';
$client = new SOAP_Client($wsdl);
?>

Expected result:
----------------
[nothing should be output]

Actual result:
--------------
Notice: Constant INF already defined in /usr/local/lib/php/SOAP/Base.php on line 77

Notice: Constant NAN already defined in /usr/local/lib/php/SOAP/Base.php on line 78