[Bug 372091] Re: php gives 0.0: as value for 0.6/6

2009-05-18 Thread Daniel Hahler
Fixed in Karmic/Jaunty.

** Changed in: php5 (Ubuntu)
   Status: Triaged = Fix Released

-- 
php gives 0.0: as value for 0.6/6
https://bugs.launchpad.net/bugs/372091
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 372091] Re: php gives 0.0: as value for 0.6/6

2009-05-18 Thread Daniel Hahler
Confirmed on Hardy (in an OpenVZ container).

# php -r echo PHP_VERSION; echo PHP_EOL; echo 0.6/6; echo PHP_EOL;
5.2.4-2ubuntu5.6
0.0:

Upgrading to a backport therein makes it work again:
# php -r echo PHP_VERSION; echo PHP_EOL; echo 0.6/6; echo PHP_EOL;
5.2.9-0ubuntu1~blueyed1
0.1

Downgrading to the released version (from the hardy repo) shows the same 
problem:
# php -r echo PHP_VERSION; echo PHP_EOL; echo 0.6/6; echo PHP_EOL;
5.2.4-2ubuntu5
0.0:

** Changed in: php5 (Ubuntu)
   Importance: Undecided = Medium

** Changed in: php5 (Ubuntu)
   Status: Incomplete = Triaged

-- 
php gives 0.0: as value for 0.6/6
https://bugs.launchpad.net/bugs/372091
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 372091] Re: php gives 0.0: as value for 0.6/6

2009-05-17 Thread Daniel Hahler
Cannot confirm this on Karmic.

Are you using a 64bit arch? (I'm not)

$ php -r echo PHP_VERSION; echo PHP_EOL; echo 0.6/6; echo PHP_EOL;
5.2.6-3ubuntu4.1
0.1


** Changed in: php5 (Ubuntu)
   Status: New = Incomplete

-- 
php gives 0.0: as value for 0.6/6
https://bugs.launchpad.net/bugs/372091
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 372091] Re: php gives 0.0: as value for 0.6/6

2009-05-17 Thread Jonathan Marsden
@Daniel: I get the same results as you ( 0.1 ) on Ubuntu Jaunty 9.04
amd64.  I also tested morodoch's PHP example code, and it works fine
here also:

$ php -r echo PHP_VERSION; echo PHP_EOL; echo 0.6/6; echo PHP_EOL;
5.2.6-3ubuntu4.1
0.1
$ echo -e 
?php\nbcscale(10);\nerror_log(0.5/5);\nerror_log(0.6/6);\nerror_log(bcdiv(0.6,
 6));\n? |php
0.1
0.1
0.10
$ 

So if this is reproducible, maybe it is only reproducible under Ubuntu
Hardy 8.04 ??

-- 
php gives 0.0: as value for 0.6/6
https://bugs.launchpad.net/bugs/372091
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs