The C "long" on AMD64 is longer, so we got PHP "int" instead of PHP "float".
Thanks. Dmitry. > -----Original Message----- > From: Marcus Boerger [mailto:[EMAIL PROTECTED] > 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:[EMAIL PROTECTED] > > -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php