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.
--
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
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
@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