RE: String -> Number Automatic Conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03 February 2005 16:07, Nuzzo Art-CINT116 wrote:

> I am not sure if this is a bug or I am just doing something
> dumb but I am having a problem with automatic converting of
> strings to a number between 0 and -1. For example:
 
>               1 => "-.15" + 0,

>     [1] => 0
 
> Is this a bug or am I missing something.

It's a bug -- see http://bugs.php.net/bug.php?id=30726

Reported fixed on 18-Jan-2005, so I guess you're looking at 4.3.11/5.0.4 to
actually contain the fix.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS,  LS6 3QS,  United Kingdom
Email: m.ford@xxxxxxxxxxxxxx
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 


To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux