RE: [PHP-CVS] cvs: php-src(PHP_5_0) /ext/soap/tests/schema schema063.phpt
| From: | Dmitry Stogov | Date: | Wed, 06 Jul 2005 08:21:24 +0000 |
| Subject: | RE: [PHP-CVS] cvs: php-src(PHP_5_0) /ext/soap/tests/schema schema063.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-32713@lists.php.net to get a copy of this message | ||
The C "long" on AMD64 is longer, so we got PHP "int" instead of PHP
"float".
Thanks. Dmitry.
> -----Original Message-----
> From: Marcus Boerger [mailto:mail@marcus-boerger.de]
> Sent: Wednesday, July 06, 2005 11:36 AM
> To: Dmitry Stogov
> Cc: php-cvs@lists.php.net
> Subject: Re: [PHP-CVS] cvs: php-src(PHP_5_0)
> /ext/soap/tests/schema schema063.phpt
>
>
> Hello Dmitry,
>
> why should a 64bit platform have something other than a float here?
>
> marcus
>
> Wednesday, July 6, 2005, 9:28:41 AM, you wrote:
>
> > dmitry Wed Jul 6 03:28:41 2005 EDT
>
> > Modified files: (Branch: PHP_5_0)
> > /php-src/ext/soap/tests/schema schema063.phpt
> > Log:
> > Fixed test to support 64-bit platforms
>
>
> >
>
> http://cvs.php.net/diff.php/php-src/ext/soap/tests/schema/schema063.ph
> > pt?r1=1.1&r2=1.1.2.1&ty=u
> > Index: php-src/ext/soap/tests/schema/schema063.phpt
> > diff -u php-src/ext/soap/tests/schema/schema063.phpt:1.1
> > php-src/ext/soap/tests/schema/schema063.phpt:1.1.2.1
> > --- php-src/ext/soap/tests/schema/schema063.phpt:1.1 Wed
> Jan 28 08:33:48 2004
> > +++ php-src/ext/soap/tests/schema/schema063.phpt Wed
> Jul 6 03:28:41 2005
> > @@ -9,8 +9,8 @@
> > test_schema($schema,'type="xsd:unsignedLong"',0xffffffff);
> > echo "ok";
> > ?>
> > ---EXPECT--
> > +--EXPECTF--
> > <?xml version="1.0" encoding="UTF-8"?>
> > <SOAP-ENV:Envelope
> >
> > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> > xmlns:ns1="http://test-uri/"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> >
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >
> > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> >
>
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encodi
> ng/"><SOAP-ENV:Body><ns1:test><testParam
> >
> xsi:type="xsd:unsignedLong">4294967295</testParam></ns1:test><
> /SOAP-ENV:Body></SOAP-ENV:Envelope>
> > -float(4294967295)
> > +%s(4294967295)
> > ok
>
>
>
>
> --
> Best regards,
> Marcus
> mailto:mail@marcus-boerger.de
>
>